Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: mod_rewrite |
|
Author |
|
adaykin
Joined: 12 Jan 2010 Posts: 3
|
Posted: Thu 14 Jan '10 2:18 Post subject: mod_rewrite |
|
|
Is anyone else having trouble using mod_rewrite? I can get my .htaccess files working properly on my linux server, but with apache lounge's version I am having problems. The following code won't work on apache lounge's apache version:
RewriteEngine On
RewriteBase /test/home/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
I uncommented the line in my httpd.conf to enable mod_rewrite, but it still isn't working. |
|
Back to top |
|
tdonovan Moderator
Joined: 17 Dec 2005 Posts: 611 Location: Milford, MA, USA
|
Posted: Thu 14 Jan '10 3:14 Post subject: |
|
|
Check the AllowOverride directives in your httpd.conf file.
If the directory with your .htaccess file doesn't have AllowOverride All or AllowOverride FileInfo - then all the mod_rewrite in your .htaccess file will be ignored.
-tom- |
|
Back to top |
|
|
|
|
|
|