httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lee" <...@unassemble.co.uk>
Subject Re: Subdomains to different folder.
Date Fri, 26 Jul 2002 17:13:35 GMT
Have a look at the RewriteRule directive.  I haven't looked into it much but I believe you
can do something like

forum.me.co.za points to me.co.za/forum

You would need to setup the necessary DNS to point the "forum" name to the relevent server
(or use host files).


Regards

Lee
  ----- Original Message ----- 
  From: Vincent Kruger 
  To: Apache MailingList 
  Sent: Friday, July 26, 2002 5:50 PM
  Subject: Subdomains to different folder.


  Hi....

  I have this

  NameVirtualHost 196.1.1.12:80
  <VirtualHost 196.1.1.12:80>
    ServerAdmin hostmaster@me.co.za
    DocumentRoot "C:/wwwroot/vhosts/me.co.za"
    ServerName me.co.za
    ServerAlias www
  </VirtualHost>

  Is there no way that i could put another directive inside this one that say if the url is
forum.me.co.za the document path is "C:/wwwroot/vhosts/me.co.za/form"?

  Please help, can't find help with this anywhere.

  Regards
  Vincent Kruger
  alienator@spils.com

Mime
View raw message