# HG changeset patch # User Paul Boddie # Date 1341935980 -7200 # Node ID 1aa0ec52267cf9e5989824b914d61e45590cfa6c # Parent a5aec502083f078246b718f25b8f7324e0633d83 Added DirectoryIndex usage in generated .htaccess files. Updated the version number. diff -r a5aec502083f -r 1aa0ec52267c moinsetup.py --- a/moinsetup.py Tue Jul 10 16:23:54 2012 +0200 +++ b/moinsetup.py Tue Jul 10 17:59:40 2012 +0200 @@ -30,7 +30,7 @@ import re import tempfile -__version__ = "0.3" +__version__ = "0.4" # Regular expressions for editing MoinMoin scripts and configuration files. @@ -64,7 +64,7 @@ # configured in the main Apache configuration files for the directory where # .htaccess is to be deployed: # -# AllowOverride FileInfo Limit +# AllowOverride FileInfo Indexes # # The following settings are required for the directory where the moin.cgi # script is to be deployed: @@ -77,6 +77,7 @@ # in different places, however. apache_htaccess_combined_mod_rewrite = """ +DirectoryIndex %(url_path)s/moin.cgi/ RewriteEngine On RewriteBase %(final_url_path)s RewriteCond %%{REQUEST_FILENAME} !-f