logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: mod_rewrite
Author
adaykin



Joined: 12 Jan 2010
Posts: 3

PostPosted: Thu 14 Jan '10 2:18    Post subject: mod_rewrite Reply with quote

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

PostPosted: Thu 14 Jan '10 3:14    Post subject: Reply with quote

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


Reply to topic   Topic: mod_rewrite View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules