I forgot to specify what i want/need.
I want to specifically know how the mod_rewrite solution works, because
I don't see how I can user the subdomain from RewriteCond in the
RewriteRule statement...
Joshua Slive schrieb:
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]
---------------------------------------------------------------------
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]