I have a problem with removing index.php from url.
I uncomment lines in .htaccess:
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /gallery
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?kohana_uri=$1 [QSA,PT,L]
RewriteRule ^$ index.php?kohana_uri=$1 [QSA,PT,L]
RewriteRule ^index.php/(.*) $1 [QSA,R,L]
</IfModule>
And when i open gallery with index.php in url all work fine, but when i open site/gallery/ it redirect me to site/gallery/installer
RewriteEngine on host work fine, because another scripts (in own folders with own .htaccess) on this site use RewriteEngine too. What can be wrong?
Posts: 27300
did you install gallery in a directory called gallery?
RewriteBase /gallery
Real world examples help the rewrite experts so best post some real urls.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team