[NTLUG:Discuss] Apache Alias directories

MadHat madhat at unspecific.com
Mon Dec 23 12:17:51 CST 2002


On Mon, 2002-12-23 at 11:59, Jack Snodgrass wrote:
> the 
> /usr/local/rt2/WebRT
> path has to have the correct permissons too.... 
> 
> if /usr/local/rt2 is not readable by the web server, 
> /usr/local/rt2/WebRT/html
> won't be readable either. 
> 
> if you run your web server with a certain userid, su to that 
> user and see if you can read files from that directory. 
> 
> Also... is there an index.html file in there? If there is no 
> inital page, you may be getting an error if you can't give 
> a file index for that directory. 
> 
> sometimes the web error log has some additional info. 
> 

also note that there will be <Directory > </Directory>
permissions/directives set, and the /usr/local/will probably fall under
the default / which does not include much and may cause problems (not
all distributions include Indexes or FollowSymlinks and such in the root
directory)

> jack
> 
> 
> 
> On Mon, 2002-12-23 at 11:37, Bobby Wrenn wrote:
> > I have a fresh install of Mandrake 9.0. I am trying to set up an Alias
> > in commonhttpd.conf.
> > 
> > The alias line is;
> > 
> > Alias /rt2 /usr/local/rt2/WebRT/html
> > 
> > When I access the server root http://10.1.29.255 I get the correct default page.
> > When I access 10.1.29.255/rt2 I get;
> > 
> > You don't have permission to access /rt2 on this server.
> > 
> > I have matched the permissions on the tree /usr/local/rt2/WebRT/html to the permissions
> > and ownership in the default /var/www/html directory.
> > 
> > 
> > What am I missing?
> > 
> > TIA
> > Bobby
> > 
> > 
> > _______________________________________________
> > https://ntlug.org/mailman/listinfo/discuss
> 
> 
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
-- 
MadHat at Unspecific.com
`But I don't want to go among mad people,' Alice remarked.
`Oh, you can't help that,' said the Cat: `we're all mad here...'
   -- Lewis Carroll - _Alice's_Adventures_in_Wonderland_




More information about the Discuss mailing list