|
-
May 18th, 2006, 09:18 PM
#1
Thread Starter
Fanatic Member
How to turn on Mod Rewrite in Apache - Help Needed
can somebody pls tell me how to turn on mod rewrite to work properly on localhost.
i have Apache 2.2.0
thanks
Last edited by modpluz; May 18th, 2006 at 09:46 PM.
-
May 19th, 2006, 12:57 AM
#2
Re: How to turn on Mod Rewrite in Apache - Help Needed
Inside the server configuration or virtual host container, enter the following line:
-
May 19th, 2006, 05:58 PM
#3
Thread Starter
Fanatic Member
Re: How to turn on Mod Rewrite in Apache - Help Needed
i've done that but it doesn't seem to recognize it.
whenever i try doin something it says "Object Not Found"
after creating an .htaccess file with the below content
Code:
RewriteEngine on
RewriteRule ^test.cleanurl(\/.*)*$ /test.cleanurl.php
RewriteRule ^news(\/.*)*$ /news.php
and navigating to localhost/testdir/news/10/45 gives me an "Object Not Found" error
and i assume object not found also means "Page Not Found".
and of course i have the .htaccess saved in the testdir folder.
Last edited by modpluz; May 19th, 2006 at 06:03 PM.
-
May 19th, 2006, 08:38 PM
#4
Re: How to turn on Mod Rewrite in Apache - Help Needed
Heh, this is the same issue I am having.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|