diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-06-28 13:56:22 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-06-28 13:56:22 -0300 |
commit | 3a9686cb91a72e33b94d606d1453d78e01c60bda (patch) | |
tree | 060c4f9c5705089e5a9f9015dc81cf5a5ea97fc1 /templates | |
parent | e07ac81ce5229ec61b18b428547a4f8404c3bff4 (diff) | |
download | puppet-pmwiki-3a9686cb91a72e33b94d606d1453d78e01c60bda.tar.gz puppet-pmwiki-3a9686cb91a72e33b94d606d1453d78e01c60bda.tar.bz2 |
Template fix
Diffstat (limited to 'templates')
-rw-r--r-- | templates/pmwiki.sh.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/pmwiki.sh.erb b/templates/pmwiki.sh.erb index d16088c..20cebf0 100644 --- a/templates/pmwiki.sh.erb +++ b/templates/pmwiki.sh.erb @@ -114,14 +114,14 @@ function pmwiki_install { echo > $SITES/$site/wiki/.htaccess <<-EOF Options +FollowSymLinks RewriteEngine on -RewriteRule ^/?$ https://$site.<%= ::domain %>/Main/HomePage [R=permanent,QSA,L] +RewriteRule ^/?$ https://$site.<%= domain %>/Main/HomePage [R=permanent,QSA,L] RewriteRule ^([^/a-z].*) field.php?n=$1 [QSA,L] EOF echo > $SITES/$site/wiki/local/config.php <<-EOF <?php if (!defined('PmWiki')) exit(); -$ScriptUrl = "https://$site.<%= ::domain %>"; +$ScriptUrl = "https://$site.<%= domain %>"; $EnablePathInfo = 1; EOF |