Why is apache refusing requests to www.mydomain.org if mydomain.org is working fine?
Posted
by sendos
on Server Fault
See other posts from Server Fault
or by sendos
Published on 2010-04-02T08:57:20Z
Indexed on
2010/04/02
9:03 UTC
Read the original article
Hit count: 311
apache
|virtualhosts
This is the setup I have working for mydomain.org:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName mydomain.org
ServerAlias *.mydomain.org
DocumentRoot /var/www/
</VirtualHost>
If I request www.mydomain.org, apache throws a 403 with the following appended to the log:
(13)Permission denied: /root/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
I've tried changing ServerName to www.mydomain.org, and changing ServerAlias to www.mydomain.org as well with no luck.
What am I missing?
© Server Fault or respective owner