[nflug] Ubuntu Server/PHP5/mod_rewrite issue

Franklin Kumro Jr fkumro at gmail.com
Fri Jan 12 09:11:26 EST 2007


I have a machine running Ubuntu Server 6.06 and selected the LAMP
install. I enabled mod_rewrite and tested that it indeed does redirect
properly. My .htaccess has the following lines in it that redirects
from /test/1/2/3 to test.php?data=$1&name=$2&frank=$3

On the production machines (that I did not set up/paid shared hosting)
the above rewrite rule and
$_GET['data']
returns the data however on my server it does not. PHP is not in safe
mode on my machine and I also tried $_REQUEST, does anyone know why
this would happen? There has to be an easy setting to fix this...

RewriteEngine On
RewriteRule ^test/([0-9]+)/([0-9]+)/([0-9]+) test.php?data=$1&name=$2&frank=$3

-- 
Frank
Shenanigans!!
I do the voodoo that I do do with sudo!
http://www.syncoder.com
_______________________________________________
nflug mailing list
nflug at nflug.org
http://www.nflug.org/mailman/listinfo/nflug



More information about the nflug mailing list