Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Everything Forbidden with Apache on Redhat 6.2...
@ 2000-10-31  5:26 Ian Wilkinson
  2000-11-01 10:10 ` Tony Hammitt
  0 siblings, 1 reply; 2+ messages in thread
From: Ian Wilkinson @ 2000-10-31  5:26 UTC (permalink / raw)


I've just reinstalled my entire system (Multia/UDB) with Redhat 6.2

I've got most things working as I want them to, except Apache.

No matter what computer I'm on, I get the message below when I try to look
at any page.  I've not changed the defaults, and I've double checked the
permissions and they are fine (readable to everyone).

Any help would be much appreciated...

Thanks

Ian.
########Error Message#######

Forbidden
You don't have permission to access / on this server.


----------------------------------------------------------------------------
----

Apache/1.3.12 Server at xenophobe.sgtwilko.f9.co.uk Port 80






^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Everything Forbidden with Apache on Redhat 6.2...
  2000-10-31  5:26 Everything Forbidden with Apache on Redhat 6.2 Ian Wilkinson
@ 2000-11-01 10:10 ` Tony Hammitt
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Hammitt @ 2000-11-01 10:10 UTC (permalink / raw)


Is there anything out of the ordinary about the server configuration
file /etc/httpd/conf/httpd.conf?  Specifically, I'd suspect that there
is a problem with a <Directory /(some path)> tag that is denying access.

This was the default on 1.3.9 i386:

<Directory />
Options Indexes Includes FollowSymLinks
AllowOverride None
</Directory>

<Directory /home>
Options Indexes Includes FollowSymLinks
AllowOverride All
order allow,deny
allow from all
</Directory>

<Directory /home/httpd/cgi-bin>
AllowOverride None
Options ExecCGI
</Directory>

<Directory /home/httpd/protected-cgi-bin>
order deny,allow
deny from all
allow from localhost
AllowOverride None
Options ExecCGI
</Directory>

Compare this to your setup and switch around the 'allow from all'
and 'deny from all' lines and see where that gets you.

I've also seen that by default PHP is not enabled, so try adding
lines like:

Include conf/addon-modules/mod_php3.conf

whose content is:

LoadModule php3_module        /usr/lib/apache/libphp3.so
AddModule mod_php3.c

If you use PHP.

You obviously lost any virtual host information in the reinstall,
so you may have to rebuild that, too.

Hope this helps,

Tony Hammitt



Ian Wilkinson wrote:
> 
> I've just reinstalled my entire system (Multia/UDB) with Redhat 6.2
> 
> I've got most things working as I want them to, except Apache.
> 
> No matter what computer I'm on, I get the message below when I try to look
> at any page.  I've not changed the defaults, and I've double checked the
> permissions and they are fine (readable to everyone).
> 
> Any help would be much appreciated...
> 
> Thanks
> 
> Ian.
> ########Error Message#######
> 
> Forbidden
> You don't have permission to access / on this server.
> 
> ----------------------------------------------------------------------------
> ----
> 
> Apache/1.3.12 Server at xenophobe.sgtwilko.f9.co.uk Port 80

-- 
Doubt is not a pleasant condition, but certainty is absurd. -- Voltaire


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-11-01 10:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-31  5:26 Everything Forbidden with Apache on Redhat 6.2 Ian Wilkinson
2000-11-01 10:10 ` Tony Hammitt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox