Go Back   CodingForums.com > :: Server side development > Apache configuration

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 12-06-2012, 09:52 PM   PM User | #1
BinaryX
New Coder

 
Join Date: Oct 2009
Posts: 78
Thanks: 1
Thanked 2 Times in 2 Posts
BinaryX is an unknown quantity at this point
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 is offline   Reply With Quote
Old 12-07-2012, 08:49 AM   PM User | #2
BinaryX
New Coder

 
Join Date: Oct 2009
Posts: 78
Thanks: 1
Thanked 2 Times in 2 Posts
BinaryX is an unknown quantity at this point
Anyone?
BinaryX is offline   Reply With Quote
Old 12-07-2012, 08:57 AM   PM User | #3
BinaryX
New Coder

 
Join Date: Oct 2009
Posts: 78
Thanks: 1
Thanked 2 Times in 2 Posts
BinaryX is an unknown quantity at this point
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?

Last edited by BinaryX; 12-07-2012 at 09:03 AM..
BinaryX is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:07 AM.


Advertisement
Log in to turn off these ads.