Question

How do I set up .htaccess file with subdomain?

Posted April 2, 2016 2.7k views
ApacheConfiguration Management

Access to our subdomain,url returns Error 403 - no permission. There is no .htaccess file in the root, and I’m not sure that is a problem. File permissions for the subdomain files are all w (open).

edited by kamaln7

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers

is your sub domain in the /var/www tree?

No. We decided not use .htaccess because of a security issue. The 403 error turned out to be a mis spelled SQL file name.

Thanks for responding, though.

Submit an Answer