[NTLUG:Discuss] apache help

Tim McGlothin mcglothi at mcglothi.dyndns.org
Fri Sep 3 21:30:54 CDT 1999


Well this thing is driving me nuts... I am trying to set up Apache for
the first time and everything seems to be working fine except this one
thing... 

I can pull up http://mcglothi.dyndns.org  (thats /home/httpd/html) just
fine but when I try to pull up a user's directory like
http://mcglothi.dyndns.org/~mcglothi (thats /home/mcglothi/public_html) I
get:

Forbidden
You dont have permission to access /~mcglothi on this server.

I have also tried substituting my IP address (and 127.0.0.1)in place of
mcglothi.dyndns.org, but I get the same results either way... It works
fine till you ask for a /~username..

I upgraded to Apache 1.3.9 from 1.3, niether of them have worked for me
yet.  I'm running RedHat 5.2, kernel 2.2.12, ipchains for masquerading, no
NFS, no samba or anything like that.  I have gone through
/etc/httdp/conf/httpd.conf and double checked the following lines:


LoadModule userdir_module    modules/mod_userdir.so


UserDir public_html

<Directory /*/public_html>
	AllowOverride FileInfo AuthConfig Limit
	Options MultiViews Indexes SymlinksIfOwnerMatch IncludesNoExec
	<Limit GET POST OPTIONS PROPFIND>
		Order allow,deny
		Allow from all
	</Limit>
	<Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
		Order deny,allow
		Deny from all
	</Limit>
</Directory>      


Also did a chmod a+rx on /home/mcglothi/public_html ... Index.html in that
directory has global read permission.  

I have gone through the config files several times trying different
things, restarting httpd with /etc/rc.d/rc3.d/S85httpd restart  after
editing the config files.  

Am I missing something?


Thanks everyone!


----------------------------
Tim McGlothin
mcglothi at mcglothi.dyndns.org





More information about the Discuss mailing list