symbolic links and apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, I?m using apache to run virtual domains on redhat9 it works fine.

www.domain1.com    /var/www/html/domain1
www.domain2.com   /var/www/html/domain2
www.domainx.com   /var/www/html/domainx


I now want www.domain2.com to point to  www.domain1.com . So if I point to
either www.domain2.com or www.domain1.com    I get to /var/www/html/domain1.

How do I best achieve this while keeping virtual hosting intact ?

Thought I could have added the following symbolic link

 ln -s /var/www/html/domain1 /var/www/html/domain2

but apache is still referencing files in  /var/www/html/domain2

J/


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux