Re: Rewrite ?

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

 



$quoted_author = "Emil Edeholt" ;
>
> I want url:s like site.com/page/subpage/some=data and I also need urls  
> like site.com/foo/bar/?some=data to function on my site. The first kind  
> works fine. But I can't get the question mark-kind to work.

The second type is handled by Apache as HOST/PATH?QUERY_STRING and hence you
need to specifically match on QUERY_STRING.

http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html

...and read the bits "What is matched?" and "Modifying the Query String"

cheers
marty

-- 
"It might have been the time we went for a pub lunch. He ordered food, and I
ordered a beer. After sitting down, He asked me what I was having for lunch
and I raised my glass. He protested I couldn't just have a beer for lunch,
so I went back to the bar and got a second beer." --Peter Corlett

alt.sysadmin.recovery - <egvs8m$r8b$1@xxxxxxxxxxxx> 

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-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