Re: mod_rewrite help, # in input url

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jan 21, 2014 at 4:02 PM, Ayub Khan <ayub.hp@xxxxxxxxx> 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@xxxxxxxxx

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux