httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chad kellerman <ckeller...@alabanza.com>
Subject [users@httpd] apache 1.3 configuration for a subdomain landing page
Date Tue, 17 Jun 2003 18:55:46 GMT
Hello,

   I am not too sure what directive to use in this situation that I
have..

NameVirtualHost 10.10.10.1

# www.gotc.net
<VirtualHost 10.10.10.1:80>
User bob
Group bobgrp
ServerName www.gotc.net
ServerAdmin webmaster@gotc.net
DocumentRoot /home/bob/www
TransferLog /home/bob/logs/access-log
ErrorLog /home/bob/logs/error_log
ScriptAlias /cgi-bin/ /home/bob/www/cgi-bin/
</VirtualHost>

my situation is this..

I want a "subdomain" called access.gotc.net.  What I would like is to
have the landing page for access.gotc.net to be:
/home/bob/www/access.

I do not think I should create another virtual host section.  I
think/thought there is a directove that would allow me to match access
and redirect it to /home/bob/www/access, but I am not sure what it is..

I thought if I added something like:

Redirect permanent ^access http://gotc.net/access

to the vreitual host it would work, but it doesn't appear to be.

Can anyone offer any suggestions?

Thanks a lot,
Chad



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