나는 mod_rewrite를 오랫동안 즐기고 있었지만, 나에게 최고라고 생각한다. 아무도 내 문제에 대한 빛을 비출 수 있기를 바랍니다.아파치 Mod_rewrite off, wordpress happy, 404 불행에
나는 wordpress 자체 호스트를 시도하고 사이트의 .htaccess 파일에서 mod_rewrite를 off로 설정하면 잘 작동한다. 그러나 내가 그것을 켜면 금지 된 오류가 나옵니다. 그리고 쇼 로그 :
옵션에 FollowSymLinks 나 SymLinksIfOwnerMatch가은 RewriteRule의 지시가 금지되어 있음을 의미하는 꺼져 : /c/blog/wp-admin/index.php, 리퍼러 : http://xxx.xxx.xxx.xxx/blog/wp-admin/options-permalink.php이
htaccess로는
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>
# END WordPress
을 포함을
미리 감사드립니다.
apache는 다음과 같이 실행됩니다 : NAS :/blog # ps aux | grep apache admin 5436 0.6 5.2 109812 53464? S 20:34 0:00/usr/sbin/apache-ssl -f/etc/frontview/apache/h ttpd.conf admin 5460 0.0 3.6 106016 37320? S 20:34 0:00/usr/sbin/apache-ssl -f/etc/frontview/apache/h ttpd.conf 루트 5502 0.0 0.0 3840 500 pts/0 S + 20:35 0:00 grep apache 루트 10805 0.0 4.2 104496 43020? ss 06:25 0:02/usr/sbin/apache-ssl -f/etc/frontview/apache/h ttpd.conf – Dashu
.htaccess가 소유자로 admin : admin을 사용하고 있습니다. – Dashu
apache : admin과 같은 콤보를 시도한 적이 있습니까? 아파치 : 아파치 아파치 : 루트 등? – buley