Installation Mediawiki: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 34: | Zeile 34: | ||
<Directory /srv/httpd/vhosts/wiki2.laub-home.de/htdocs/> | <Directory /srv/httpd/vhosts/wiki2.laub-home.de/htdocs/> | ||
Options -Indexes FollowSymLinks -Includes -MultiViews | Options -Indexes FollowSymLinks -Includes -MultiViews | ||
AllowOverride | AllowOverride All | ||
Order allow,deny | Order allow,deny | ||
allow from all | allow from all | ||
| Zeile 47: | Zeile 47: | ||
# Don't run arbitrary PHP code. | # Don't run arbitrary PHP code. | ||
php_admin_flag engine off | php_admin_flag engine off | ||
RewriteEngine On | |||
RewriteCond %{QUERY_STRING} \.[^\\/:*?\x22<>|%]+(#|\?|$) [nocase] | |||
RewriteRule . - [forbidden] | |||
# If you've other scripting languages, disable them too. | # If you've other scripting languages, disable them too. | ||