httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] mod_rewrite help, # in input url
Date Tue, 21 Jan 2014 21:17:57 GMT
On Tue, Jan 21, 2014 at 4:02 PM, Ayub Khan <ayub.hp@gmail.com> wrote:
> Thank you for the reply. I want to match the text which is  follows #  and
> grab a substring from it. Not sure if its possible with mod_rewrite ?

Have a look at the access log. You'll notice that anything after the #
isn't actually sent with the request to the server, but is, rather, a
client-side "anchor", processed by the browser to find an anchor in
HTML markup.

Thus, you're not going to be able to write rewrite rules to handle this.

Consider, instead, using '?' to pass additional arguments in the query string

-- 
Eric Covener
covener@gmail.com

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


Mime
View raw message