How do I set up .htaccess file with subdomain?

April 2, 2016 2.6k 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).

edited by kamaln7
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.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!