moinsetup

Changeset

59:1aa0ec52267c
2012-07-10 Paul Boddie raw files shortlog changelog graph Added DirectoryIndex usage in generated .htaccess files. Updated the version number.
moinsetup.py (file)
     1.1 --- a/moinsetup.py	Tue Jul 10 16:23:54 2012 +0200
     1.2 +++ b/moinsetup.py	Tue Jul 10 17:59:40 2012 +0200
     1.3 @@ -30,7 +30,7 @@
     1.4  import re
     1.5  import tempfile
     1.6  
     1.7 -__version__ = "0.3"
     1.8 +__version__ = "0.4"
     1.9  
    1.10  # Regular expressions for editing MoinMoin scripts and configuration files.
    1.11  
    1.12 @@ -64,7 +64,7 @@
    1.13  # configured in the main Apache configuration files for the directory where
    1.14  # .htaccess is to be deployed:
    1.15  #
    1.16 -# AllowOverride FileInfo Limit
    1.17 +# AllowOverride FileInfo Indexes
    1.18  #
    1.19  # The following settings are required for the directory where the moin.cgi
    1.20  # script is to be deployed:
    1.21 @@ -77,6 +77,7 @@
    1.22  # in different places, however.
    1.23  
    1.24  apache_htaccess_combined_mod_rewrite = """
    1.25 +DirectoryIndex %(url_path)s/moin.cgi/
    1.26  RewriteEngine On
    1.27  RewriteBase %(final_url_path)s
    1.28  RewriteCond %%{REQUEST_FILENAME} !-f