http://localhost/my/INDEX.PHP/INDEX/INDEX無法正常運(yùn)行:解決時(shí)找不到Options FollowSymLinks謝謝
打不到:
Options FollowSymLinks
<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
Apache/2.4.18 (Win32) PHP/5.6.16
2020-02-01
謝謝,同樣的問題
2018-09-16
通過了,不知道是否是這樣
2018-09-16
再將RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]修改為:
RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
2018-09-16
終于解決了: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>
????
最好重啟一下!