I am trying to capture all of the url after the / for subsequent processing, but don't have much experience of mod rewrite or regexps!
If I put this in the .htaccess on the folder I am dealing with (/somedir/):
RewriteRule ^(.*)/?$ index.php?qs=$1
all I get in $1 is 'index.php', when I need everything after it. E.g. if they enter
/somedir/123
I want to process the 123 with my php script.
Apologies if I am making a basic error!
Ed



LinkBack URL
About LinkBacks
Reply With Quote




