http://localhost/~user

v m vibanuny at yahoo.com
Thu Oct 9 14:16:26 UTC 2008


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
</Directory>

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 111.111.1.111] File does not exist: /home/www/docs.v2/~news




      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20081009/73cbd05f/attachment.html>


More information about the ubuntu-users mailing list