mhaney at ercbroadband.org
Thu Oct 9 14:26:24 UTC 2008
v m wrote:
> I changed my document root to /home/www/docs.v2 ; I have two
> folders in /home/www/ (news and events). Those directories are outside the
> document root.
> In httpd.conf, I have Alias setup as
> Alias /news /home/www/news
> <Directory /home/www/news/>
> Order allow,deny
> Allow from all
> When I access http://local host/~news I get page cannot be found error. In the error log, it is appending news to the document root instead of /home/www. Can anyone tell what I could be missing?
> From Error-log: [Wed Oct 08 22:08:58 2008] [error] [client 188.8.131.52] File does not exist: /home/www/docs.v2/~news
Probably because of the ~. Why do you have that in there? I've never
needed that character when accessing an alias.
Libenter homines id quod volunt credunt -- Caius Julius Caesar
Sr. Systems Administrator
Call (866) ERC-7110 for after hours support
More information about the ubuntu-users