httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <rob...@profundis.nu>
Subject Re: www.site.uk instead of site.uk
Date Fri, 02 Aug 2002 11:05:24 GMT
www.site.uk instead of site.ukSetup two different virtual hosts:
http://httpd.apache.org/docs/vhosts/index.html

For the first one use: (excerpt)
    ServerName www.site.uk
    DocumentRoot /path/to/site/pub
and for the second: (excerpt)
    ServerName site.uk
    ServerAlias  dev.site.uk
    DocumentRoot /path/to/site/dev

The ServerAlias was just for fun, no need to do so.

Read up on Virtual Hosts, and come back if you have any problems.

Regards,
Robert Andersson
  ----- Original Message ----- 
  From: Pablo Jejcic 
  To: users@httpd.apache.org 
  Sent: Friday, August 02, 2002 12:55 PM
  Subject: www.site.uk instead of site.uk


  Folks, 
          I installed a Apache 1.3 on Solaris 7. 
          I configure it following the instructions and everything work right, but we are
using our site for production and for develope. So we want to configure it using www.site.uk
for production and site.uk for developers.

          Can anyone help me? 
          I look at the instructions and I didn't find the way to do it.... Can I do this?


  Thanks in advance.- 

  Pablo.- 


Mime
View raw message