From 75c098204f44538b79932f852469ae9d4338074c Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 27 Aug 2009 14:13:47 -0700 Subject: Add a comment about putting the mod_rewrite block into the apache config files, since .htaccess will get clobbered. --- .htaccess | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.htaccess') diff --git a/.htaccess b/.htaccess index 08b9c5bb..c3f94237 100644 --- a/.htaccess +++ b/.htaccess @@ -44,6 +44,11 @@ # # Then just use your Gallery 3 without the index.php in the url. # +# NOTE: future upgrades of Gallery 3 will overwrite this file! If you +# want these changes to be persistent, you should talk to your system +# administrator about putting this block into your Apache config +# files. +# # # RewriteEngine On # RewriteBase / -- cgit v1.2.3 From 417c983491a7708a1d60e909caead239ef02eadd Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 2 Sep 2009 20:04:11 -0700 Subject: Tighten up the mod_rewrite text a bit. --- .htaccess | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to '.htaccess') diff --git a/.htaccess b/.htaccess index c3f94237..8c2e3793 100644 --- a/.htaccess +++ b/.htaccess @@ -29,13 +29,12 @@ # ExpiresByType text/html A1 # -# You can use mod_rewrite to enable short urls in Gallery 3 (which -# gets rid of the "index.php" from your urls). To do this, you must -# uncomment the block below that starts with and ends with -# then properly configure the RewriteBase line in the -# block below. You just need to change RewriteBase line to match your -# Gallery 3 URL. Here are some examples: +# You can use the mod_rewrite Apache module to get rid of the +# "index.php" from your Gallery 3 urls. Uncomment the block below +# inside the ... lines and then edit the +# RewriteBase line to match your Gallery 3 URL. # +# Here are some RewriteBase values: # Gallery 3 URL RewriteBase line # ============= ==================== # http://example.com/gallery3 RewriteBase /gallery3 @@ -45,9 +44,8 @@ # Then just use your Gallery 3 without the index.php in the url. # # NOTE: future upgrades of Gallery 3 will overwrite this file! If you -# want these changes to be persistent, you should talk to your system -# administrator about putting this block into your Apache config -# files. +# want these changes to be persistent, talk to your system admin about +# putting this block into your Apache config files. # # # RewriteEngine On -- cgit v1.2.3 From e1b9565232fac63ce63b29c434211ad9763b13ac Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Fri, 11 Sep 2009 11:16:52 -0700 Subject: Change all booleans to use php_flag instead of php_value. And turn off suhosin.session.encrypt by default. --- .htaccess | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to '.htaccess') diff --git a/.htaccess b/.htaccess index 8c2e3793..1d8bcb34 100644 --- a/.htaccess +++ b/.htaccess @@ -1,12 +1,13 @@ - php_value short_open_tag 1 - php_value magic_quotes_gpc 0 - php_value magic_quotes_sybase 0 - php_value magic_quotes_runtime 0 - php_value register_globals 0 - php_value session.auto_start 0 - php_value upload_max_filesize 20M - php_value post_max_size 100M + php_flag short_open_tag On + php_flag magic_quotes_gpc Off + php_flag magic_quotes_sybase Off + php_flag magic_quotes_runtime Off + php_flag register_globals Off + php_flag session.auto_start Off + php_flag suhosin.session.encrypt Off + php_value upload_max_filesize 20M + php_value post_max_size 100M # Try to disable the parts of mod_security that interfere with the Flash uploader -- cgit v1.2.3