HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   General (
-   -   .htaccess + mod_rewrite (

tomaszm 27th May 2011 23:32

.htaccess + mod_rewrite

I've problem with ispconfig3 and mod_rewrite and .htaccess files.
When I create .htaccess file and I put there:
Options +Indexes
It dosen't work.
Also mod_rewrite dosen't work.

falko 28th May 2011 13:08

Please check the AllowOverride setting in the corresponding vhost. See

commentator 29th May 2011 13:12

Same problem here with mod_rewrite.

Server with Debian Squeeze/Sid and ISPConfig

Problem is php fastcgi. Set it to mod-php and it works as it should be.

@falco / @till is there a fix for this so it can work with fastcgi?

commentator 23rd February 2012 20:22

Update :


RewriteEngine on
RewriteRule ^index.php / [R=301,L]
RewriteRule  ^[a-z0-9]+\.[a-z0-9]+$ - [NC,L]
RewriteRule ^([a-z_0-9/\.-]+)$ test.php/$1 [NC,QSA,L]

works perfect with mod-php but not with fast-cgi. Why ?

All times are GMT +2. The time now is 22:15.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.