I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 7975
40807 credits Members referred : 3
« on: Jun 20, 2006, 12:54:31 PM »
Here is a problem I have.
I use the above modrewrite rule to redirect subdirectories of a directory to a php script :
Code:
RewriteEngine on Options +FollowSymlinks RewriteBase / RewriteRule dir/(.*)$ dir/index.php?screen=$1 [QSA,L]
So it will redirect /dir/xxx to /dir/index.php?screen=xxx right?
The problem is that php can't 'see' the screen in $_GET or $_REQUEST, so the only way to see what it passes is through $QUERY_STRING which does not helps much as it returns this :
Code:
screen=index.php&screen=xxx
Can you help me with this? Any response will be deeply appreciated.
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 7975
40807 credits Members referred : 3
« Reply #12 on: Jun 20, 2006, 03:31:37 PM »
Yeah all those tests was in a windows development server. I will try to run those in the linux development server, and then in the production server, to see if there is a change.
I will keep you posted. And thanks for the help so far
Yeah all those tests was in a windows development server. I will try to run those in the linux development server, and then in the production server, to see if there is a change.
I will keep you posted. And thanks for the help so far
hm... it works on my local WAMP (win XP, apache 2, mysql 4.1, php 5.1) configuration too are you using apache as a module?
EDIT: but I remember that I got this error on CGI apache configs...