You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by footh <fo...@yahoo.com> on 2004/12/20 18:42:49 UTC

[users@httpd] Forbidden (403) error on FreeBSD install

I performed an install on a FreeBSD system following
the exact instructions on the apache site.  However,
whenever I hit the site URL, I get a 403 error.

Through searching the mailing list, the recommendation
was to check the error log, however, no error log is
printed out.

So, at this point, I was thinking it is a rights
issue.  I assigned rwx rights for all users on the
document home and log directory with still no luck.

I have very limited Unix skills so I apologize if this
is a Unix problem but I don't know where else to turn.
 Might anyone be able to offer some suggestions?

Regards,

JF

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.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


Re: [users@httpd] Forbidden (403) error on FreeBSD install

Posted by footh <fo...@yahoo.com>.
You are correct, after reading this message, I
discovered the "find" command and searched for the
error_log file.  I found it at /usr/local/apache/logs.

It then occurred to me that a couple days earlier, I
attempted to install apache through the FreeBSD
"ports" distribution before I knew what I was doing. 
I thought that it didn't work - guess I was wrong.  

So now I have two installations of apache.  The one I
downloaded from apache.org is version 2.0.52.  The
ports version is 2.0.48.

I keep trying to uninstall the ports version, but when
I go to the ports directory and type "make deinstall"
it claims I haven't installed it.  So maybe the
install failed after all.

Being the complete Unix newbie that I am, I have no
idea how I might be able to clear this up.  Could
someone be kind enough to point me in the right
direction?

--- Nick Kew <ni...@webthing.com> wrote:

> On Mon, 20 Dec 2004, Joshua Slive wrote:
> 
> > Personally, I have never seen a 403 error that was
> not caused by unix
> > permissions *and* failed to log anything to the
> error log.  If you
> 
> Hmmm, ambiguous.  I thought for a moment that was
> utter nonsense,
> then reparsed when I saw it was you:-)
> 
> My guess would be that it *is* writing to the error
> log, but the OP
> looked in the wrong place.
> 
> Or maybe he's set LogLevel emerg or some such
> nonsense!
> 
> -- 
> Nick Kew
> 
>
---------------------------------------------------------------------
> 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
> 
> 



		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.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


Re: [users@httpd] Forbidden (403) error on FreeBSD install

Posted by Nick Kew <ni...@webthing.com>.
On Mon, 20 Dec 2004, Joshua Slive wrote:

> Personally, I have never seen a 403 error that was not caused by unix
> permissions *and* failed to log anything to the error log.  If you

Hmmm, ambiguous.  I thought for a moment that was utter nonsense,
then reparsed when I saw it was you:-)

My guess would be that it *is* writing to the error log, but the OP
looked in the wrong place.

Or maybe he's set LogLevel emerg or some such nonsense!

-- 
Nick Kew

---------------------------------------------------------------------
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] Forbidden (403) error on FreeBSD install

Posted by Joshua Slive <js...@gmail.com>.
On Mon, 20 Dec 2004 12:06:16 -0800 (PST), footh <fo...@yahoo.com> wrote:
> Thanks for the help.  I did actually read the FAQ but
> forgot to post it (did the work last week, posted the
> message today).
> 
> All directories have rwx permissions for all users.
> I'm using the default directory specified by the
> install (/sw/pkg/apache).
> 
> I still get a forbidden error.  This server was set up
> by an ISP so I'm sure they have maximum security on
> this thing.  I just don't know enough about Unix to
> disable it for apache.
> 
> Any more suggestions?

Well, you don't mention what version of apache you are using or where
you got it from.

Personally, I have never seen a 403 error that was not caused by unix
permissions *and* failed to log anything to the error log.  If you
can't figure it out, then next thing I would try is doing a fresh
install from a version downloaded from httpd.apache.org and using a
fresh install tree that you create yourself.

Joshua.

---------------------------------------------------------------------
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] Forbidden (403) error on FreeBSD install

Posted by footh <fo...@yahoo.com>.
Thanks for the help.  I did actually read the FAQ but
forgot to post it (did the work last week, posted the
message today).

All directories have rwx permissions for all users. 
I'm using the default directory specified by the
install (/sw/pkg/apache).

I still get a forbidden error.  This server was set up
by an ISP so I'm sure they have maximum security on
this thing.  I just don't know enough about Unix to
disable it for apache.

Any more suggestions?

--- Joshua Slive <js...@gmail.com> wrote:

> On Mon, 20 Dec 2004 09:42:49 -0800 (PST), footh
> <fo...@yahoo.com> wrote:
> > I performed an install on a FreeBSD system
> following
> > the exact instructions on the apache site. 
> However,
> > whenever I hit the site URL, I get a 403 error.
> > 
> > Through searching the mailing list, the
> recommendation
> > was to check the error log, however, no error log
> is
> > printed out.
> > 
> > So, at this point, I was thinking it is a rights
> > issue.  I assigned rwx rights for all users on the
> > document home and log directory with still no
> luck.
> > 
> > I have very limited Unix skills so I apologize if
> this
> > is a Unix problem but I don't know where else to
> turn.
> >  Might anyone be able to offer some suggestions?
> 
> Your steps are almost correct, except you forgot to
> check the FAQ:
> http://httpd.apache.org/docs/misc/FAQ.html#forbidden
> which will tell you that you also need to check the
> permissions on all
> parent directories.
> 
> Joshua.
> 
>
---------------------------------------------------------------------
> 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
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Dress up your holiday email, Hollywood style. Learn more. 
http://celebrity.mail.yahoo.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


Re: [users@httpd] Forbidden (403) error on FreeBSD install

Posted by Joshua Slive <js...@gmail.com>.
On Mon, 20 Dec 2004 09:42:49 -0800 (PST), footh <fo...@yahoo.com> wrote:
> I performed an install on a FreeBSD system following
> the exact instructions on the apache site.  However,
> whenever I hit the site URL, I get a 403 error.
> 
> Through searching the mailing list, the recommendation
> was to check the error log, however, no error log is
> printed out.
> 
> So, at this point, I was thinking it is a rights
> issue.  I assigned rwx rights for all users on the
> document home and log directory with still no luck.
> 
> I have very limited Unix skills so I apologize if this
> is a Unix problem but I don't know where else to turn.
>  Might anyone be able to offer some suggestions?

Your steps are almost correct, except you forgot to check the FAQ:
http://httpd.apache.org/docs/misc/FAQ.html#forbidden
which will tell you that you also need to check the permissions on all
parent directories.

Joshua.

---------------------------------------------------------------------
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