diff options
author | mh <mh@immerda.ch> | 2013-06-12 00:50:20 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2013-06-12 00:50:23 +0200 |
commit | 94154f5877a041058e2b083cff1047604d14f202 (patch) | |
tree | fb86a3f56cde32b60478d25439326bf3e9e46e91 /templates | |
parent | e7d50df18b18c152bfb6eed8fe8a59d2ff0de975 (diff) |
remove unnecessary template part from mediawiki
we also have likely anonymization in place, hence all
ips are from localhost
Diffstat (limited to 'templates')
-rw-r--r-- | templates/vhosts/php_mediawiki/partial.erb | 9 | ||||
-rw-r--r-- | templates/vhosts/php_typo3/partial.erb | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/templates/vhosts/php_mediawiki/partial.erb b/templates/vhosts/php_mediawiki/partial.erb index cf30f5f..4a37aec 100644 --- a/templates/vhosts/php_mediawiki/partial.erb +++ b/templates/vhosts/php_mediawiki/partial.erb @@ -5,12 +5,3 @@ RewriteRule ^/?index.php/(.*)$ /index.php?title=$1 [PT,L,QSA] <% end -%> <%= scope.function_template(['apache/vhosts/php/partial.erb']) %> - <Directory "<%= documentroot %>/typo3/"> - 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} (.*/typo3/.*) - RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R] - </Directory> diff --git a/templates/vhosts/php_typo3/partial.erb b/templates/vhosts/php_typo3/partial.erb index 5c06570..117869f 100644 --- a/templates/vhosts/php_typo3/partial.erb +++ b/templates/vhosts/php_typo3/partial.erb @@ -3,7 +3,6 @@ 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} (.*/typo3/.*) RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R] |