[NTLUG:Discuss] add a subdomain from web page

m m llliiilll at hotmail.com
Tue Nov 26 13:54:16 CST 2002


>From: Paul Ingendorf <pauldy at wantek.net>
>The following I think is what you are looking for.
>
><VirtualHost *:80>
>         ServerAlias anotherdomain.on.maindomain.com
>         ServerName SUBMAIN.on.maindomain.com
>         ServerAdmin webmaster at test.com
>         RewriteEngine on
>         RewriteLog /var/log/httpd/rewrite_log.redirect
>         RewriteLogLevel 1
>         RewriteCond %{SERVER_NAME}      !^test123.test.com$
>         RewriteRule ^/(.*)              http://test123.test.com/$1 [L,R]
></VirtualHost>
>
thanks for the information.
this is only for one sub domain, the one I am talking about is mess vhost.
please refer to http://httpd.apache.org/docs/vhosts/mass.html




_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail





More information about the Discuss mailing list