crashmaster Posted February 10, 2009 Share Posted February 10, 2009 Hi there, I have a problem with mod_rewrite. I have a htaccess where I've used code below: RewriteCond %{REQUEST_URI} (page-) RewriteRule ^inzerce-(.*)/page-([0-9]+)$ /index.php?page=inzerce¶ms=$1&pagenumber=$2 [NC] On my local server, when I use this url: localhost/inzerce-xxxx/page-13 script INDEX.php gets 2 vars - $params = xxxx; and $pagenumber=13; WHen I use this on webhosting's server - my script get ONLY 1 var = $params = xxxx/page-13; I dont know how to fix it... Any suggestions .. ?? Thank you Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.