diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2010-09-05 21:25:46 -0700 | 
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2010-09-05 21:25:46 -0700 | 
| commit | ca0c3b3e7f154ffceee944049247e15cf0190e48 (patch) | |
| tree | 8d0f13ccaae55b55f9450a6af654e6168a636069 /modules/gallery/helpers/access.php | |
| parent | c51b6ab38d7f16d64127fd3a73df38166a698f0f (diff) | |
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!
Diffstat (limited to 'modules/gallery/helpers/access.php')
| -rw-r--r-- | modules/gallery/helpers/access.php | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/modules/gallery/helpers/access.php b/modules/gallery/helpers/access.php index f1ea00c0..86ea9572 100644 --- a/modules/gallery/helpers/access.php +++ b/modules/gallery/helpers/access.php @@ -694,6 +694,7 @@ class access_Core {      @mkdir(VARPATH . "security_test");      try {        if ($fp = @fopen(VARPATH . "security_test/.htaccess", "w+")) { +        fwrite($fp, "Options +FollowSymLinks\n");          fwrite($fp, "RewriteEngine On\n");          fwrite($fp, "RewriteRule verify $success_url [L]\n");          fclose($fp); | 
