diff options
author | mh <mh@immerda.ch> | 2014-04-14 23:03:56 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2014-04-14 23:03:56 +0200 |
commit | 49d954d80d8b340dfcfdf939092d57754c3449f8 (patch) | |
tree | 5862e29b0cb272245618dfd41e926c23946f6b8d /templates/vhosts/php_joomla | |
parent | c52c48534d76b0a9c965784bd12eb1c1fccd94c6 (diff) |
more identation fixing
Diffstat (limited to 'templates/vhosts/php_joomla')
-rw-r--r-- | templates/vhosts/php_joomla/partial.erb | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/templates/vhosts/php_joomla/partial.erb b/templates/vhosts/php_joomla/partial.erb index 89999e9..64e73a9 100644 --- a/templates/vhosts/php_joomla/partial.erb +++ b/templates/vhosts/php_joomla/partial.erb @@ -1,32 +1,32 @@ - <Directory "<%= documentroot %>/"> + <Directory "<%= documentroot %>/"> <%= scope.function_template(['apache/vhosts/partials/std_override_options.erb']) %> <%= scope.function_template(['apache/vhosts/partials/php_settings.erb']) %> <%= scope.function_template(['apache/vhosts/partials/authentication.erb']) %> - Include include.d/joomla.inc - </Directory> + Include include.d/joomla.inc + </Directory> - <Directory "<%= documentroot %>/administrator/"> - RewriteEngine on + <Directory "<%= documentroot %>/administrator/"> + RewriteEngine on - # Rewrite URLs to https that go for the admin area - RewriteCond %{REMOTE_ADDR} !^127\.[0-9]+\.[0-9]+\.[0-9]+$ - RewriteCond %{HTTPS} !=on - RewriteCond %{REQUEST_URI} (.*/administrator/.*) - RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R] - </Directory> + # Rewrite URLs to https that go for the admin area + RewriteCond %{REMOTE_ADDR} !^127\.[0-9]+\.[0-9]+\.[0-9]+$ + RewriteCond %{HTTPS} !=on + RewriteCond %{REQUEST_URI} (.*/administrator/.*) + RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R] + </Directory> - # Deny various directories that - # shouldn't be webaccessible - <Directory "<%= documentroot %>/tmp/"> - Deny From All - </Directory> - <Directory "<%= documentroot %>/logs/"> - Deny From All - </Directory> - <Directory "<%= documentroot %>/cli/"> - Deny From All - </Directory> + # Deny various directories that + # shouldn't be webaccessible + <Directory "<%= documentroot %>/tmp/"> + Deny From All + </Directory> + <Directory "<%= documentroot %>/logs/"> + Deny From All + </Directory> + <Directory "<%= documentroot %>/cli/"> + Deny From All + </Directory> |