Hi!
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.
This works fine for case 1:
RewriteRule ^([a-z]*[/][a-z]*)[/]?([a-z0-9=&])$
/main_script.php?=the_page=$1&$2
I added a [\?]?, case 1 still works but case 2 does not (the page $1 is
passed fine, but the rest of the data $2 is not passed at all):
RewriteRule ^([a-z]*[/][a-z]*)[/]?[\?]?([a-z0-9=&])$
/main_script.php?=the_page=$1&$2
Any ideas?
Best Regards Emil
---------------------------------------------------------------------
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: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]