在瀏覽器中輸入網站 url 會得到一個空的記事本檔案,下載大小為 0 kb。網站自動停止并自動啟動。我很困惑這怎么可能。任何人都可以幫助我嗎?
Error :client denied by server configuration: /home/ki687495/public_html/vendor/laravel/.env
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews -Indexes
</IfModule>
<Files .env>
Order Allow,Deny
Deny from all
</Files>
RewriteEngine On
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (. )/$
RewriteRule ^ %1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_URI} !(\.css|\.js|\.png|\.jpg|\.jpeg|\.gif|robots\.txt|\.ico|\.woff|\.woff2|.ttf|\.svg)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !^/public/
RewriteRule ^(css|assets|landing|storage|installer|js)/(.*)$ public/$1/$2 [L,NC]
</IfModule>
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php73” package as the default “PHP” programming language.
<IfModule mime_module>
AddHandler application/x-httpd-ea-php73 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
uj5u.com熱心網友回復:
如果 php 版本錯誤,客戶端被服務器配置拒絕,請檢查檔案以獲取正確版本以及配置是否不正確。
轉載請註明出處,本文鏈接:https://www.uj5u.com/qiye/421582.html
標籤:
上一篇:使用JSON作為驗證制作登錄頁面
下一篇:Ubuntu上的Mariadb我為CURRENT_USER使用的用戶是root@%而不是root@localhost
