oh, i thought $1 was a variable :/
----- Original Message ----- From: "Phillip Hamilton" <[EMAIL PROTECTED]>
To: <users@httpd.apache.org>
Sent: Thursday, September 13, 2007 9:56 PM
Subject: RE: [EMAIL PROTECTED] vhosts


Absolutely. Just remember to enable the vhosts conf file in your httpd.conf
and also, you'll need to do that for ALL of your domains, not just the new
one.

Using Vhosts is an all-in thing. You need to setup $1.customer-1.com,
www.customer.com, etc.

Each under a different <virtualhost> tag, if you want them pointing to
different directories.

-----Original Message-----
From: Chris Ackford [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 13, 2007 3:47 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] vhosts

so could i do something like this ?

<VirtualHost *:80>
ServerName $1.customer-1.com
DocumentRoot /www/hosts/domain.com/$1/
</VirtualHost>

----- Original Message ----- From: "Joshua Slive" <[EMAIL PROTECTED]>
To: <users@httpd.apache.org>
Sent: Thursday, September 13, 2007 8:21 PM
Subject: Re: [EMAIL PROTECTED] vhosts


On 9/13/07, Chris Ackford <[EMAIL PROTECTED]> wrote:

okay ive tryed myself but i cant get it to work ... i would like
*.domain.com to go to the retropective folder i cant work out how :/
thanks
for your help :)

Gee, people aren't being very helpful to you here. There is a very
concrete answer to this. It can be done in two different ways in
apache, and they are both described in detail here:
http://httpd.apache.org/docs/2.2/vhosts/mass.html

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to