Forum Moderators: phranque

Message Too Old, No Replies

LocationMatch / HELP

LocationMatch

         

mariokas

9:50 pm on Dec 3, 2004 (gmt 0)

10+ Year Member



it is possible what LocationMatch works with url arguments?
example
<LocationMatch "index.php?asd=1">

if no, how to do that

thx

jdMorgan

10:44 pm on Dec 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



mariokas,

Welcome to WebmasterWorld!

No, query strings are not formally part of a URL; they are data to be passed to the resource at that URL.

I suggest changing your script to output static URLs, and then use mod_rewrite to convert those URLs, when requested, back to dynamic URLs needed to call your script. For example, WebmasterWorld is a dynamic site, but uses static URLs.

Because these static URLs will be requested from your server, you can then use <Location> and <LocationMatch> as you wish.

Jim

mariokas

8:16 am on Dec 4, 2004 (gmt 0)

10+ Year Member



thx
but i can't change code..