diff options
author | mh <mh@immerda.ch> | 2009-03-15 20:35:49 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2009-03-15 20:35:49 +0000 |
commit | a5f7b21fade938b72683a712a69589828c2a16de (patch) | |
tree | 4ef3222efbd4dce498fd1355756af93bc3551de4 /templates/vhosts/php_joomla/CentOS.erb | |
parent | dcf89feffcf92517946f7c4df18262601c7b1d7e (diff) |
added default rewrite rules for joomlas
Diffstat (limited to 'templates/vhosts/php_joomla/CentOS.erb')
-rw-r--r-- | templates/vhosts/php_joomla/CentOS.erb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/vhosts/php_joomla/CentOS.erb b/templates/vhosts/php_joomla/CentOS.erb index aa0714e..cf8a40a 100644 --- a/templates/vhosts/php_joomla/CentOS.erb +++ b/templates/vhosts/php_joomla/CentOS.erb @@ -23,6 +23,8 @@ <%- end -%> <%- if not ssl_mode.to_s == 'force' then -%> <Directory "<%= documentroot %>/"> + Include conf.d/joomla.inc + AllowOverride <%= allow_override %> <%- if options.to_s != 'absent' or do_includes.to_s == 'true' then -%> Options <%- unless options.to_s == 'absent' then -%><%= options %><%- end -%> <%- if do_includes.to_s == 'true' and not options.include?('+Includes') then -%>+Includes<%- end -%> @@ -96,6 +98,8 @@ AddDefaultCharset <%= default_charset %> <%- end -%> <Directory "<%= documentroot %>/"> + Include conf.d/joomla.inc + AllowOverride <%= allow_override %> <%- if options.to_s != 'absent' or do_includes.to_s == 'true' then -%> Options <%- unless options.to_s == 'absent' then -%><%= options %><%- end -%> <%- if do_includes.to_s == 'true' and not options.include?('+Includes') then -%>+Includes<%- end -%> |