httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arturo P <pemb...@flashmail.com>
Subject Re: [users@httpd] UserDir
Date Fri, 16 Jan 2004 09:18:53 GMT
You could always just do a symbolic link of /var/www/html/ to 
/home/lokrin/www/www/

Chris Chringle wrote:

> Ok, I'm new at this and trying to figure out what people are saying.
>
> What I am trying to do is setup a copy of my hosted website on my home 
> computer.  I'm using redhat linux 9.
>
> apache directs localhost to /var/www/html/index.php
>
> What I want to do is redirect it to /home/lokrin/www/www/index.php
>
> I want ALL subfolders and files to be redirected.
>
> The reason being that that is the path that my hosted site uses and I 
> would prefer to leave the coding on the several hundred web pages alone.
>
> This, I assume, is done in the httpd.conf file, but it doesn't seem to 
> work.  I keep getting an error:
>
> Warning: Failed opening '/home/lokrin/www/www/nav/header.php' for 
> inclusion (include_path='.:/usr/share/pear') in 
> /var/www/html/index.php on line 6
>
> thanks
>
>
>

Mime
View raw message