]>
Commit | Line | Data |
---|---|---|
c9596114 | 1 | Alias /wordpress /usr/share/wordpress |
f9235c45 TP |
2 | |
3 | <Directory /usr/share/wordpress> | |
2e9ab7da ER |
4 | <IfModule mod_authz_core.c> |
5 | # Apache 2.4 | |
6 | Require all granted | |
7 | </IfModule> | |
8 | <IfModule !mod_authz_core.c> | |
9 | Allow from all | |
10 | </IfModule> | |
11 | ||
f9235c45 | 12 | php_admin_flag engine on |
6a3335c4 | 13 | php_admin_value open_basedir "/usr/share/wordpress:/etc/webapps/wordpress" |
c9596114 ER |
14 | |
15 | <IfModule mod_rewrite.c> | |
16 | Options +FollowSymLinks | |
17 | RewriteEngine On | |
18 | RewriteBase /wordpress/ | |
19 | RewriteCond %{REQUEST_FILENAME} !-f | |
20 | RewriteCond %{REQUEST_FILENAME} !-d | |
21 | RewriteRule . /wordpress/index.php [L] | |
22 | </IfModule> | |
f9235c45 | 23 | </Directory> |