httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stone, Timothy" <tst...@cityofhbg.com>
Subject RE: [users@httpd] Virtual-Hosts
Date Thu, 31 Oct 2002 21:03:27 GMT
Actually... it is relative to the ServerRoot value in httpd.conf

Apache 2 in windows will translate forward and back slashes, a convenience to cross over users.

ServerRoot c:/path/to/apache/installation/root 
#NO terminating slash... see the httpd.conf comments
#This is configured by the Windows installer so it may not need to be edited.
#Don't touch unless you're comfortable.

NameVirtualHost [insert your ip here]

<VirtualHost www.selaus.com:8080>
     DocumentRoot [drive]:/path/to/apache/installation/htdocs/selaus
     ErrorLog logs/selaus.com_error log
     CustomLogs logs/selaus.com-access_log common
</VirtualHost>

#NOTE some corrections in the directive.

Hope this helps. It may fix it.

Tim



> -----Original Message-----
> From: Jacob Coby [mailto:jcoby@listingbook.com]
> Sent: Thursday, October 31, 2002 15:52
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Virtual-Hosts
> 
> 
> > NameVirtualHost 10.0.1.2
> > 
> > <VirtualHost www.selaus.com:8080>
> >      DocumentRoot /D:Apache2/htdocs/selaus
> >      ErrorLog logs/selaus.com_error log
> >      CustomLogs/selaus.com-access_log common
> > </VirtualHost>
> 
> /D: ?  Shouldn't that be D:/Apache2/htdocs/selaus ?
> 
> 
> ---------------------------------------------------------------------
> 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: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 

---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message