Apache Server configuration support - Rewrite Rule for subdomains?

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > January 2005 > Rewrite Rule for subdomains?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Rewrite Rule for subdomains?
Dan Eskildsen

2005-01-28, 7:53 am

Can someone help me with a Rewrite Rule?

My document root is: /srv/www/htdocs/www.mydomain.com/htdocs

How can I make a rule that changes the webadress www.sub.mydomain.com to
www.mydomain.com/Page.php?URL=sub

<Directory /srv/www/htdocs/www.mydomain.com/htdocs>
RewriteEngine On
RewriteRule [WHAT DO I PUT HERE?]
</Directory>

Regards from Denmark, hey it's snowing here!

Dan
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com