in reply to running cgi scripts locally

Thanks everyone for the help so far. I installed apache2 on suse 9.1. I modified the conf script and ensured that the permissions on /srv/www/htdocs were ok but although I can read the test page for Apache I cant get to read the index.html page. It says
Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server
I know this isnt a perl question, but thought I would ask anyway, if anyone has any suggestion as to how to sort this out because it is driving me nuts!

Replies are listed 'Best First'.
Re^2: running cgi scripts locally
by zentara (Cardinal) on May 25, 2005 at 11:01 UTC
    but although I can read the test page for Apache I cant get to read the index.html page

    Which index.html? If you can read the test page for apache, which is probably /srv/www/htdocs/index.html, I'm assuming you mean the index.html in your ~/public_html? If so, make sure your toplevel home directory , like /home/Angharad is at least mode 711, so the server can descend into your home dir. Remember, that apache will run as (nobody,nogroup) or some other lowest possible permissions, unless suexec is enabled, then it will run as (user,group) in the public_html directories.


    I'm not really a human, but I play one on earth. flash japh