[ic] virtual hosts

Blair Campbell interchange-users@icdevgroup.org
Wed Sep 18 14:30:02 2002


I understand generally what you mean however I have been using RedHat's
apache configuration tool so If I go into my httpd.conf file I would have to
type in exactly the right lines and I am not completly sure from your email.
Here is what I have now.


# Virtual host drinkandshrinknow
<VirtualHost 192.168.123.196>
  DocumentRoot /var/www/cgi-bin/01/


  ServerName www.drinkandshrinknow.com

        ServerAlias drinkandshrinknow.com
  ServerSignature email

DirectoryIndex index.html index.shtml


  ServerSignature email

















</VirtualHost>

> >
> apache. ok. in your httpd.conf you'll have something like
>
> <VirtualHost some.thing.or.other>
>     ServerAdmin blairacampbell@shaw.ca
>     DocumentRoot /var/www/html
>     Servername your.web.site
>     ...
>     bunch of stuff
>     ...
>     ScriptAlias /cgi-bin/ /var/www/cgi-bin/
>     <Directory /var/www/html>
>     DirectoryIndex /cgi-bin/sam/index.html
>     ...
>     more stuff
>     ...
>     </Directory>
>
> </VirtualHost>
>
> Make it look like that (obviously the some.thing.or.other and so on bits
> need to be replaced and so on), restart apache and this should do what
> you want if i understand you correctly.
>
> John
>
>
>
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
>