httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Schweikle <tschwei...@gmail.com>
Subject Re: [users@httpd] Trubble with rewrite rules
Date Fri, 16 Dec 2016 18:10:47 GMT
On 16.12.2016 16:46, Eric Covener wrote:
> On Fri, Dec 16, 2016 at 10:26 AM, Thomas Schweikle <tschweikle@gmail.com> wrote:
>>    RewriteRule ^/xyz/(.*) "/abc/$1" [R,L]
>
>
> When this rule was first -- If it's in htaccess, the ^/ will not
> match. Your other rule accounts for this by making the leading slash
> optional.

So how would I have to write those rules to have from

http://<url>/xyz

https://<url>/abc

??

-- 
Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message