猿问
phpstudy修改端口后403 forbidden
nginx配置文件的端口和目录都改了,为啥还是403
一只斗牛犬
浏览 101
回答 1
1回答
蝴蝶刀刀
1.检查下.htaccess:<IfModule mod_rewrite.c> Options +FollowSymlinks -Multiviews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]</IfModule>2.使用了域名的话,是否配置了host文件3.vhosts.conf文件是否有配置:if (!-e $request_filename){ rewrite ^(.*)$ /index.php?s=$1 last; break; }
0
0
0
随时随地看视频
慕课网APP
我要回答