# htaccess file version 1.4.12; # Rewrite rules are now handled by PHP code # See the file "zenphoto-rewrite.txt" for the actual rules # # These rules redirect everything not directly accessing a file to the Zenphoto index.php script # IndexIgnore * RewriteEngine On RewriteBase [[relativeurl]]/ RewriteCond %{REQUEST_URI} !(/$|\.) RewriteRule (.*) %{REQUEST_URI}/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [L] RewriteRule ^.*/?$ index.php [L,QSA]