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:
I have no idea why its not working and i'm not sure this is where I should be looking to resolve the problem.
Options Indexes FollowSymLinks MultiViews
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/
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Allow from all
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
CustomLog /var/log/apache2/access.log combined
Alias /doc/ "/usr/share/doc/"
Options Indexes MultiViews FollowSymLinks
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
Options ExecCGI Includes
Allow from all
I've looked on the apache website. It had this to say about the issue:
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
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.
Any help is appreciated.