On 8/4/07, Samuel Vogel <[EMAIL PROTECTED]> wrote:
> What would be the best way to rewrite sub.domain.com to /sub while using
> a wildcard?
> I know how to do it on a per subdomain basis, but is there a way to do
> this for all subdomains (except www) to the folder name ?

Either mod_vhost_alias or mod_rewrite. See:
http://httpd.apache.org/docs/2.2/vhosts/mass.html

Joshua.

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to