How do I set up .htaccess file with subdomain?

April 2, 2016 2.1k views
Apache Configuration 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).

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.

Have another answer? Share your knowledge.