httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Bowen <rbo...@rcbowen.com>
Subject Re: [users@httpd] Redirect
Date Sat, 28 Dec 2002 22:56:41 GMT
On Sat, 28 Dec 2002, Selmer Ausland wrote:

> Hello;
>    Perhaps someone can help me with this as I am pretty new to Apache
> and can't seem to figure it out. I have a directory in Apache 2.0.43 ht
> docs thus:
>
> <Directory "C:/Apache2/htdocs/speednviolence">
>      Options Indexes
>      AllowOverride AuthConfig Options Fileinfo
>      Order Allow,Deny
>      Allow from all
> </Directory>
>
> This works fine and serves up the index file with url
> http://www.abcd.com/
>
> I would like to set up the directory configuration below to serve up
> mrsjoeblow as http://mrsjoeblow.abcd.com
>
> <Directory "C:/Apache2/htdocs/joeblow/mrsjoeblow">
>      Options Indexes
>      AllowOverride AuthConfig Options Fileinfo
>      Order Allow,Deny
>      Allow from all
> </Directory>
>
> Using the above configuration http://mrsjoeblow.abcd.com does not work
> and brings up http://abcd.com/ instead of http://mrsjoeblow.abcd.com/

You need a <VirtualHost> section, rather than a <Directory> section.
Check out the Virtual Host documentation, at
http://httpd.apache.org/docs-2.0/vhosts/

-- 
Nothing is perfekt. Certainly not me.
Success to failure. Just a matter of degrees.


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