Kyle Burton on Thu, 27 Apr 2000 17:04:06 -0400 (EDT) |
> Make sure that the user your webserver is running as (probably the user > nobody) has read and execute access to all of the directories up to and > including the document root (/home/httpd/html in this case). > > chmod 755 /home > chmod 755 /home/httpd > chmod -R 755 /home/httpd/html Oops! That last chmod won't do what you want. Try something like: chmod 755 /home/httpd/html find /home/httpd/html -type d -exec chmod 755 {} \; instead. ymmv <blush> oops, that would be bad </blush> k > > will usualy do the trick. If you still get forbidden, check for .htaccess > files within your document root (which may have access limitations in > them) -- of course they only take effect if you have allow override > specified for your document root in the main httpd.conf. If it doesn't > work, try posting your httpd.conf so we can have a look at it. > > k > > ------------------------------------------------------------------------------ > "Generally speaking, the Way of the warrior is resolute acceptance of death." > -- Miyamoto Musashi, 1645 > mortis@voicenet.com http://www.voicenet.com/~mortis > ------------------------------------------------------------------------------ > > On Thu, 27 Apr 2000, Brent R. Matzelle wrote: > > > I just installed RedHat 6.2 (w/Apache 1.3.12) on my new > > workstation, deleted the default /home/httpd/html directory and > > untarred my old html directory in its place. However when I try > > to view the files through Apache with a browser I get: > > > > ------------------ > > Forbidden > > > > You don't have permission to access / on this server. > > ------------------ > > > > I poured over httpd.conf and didn't find anything out of the > > ordinary, but I'm hardly an expert. Any suggestions? > > > > Brent > > > > ===== > > http://www.matzelle.net > > > > __________________________________________________ > > Do You Yahoo!? > > Talk to your friends online and get email alerts with Yahoo! Messenger. > > http://im.yahoo.com/ > > > > ______________________________________________________________________ > > Philadelphia Linux Users Group - http://plug.nothinbut.net > > Announcements - http://lists.nothinbut.net/mail/listinfo/plug-announce > > General Discussion - http://lists.nothinbut.net/mail/listinfo/plug > > > > > > > ______________________________________________________________________ > Philadelphia Linux Users Group - http://plug.nothinbut.net > Announcements - http://lists.nothinbut.net/mail/listinfo/plug-announce > General Discussion - http://lists.nothinbut.net/mail/listinfo/plug > > ______________________________________________________________________ Philadelphia Linux Users Group - http://plug.nothinbut.net Announcements - http://lists.nothinbut.net/mail/listinfo/plug-announce General Discussion - http://lists.nothinbut.net/mail/listinfo/plug
|
|