What would normally be a simple setup of apache has turned into something far from that (at least for me). Hopefully someone can point out my mistake.
Firstly I've decided not to use .htaccess files. Which I normally use... so my problem is most likely in my conf i guess.
Anyways. Apache refuses to index my symlinks and if i follow the symlinks explicitly I get a 403 error. My error log states that symlinks aren't allowed and just says more stuff about permission denied.
my home directory is /var/www/html/ with a symlink:
v23 -> /home/v23/public_html/
I've recursively set my permissions to the v23 folder at 755 for good measure as well.
So again:
1. symlinks not being shown in the root index
2. forbidden error when following a symlink. (I'm sure relate to above)
Here is my relavent conf:
Quote:
DocumentRoot "/var/www/html"
<Directory />
Order Deny,Allow
Deny from All
</Directory>
<Directory /var/www/html>
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<IfModule mod_userdir.c>
UserDir public_html
</IfModule>
<Directory /home/*/public_html>
Options MultiViews Indexes FollowSymLinks IncludesNoExec
AllowOverride None
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
DirectoryIndex index.html index.php index.html.var
|