http://localhost/~user

Mark Haney mhaney at ercbroadband.org
Tue Oct 7 12:57:38 UTC 2008


v m wrote:
> 
> --- On Tue, 10/7/08, v m <vibanuny at yahoo.com> wrote:
> 
> 
> 
> 
> 
> 
> 
> 
> Hello, I have apache 2.0 on linux. We have our document root on /extra/www
>  
> There are other php applications setup on /extra/news and /extra/events folders, which are outside of the document root. What changes should I make to httpd.conf file in order for my users to access the news and events from http://localhost/~news  and http://localhost//~events
>  
> I have created public_html folder in  /extra/news and /extra/events folders, where the doc, txt, html and php files are.
>  
> Please help.
> 
> 
> 
>       
> 

Look at the ALIAS command in apache.

ALIAS events/ /extra/events
...

There are tons of options, so read the docs carefully



-- 
Libenter homines id quod volunt credunt -- Caius Julius Caesar


Mark Haney
Sr. Systems Administrator
ERC Broadband
(828) 350-2415

Call (866) ERC-7110 for after hours support




More information about the ubuntu-users mailing list