httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob <bobnli...@gmail.com>
Subject Re: [users@httpd] .htaccess and query string
Date Wed, 30 Jul 2014 13:25:09 GMT
On Wed, 30 Jul 2014 08:59:54 -0400
Roman Jurkov <winfinit@gmail.com> wrote:

> Bob,
> 
> there is not “?” in the QUERY_STRING, and RewriteRule at the moment states that you
want to match  dd_googlesitemap in your URL, which based on your initial email is not what
you want.
> 
> you want: 
> "http://domain/?eID=dd_googlesitemap&L=0 should be redirected to http://domain/sitemap.xml”
> 
> which would translate to:
> RewriteEngine On
> RewriteCond %{QUERY_STRING} ^eID=dd_googlesitemap&L=0$ [NC]
> RewriteRule ^/$  http://domain/sitemap.xml [R=301,L]
> 
> thank you
> Roman.

Hello Roman,

Thanks for your time to look into this matter. I have tried your solution but
unfortunately it has not worked, though I admit your solution is theoretically
very correct.
 
As it is a ftp space I hardly have any scope to look into the apache logs to
provide more info.
 

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


Mime
View raw message