ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> httpd-users
httpd-users
Re: [users@httpd] Simple Rewrite Question
by Roman Fiedler other posts by this author
Dec 14 2006 6:28AM messages near this date
[users@httpd] Simple Rewrite Question | RE: [users@httpd] Simple Rewrite Question
Huesser Peter wrote:

>  Hello
> 
>  Within a virtual server I want every request of the form 
>  https://servername <https://servername/> to be redirected to 
>  https://servername.mydomain <https://servername.mydomain/> . Can 
>  somebody give me a hint which RewriteRule and RewriteCond I have to use?
> 
>  Thanksâ?? in advance for any help
> 
>  Pedro
> 

In (virtual)host for https://servername

RedirectMatch / https://servername.mydomain/$1



---------------------------------------------------------------------
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@[...].org
   "   from the digest: users-digest-unsubscribe@[...].org
For additional commands, e-mail: users-help@httpd.apache.org
Thread:
Huesser Peter
Roman Fiedler
Huesser Peter
Roman Fiedler
Huesser Peter

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved