Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • 23theme-child
  • back-to-hyperdb
  • creativecommons
  • debug
  • footnotes-made-easy
  • logo-login
  • master
  • renovate/roots-wordpress-6.x
  • responsive-twentyten
  • theme-link-folio
  • twentytwentytwochild
  • wordpress-full
  • wp-6.8.1
  • wpgancio
  • noblogs-5.6.1c
15 results

Target

Select target project
  • noblogs/noblogs-composer
1 result
Select Git revision
  • 23theme-child
  • back-to-hyperdb
  • creativecommons
  • debug
  • footnotes-made-easy
  • logo-login
  • master
  • renovate/roots-wordpress-6.x
  • responsive-twentyten
  • theme-link-folio
  • twentytwentytwochild
  • wordpress-full
  • wp-6.8.1
  • wpgancio
  • noblogs-5.6.1c
15 results
Show changes
Commits on Source (6)
......@@ -9,6 +9,8 @@ FROM registry.git.autistici.org/ai3/docker/apache2-php-base:master
COPY --from=build /build/app/ /opt/noblogs/www
COPY docker/htaccess /opt/noblogs/www/.htaccess
COPY docker/htaccess-noindex /opt/noblogs/www/wp-admin/.htaccess
COPY docker/htaccess-noindex /opt/noblogs/www/wp-includes/.htaccess
COPY docker/wp-config.php /opt/noblogs/www/wp-config.php
COPY docker/wp-cache-config.php /opt/noblogs/www/wp-content/wp-cache-config.php
COPY docker/conf /tmp/conf
......
......@@ -27,6 +27,13 @@ RewriteRule ^gallery/[0-9]+/(.*)$ wp-includes/ms-files.php?file=2010/08/$1 [L]
RewriteRule ^resource/[^/]+/preview/(.*)$ wp-includes/ms-files.php?file=2010/08/$1 [L]
RewriteRule ^resource/[^/]+/download/(.*)$ wp-includes/ms-files.php?file=2010/08/$1 [L]
# hardening of wp-includes (with the exception of ms-files.php, the WP multisite file server).
RewriteRule ^wp-admin/includes/ - [F,L]
RewriteRule !^wp-includes/ - [S=2]
RewriteCond $0 !^wp-includes/ms-files\.php$
RewriteRule ^wp-includes/.+\.php(/|$) - [F,L]
RewriteRule ^wp-includes/theme-compat/ - [F,L]
# BEGIN WPSuperCache
<IfModule mod_rewrite.c>
AddDefaultCharset UTF-8
......@@ -66,6 +73,8 @@ RewriteRule ^(.*) "/wp-content/cache/supercache/%{HTTP_HOST}/%{HTTP:X-Forwarded-
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^(.*\.php)$ $1 [L]
RewriteRule . index.php [L]
# END WordPress
......
Options -Indexes