Okay, I am in the last throws of transferring data from my antique server to my old server. The trouble is what I believe to be an simple apache2 issue that I can't figure out.
I can't get my darn apache2 to stop forbidding access to my folder. here is my /etc/apache2/sites-available:
Code:
NameVirtualHost *
<VirtualHost *>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# Uncomment this directive is you want to see apache2's
# default start page (in /apache2-default) when you go to /
#RedirectMatch ^/$ /home/clinton/online/coldowl/
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
<VirtualHost *>
ServerName www.coldowl.com
ServerAlias coldowl.com
DocumentRoot /home/clinton/online/coldowl/
<Directory /home/clinton/online/coldowl>
AllowOverride All
Options ExecCGI Includes
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
I have no idea why its not working and i'm not sure this is where I should be looking to resolve the problem.
I've looked on the apache website. It had this to say about the issue:
Why do I get a "Forbidden" message whenever I try to access a particular directory? This message is generally caused because either
- The underlying file system permissions do not allow the User/Group under which Apache is running to access the necessary files; or
- The Apache configuration has some access restrictions in place which forbid access to the files.
You can determine which case applies to your situation by checking the error log.
In the case where file system permission are at fault, remember that not only must the directory and files in question be readable, but also all parent directories must be at least searchable (i.e.,
chmod +x /directory/path) by the web server in order for the content to be accessible.
If one looks at the [url=http://httpd.apache.org/docs/1.3/misc/FAQ.html#forbidden] apache website[\url], question 15 says to look for a particular string in that one file. But there isn't anything in my httpd.conf file. There is something that looks like it in my apache2.conf
Any help is appreciated.
Bookmarks