亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

http://localhost/my/INDEX.PHP/INDEX/INDEX無法正常運行:解決時找不到Options FollowSymLinks謝謝

https://img1.sycdn.imooc.com//5b9dcfc50001e1c706580509.jpg

打不到:

Options FollowSymLinks

https://img1.sycdn.imooc.com//5b9dd0590001632b07010331.jpg

<IfModule mod_rewrite.c>

RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f

RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]

</IfModeule>


Server error!

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.

If you think this is a server error, please contact the?webmaster.

Error 500

localhost

Apache/2.4.18 (Win32) PHP/5.6.16


正在回答

4 回答

謝謝,同樣的問題

0 回復 有任何疑惑可以回復我~

通過了,不知道是否是這樣

0 回復 有任何疑惑可以回復我~

再將RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]修改為:

RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]


1 回復 有任何疑惑可以回復我~

終于解決了:phpstudy或者xampp都可以,版本差不多;

1、在Apache安裝文件夾conf里找到httpd.conf文件搜索并開啟LoadModule rewrite_module modules/mod_rewrite.so。搜索AllowOverride None 修改為AllowOverride All;

2、

<IfModule mod_rewrite.c>

?????Options +FollowSymlinks -Multiviews

?????RewriteEngine On

?????RewriteCond %{REQUEST_FILENAME} !-d

?????RewriteCond %{REQUEST_FILENAME} !-f

?????RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]

</IfModule>

????

最好重啟一下!


0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

http://localhost/my/INDEX.PHP/INDEX/INDEX無法正常運行:解決時找不到Options FollowSymLinks謝謝

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號