Apacheとlaravelの設定
709 ワード
vimを使用してプロファイルを編集する再起動モジュールを開く(以下の行の#を除去する) AllowOverride NoneをAllowOverride All に変更仮想ホストを構成し、/etc/http/conf/http.conf最後尾、注意注釈 を取り除く
vim /etc/httpd/conf/httpd.conf
LoadModule rewrite_module modules/mod_rewrite.so
ServerAdmin [email protected] //
DocumentRoot "/var/www/html/laravel5.2/public" //
ServerName www.aliyun.com // , IP
DirectoryIndex index.php index.html index.htm //
ErrorLog "logs/www.aliyun.com-error_log" //
CustomLog "logs/www.aliyun.com-access_log" common //