1. 程式人生 > >【laravel54】win系下本地域名配置(解決403錯誤)

【laravel54】win系下本地域名配置(解決403錯誤)

spa rect serve 配置 apache AC ide roo RR

1、apache虛擬目錄地址應該指向\laravel54\public 目錄下:(TP5類似)

<VirtualHost *:80>
DocumentRoot "D:\phpStudy\WWW\laravel54\public"
ServerName laravel54.com
ServerAlias 
<Directory "D:\phpStudy\WWW\laravel54">
Options FollowSymLinks ExecCGI
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory> </VirtualHost>

【laravel54】win系下本地域名配置(解決403錯誤)