Go Back   CodingForums.com > :: Server side development > PHP

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 04-22-2012, 01:15 PM   PM User | #1
qeeman
New to the CF scene

 
Join Date: Feb 2012
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
qeeman is an unknown quantity at this point
Is mod_rewrite enabled???

When i check the environment with phpinfo() the HTTP_MOD_REWRITE shows as ON... doesn't this mean that apache mod_rewrite is enabled??? ... but i haven't been able to rewrite the url with htaccess... can somebody please help ....
qeeman is offline   Reply With Quote
Old 04-22-2012, 06:18 PM   PM User | #2
Fou-Lu
God Emperor


 
Fou-Lu's Avatar
 
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,653
Thanks: 4
Thanked 2,451 Times in 2,420 Posts
Fou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to allFou-Lu is a name known to all
Where has the environment variable HTTP_MOD_REWRITE been declared?
If its between an <IfModule mod_rewrite.c> check, then that's fine assuming that mod rewrite has been used at this point.
As for telling if its actually be rewritten, you may be able to check the existence of the $_SERVER['REDIRECT_URL'].
Fou-Lu is offline   Reply With Quote
Reply

Bookmarks

Tags
htaccess, mod_rewrite

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 10:18 AM.


Advertisement
Log in to turn off these ads.