CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Apache configuration (http://www.codingforums.com/forumdisplay.php?f=69)
-   -   Mod_rewrite help needed. (http://www.codingforums.com/showthread.php?t=283688)

BinaryX 12-06-2012 09:52 PM

Mod_rewrite help needed.
 
I got this url: http://example.com/index.php?page=products and i want to access that page by using: http://example.com/products

I tried the GenerateIt tool but generating this and then removing the parameter gets me a internal server error when i try it.

BinaryX 12-07-2012 08:49 AM

Anyone?

BinaryX 12-07-2012 08:57 AM

Nvm this worked: RewriteRule ^(.*)$ index.php?page=$1 [L], dangerous though so i just add 1 mod entry for each page.

Edit: doesnt work , any solutions?


All times are GMT +1. The time now is 04:19 PM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.