[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Wget gives 403 (forbidden) on RHEL3 default page
- From: Ed Wilts <ewilts ewilts org>
- To: "Discussion of Red Hat Enterprise Linux 3 (Taroon)" <taroon-list redhat com>
- Subject: Re: Wget gives 403 (forbidden) on RHEL3 default page
- Date: Tue, 5 Apr 2005 12:34:28 -0500
On Tue, Apr 05, 2005 at 07:15:37PM +0200, Jos Vos wrote:
> To my surprise I see that "wget" (and also the Nagios check_http
> plugin, not using "wget" AFAIK) gives a 403 (forbidden) error
> when accessing the default page (http://localhost/) of a freshly
> installed RHEL3 system.
>
> But any web browser I tried (including "links") and also "curl"
> work fine with the default (welcome) page!
>
> Confused... what is causing this difference in behavior?
They're both right. The way it works is that if you have no index,
you'll generate a 403. The test page is simply a custom error page for
this message.
Check /etc/httpd/conf.d/welcome and you'll see where the "magic" takes
place.
--
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts ewilts org
Member #1, Red Hat Community Ambassador Program
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]