You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "David E. Newberger" <dn...@cdatribe-nsn.gov> on 2003/01/22 23:56:31 UTC

[users@httpd] server prefix

How can I add a server prefix using apache? i.e. mis.mysite.com
Dave

---------------------------------------------------------------------
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


RE: [users@httpd] server prefix

Posted by Gareth Kirwan <gb...@thermeoneurope.com>.
NameVirtualHost IP
<VirtualHost IP:Port>
ServerName mis.mysite.com
DocumentRoot /bla
</VirtualHost>

Or

ServerName www.mysite.com
ServerAlias mis mis.mysite.com

Or

LoadModule mod_vhost_alias path/to/mod_vhost_alias.so

<VirtualHost IP>
VitualDocumentRoot /bla/%0

(Serious implication on security for the last one - you'd have to know what
you were doing )

> -----Original Message-----
> From: David E. Newberger [mailto:dnewberger@cdatribe-nsn.gov]
> Sent: 22 January 2003 22:57
> To: 'users@httpd.apache.org'
> Subject: [users@httpd] server prefix
>
>
> How can I add a server prefix using apache? i.e. mis.mysite.com
> Dave
>
> ---------------------------------------------------------------------
> 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