phpstudy配置laravel的伪静态

在域名管理中点击伪静态输入如下代码保存就i行了:

# Check if a file exists, or route it to index.php.
try_files $uri $uri/ /exploit/index.php?$query_string;
if (!-e $request_filename) {
     
    rewrite  ^(.*)$  /index.php?s=$1  last;
    break;
}

你可能感兴趣的:(laravel)