summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess49
1 files changed, 24 insertions, 25 deletions
diff --git a/.htaccess b/.htaccess
index f6008361..d142d557 100644
--- a/.htaccess
+++ b/.htaccess
@@ -24,14 +24,14 @@
# in your Apache2 config file before you uncomment this block or
# you'll get an "Internal Server Error".
#
-# <FilesMatch "(\.(class|fla|inc|sql|txt|gitignore)|(README|LICENSE))$">
-# Order deny,allow
-# Deny from all
-# </FilesMatch>
-# <FilesMatch "robots.txt">
-# Order allow,deny
-# Allow from all
-# </FilesMatch>
+<FilesMatch "(\.(class|fla|inc|sql|txt|gitignore)|(README|LICENSE))$">
+ Order deny,allow
+ Deny from all
+</FilesMatch>
+<FilesMatch "robots.txt">
+ Order allow,deny
+ Allow from all
+</FilesMatch>
# Improve performance by uncommenting this block. It tells the
@@ -39,13 +39,13 @@
# asking for them. If you get an error after uncommenting this, make
# sure you specify "AuthConfig Indexes" in your Apache config file.
#
-# <IfModule mod_expires.c>
-# ExpiresActive On
-# # Cache all files for a month after access (A).
-# ExpiresDefault A2678400
-# # Do not cache dynamically generated pages.
-# ExpiresByType text/html A1
-# </IfModule>
+<IfModule mod_expires.c>
+ ExpiresActive On
+ # Cache all files for a month after access (A).
+ ExpiresDefault A2678400
+ # Do not cache dynamically generated pages.
+ ExpiresByType text/html A1
+</IfModule>
# You can use the mod_rewrite Apache module to get rid of the
# "index.php" from your Gallery 3 urls. Uncomment the block below
@@ -65,13 +65,12 @@
# want these changes to be persistent, talk to your system admin about
# putting this block into your Apache config files.
#
-# <IfModule mod_rewrite.c>
-# Options +FollowSymLinks
-# RewriteEngine On
-# RewriteBase /
-# 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>
+<IfModule mod_rewrite.c>
+ RewriteEngine On
+ RewriteBase /photos
+ 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>