symbolic links and apache

From: Joe (joe_at_pop-star.net)
Date: 11/28/03

  • Next message: Jason Dixon: "[OT] Re: What is the limit of size of a blob field in mysql 4?"
    To: <redhat-list@redhat.com>
    Date: Fri, 28 Nov 2003 23:36:18 +1100
    
    

    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@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Jason Dixon: "[OT] Re: What is the limit of size of a blob field in mysql 4?"

    Relevant Pages

    • Re: symbolic links and apache
      ... On Fri, 2003-11-28 at 12:36, Joe wrote: ... Im using apache to run virtual domains on redhat9 it works fine. ...
      (RedHat)
    • autofs at boot time
      ... I have installed a Redhat9, ... is that the apache is in a directory mounted by automount and it keeps ... complaining at boot time saying: ... rc3.d/S28autofs but it fails so the second one doesn't execute. ...
      (linux.redhat)
    • [SLE] Aapche 2 SuSe 9.1 and SSL
      ... My goal is to get SSL and Apache2 to work for one of the multiple virtual domains that we host, while having the ability to add other domains with SSL later down the road. ... I then went in to yast and had apache listen to port 443 for the new ipaddress in adition to port 80. ... I then changed the file to have my server name and everything else is the default. ...
      (SuSE)
    • Re: Adding multiipul virtual domains?
      ... Apache Web Server ... When I add a new virtual host I would like the host to have it's own directory, ... Subject: Adding multiple virtual domains? ... server using Terminal or Webmin preferably Terminal. ...
      (freebsd-stable)
    • Re: Adding multiipul virtual domains?
      ... Apache Web Server ... Subject: Adding multiple virtual domains? ...
      (freebsd-stable)