Commit Graph
24 Commits
Author SHA1 Message Date
Bharat Mediratta c46d5f3da9 Rename BUILD_NUMBER->.build_number 2011-01-17 17:35:57 -08:00
Bharat Mediratta 29be21bb0d Add BUILD_NUMBER to the security check in .htaccess
Change BUILD_NUMBER to be .ini format and add a big "do not edit" comment.
2011-01-17 17:27:16 -08:00
Bharat Mediratta e4a43c99e4 Mirror .htaccess PHP settings into php.ini for hosts that have
per-dir php.ini support configured, but don't use .htaccess.
Fixes #1603.
2011-01-11 21:41:20 -08:00
Bharat Mediratta 1c18200940 Protect ".ini" files in the example security stanza. Fixes ticket 2010-09-29 21:34:31 -07:00
Bharat Mediratta 9c721c4da6 In the security block, make the "Deny from all" explicit to avoid
confusion.  Specifically allow robots.txt to be a visible .txt file.
Fixes ticket #1343.
2010-09-07 21:47:36 -07:00
Bharat Mediratta ca0c3b3e7f Force "Options +FollowSymLinks" since that's a requirement for
mod_rewrite to work.  This is surprisingly obscure in the docs.
Thanks to bromide for turning this up in
http://gallery.menalto.com/node/97791!
2010-09-05 21:25:46 -07:00
Bharat Mediratta cf354f4d62 Add an new rule to the mod_rewrite example that redirects you away
from index.php to the short urls.
2010-08-28 21:37:07 -07:00
Bharat Mediratta e648ba58b3 Add a <FilesMatch> section to hide files that browsers shouldn't see. 2010-06-20 18:18:04 -07:00
Bharat Mediratta e1b9565232 Change all booleans to use php_flag instead of php_value. And turn off
suhosin.session.encrypt by default.
2009-09-11 11:16:52 -07:00
Bharat Mediratta 417c983491 Tighten up the mod_rewrite text a bit. 2009-09-02 20:04:11 -07:00
Bharat Mediratta 75c098204f Add a comment about putting the mod_rewrite block into the apache
config files, since .htaccess will get clobbered.
2009-08-27 14:13:47 -07:00
Tim Almdal b59e94e7dc Change references to Gallery 2 and Gallery 3 to consistently refer to
Gallery n as opposed any variants of this.
2009-07-07 07:32:36 -07:00
Bharat Mediratta 3a260ed3f7 Add instructions for using mod_expires 2009-06-29 21:38:22 -07:00
Bharat Mediratta 4448b0e787 Try to disable the parts of mod_security that interfere with the Flash uploader 2009-06-27 21:37:14 -07:00
Bharat Mediratta 766de00909 Turn off magic_quotes_sybase and magic_quotes_runtime.
Fixes ticket #394.
2009-06-24 22:25:48 -07:00
Bharat Mediratta a19dba9416 Comment out the whole <IfModule> block; without proper configuration
it breaks gallery3 if you don't specify index.php.
2009-06-24 22:01:08 -07:00
Bharat Mediratta 60442e170b Oops, remove my own custom RewriteBase. I can see that this is going
to be a problem with this approach.
2009-06-24 21:50:35 -07:00
Bharat Mediratta a5f1ef4849 Add support for mod_rewrite in the .htaccess file. There are now
instructions for how to tweak RewriteBase correctly.  Once that's
done, index.php will automagically disappear.  \o/
2009-06-24 21:47:47 -07:00
Bharat Mediratta cd9bdaa07a php_flag -> php_value, guard all with <IfModule mod_php5.c> 2009-02-05 00:29:32 +00:00
Bharat Mediratta aceb030973 Raise upload_max_filesize and post_max_size to very high values 2008-11-10 12:28:05 +00:00
Bharat Mediratta 065bbb2120 try to disable register_globals 2008-11-09 19:10:48 +00:00
Chris Kelly c389e22982 doh. ini_set for short_open_tag only works in old version of php. reverting to using .htaccess 2008-11-05 22:37:48 +00:00
Chris Kelly 3d20abcdf0 move short_open_tag setting from .htaccess to ini_set because it works more often and fails more gracefully 2008-11-05 22:20:58 +00:00
Bharat Mediratta aff7048b1f Turn on short_open_tags 2008-11-02 22:01:30 +00:00