You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by EA...@LILLY.COM on 2002/09/10 18:48:37 UTC
[users@httpd] Error 403: Can anyone help a Newbie get started
Hi,
I am a complete newbie to Apache, and I am having real problems getting it
to work.
I have installed version 1.3 under Mandrake Linux using the default
configuration file, and I had no issues during install and can start and
stop Apache from the command line without any problem.
However when I try to access http://localhost/ I keep getting a 403 error
message.
After many hours searching the Net for help on this, I tried a number of
suggestions none of which helped me e.g. (always stopping and restarting
apache after making a change)
given that /usr/local/apache/htdocs is the DocumentRoot
1) Ensure that /usr/local/apache/htdocs and its sub directories/file are
not owed by root
2) Ensure that /usr/local/apache/htdoc is dr-xr-xr-x (world execute)
3) Ensure that all files under /usr/local/apache/htdocs and it sub
directories are r--r--r-- (world read)
4) Ensure that an index.htm, index.html file exist in
/usr/local/apache/htdoc
5) Set the followin in containers
<Directory /usr/local/httpd/htdocs>
Options Indexes FollowSymLinks
AllowOverride All
</Directory>
<Directory />
Options Indexes FollowSymLinks
AllowOverride All
</Directory>
Unfortunately none of this has helped me, and I still cannot get Apache to
show me the index.htm or index.html in /usr/local/httpd/htdocs or anything
else for that matter.
If anyone has an idea what I am doing wrong (probably something really
silly) I would be most gratefull.
Many Thanks
James Earp
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Error 403: Can anyone help a Newbie get started
Posted by Jacob Coby <jc...@listingbook.com>.
> Hi,
>
> I am a complete newbie to Apache, and I am having real problems getting it
> to work.
>
> I have installed version 1.3 under Mandrake Linux using the default
> configuration file, and I had no issues during install and can start and
> stop Apache from the command line without any problem.
>
> However when I try to access http://localhost/ I keep getting a 403 error
> message.
Try looking for a file, ie http://localhost/index.html
Failing that, check for "Deny from" in your httpd.conf. There may be a
directive that says something like:
Order allow,deny
Deny from all
Also check for the existance of a .htaccess (notice the dot, and that it
will be hidden unless you do a `ls -a`) in your DocumentRoot. If you find
one, edit it and look for any sort of Deny problems.
If all that fails, post your entire httpd.conf to the list, and we'll try to
give you a hand.
On the upside, you're 95% done getting your webserver up and running :)
-Jacob
http://www.listingbook.com
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org