HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   .htaccess + mod_rewrite (http://www.howtoforge.com/forums/showthread.php?t=52869)

tomaszm 27th May 2011 23:32

.htaccess + mod_rewrite
 
Hello!

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 http://httpd.apache.org/docs/2.0/mod...#allowoverride

commentator 29th May 2011 13:12

Same problem here with mod_rewrite.

Server with Debian Squeeze/Sid and ISPConfig 3.0.3.3


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 :

Code:

RewriteEngine on
RewriteRule ^index.php / [R=301,L]
RewriteRule  ^[a-z0-9]+\.[a-z0-9]+$ - [NC,L]
RewriteCond %{ENV:REDIRECT_STATUS} ^$
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 06:55.

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