diff --git a/.htaccess b/.htaccess index d255efa..68b66bb 100644 --- a/.htaccess +++ b/.htaccess @@ -22,6 +84,16 @@ SecFilterScanPOST Off +# URL rewriting for Gallery Remote + + Options +FollowSymLinks + RewriteEngine On + RewriteBase /gallery/ + ErrorDocument 404 default + RewriteRule ^main.php(.*)$ / [QSA,L,R=404] + RewriteRule ^gallery_remote2.php(.*)$ index.php?kohana_uri=/gallery_remote$1 [QSA,PT,L] + + # Increase security by uncommenting this block. It keeps browsers # from seeing support files that they shouldn't have access to. We # comment this out because Apache2 requires some minor configuration