标签:writer follow comm str multi 权限 上下文 sel chcon
/var/www/html/
下<Directory /var/www/html/dokuwiki/> Options +FollowSymLinks require all granted ##VER APACHE2.4 Allow from localhost 127.0.0.1 ::1 <IfModule mod_rewrite.c> # Uncomment to implement server-side URL rewriting # (cf. <http://www.dokuwiki.org/config:userewrite>). # Do *not* mix that with multisite! RewriteEngine on RewriteBase /dokuwiki RewriteRule ^lib - [L] RewriteRule ^doku.php - [L] RewriteRule ^feed.php - [L] RewriteRule ^install.php - [L] RewriteRule ^_media/(.*) lib/exe/fetch.php?media=$1 [QSA,L] RewriteRule ^_detail/(.*) lib/exe/detail.php?media=$1 [QSA,L] RewriteRule ^_export/([^/]+)/(.*) doku.php?do=export_$1&id=$2 [QSA,L] RewriteRule ^$ doku.php [L] RewriteRule (.*) doku.php?id=$1 [QSA,L] </IfModule> </Directory> <Directory /var/www/html/dokuwiki/bin> require all granted ##FOR VER APACHE2.4 </Directory> <Directory /var/lib/dokuwiki/data> require all granted ##FOR VER APACHE2.4 </Directory>
/var/www/html/
dokuwiki/ -REND
Fedora搭dokuwiki的步骤 以apache2.4为例
标签:writer follow comm str multi 权限 上下文 sel chcon
原文地址:https://www.cnblogs.com/jason-koo/p/12040153.html