我的網站有個功能 比如 對應的目錄是 aaa 還有一個網站目錄為 對bbb
但是需要在 上次文件的同事 往 里面也給生成一個同樣的 文件。 但是原配設置是有問題的,傳布上去。
查找思路:
1、文件權限問題
2、訪問所屬者
兩個都查完了 發現都沒問題, 郁悶了,最后想到 網站單獨的配置文件的問題,于是打開 對應的apache 配置文件:
復制代碼 代碼如下:
<VirtualHost *:80>
DocumentRoot /www/web/system/aaa/public_html
ServerName
DirectoryIndex index.php
ErrorDocument 400 /errpage/400.html
ErrorDocument 403 /errpage/403.html
ErrorDocument 404 /errpage/404.html
ErrorDocument 405 /errpage/405.html
php_admin_value open_basedir /www/web/system/aaa:/tmp
<IfModule mod_deflate.c>
DeflateCompressionLevel 7
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/x-httpd-php
AddOutputFilter DEFLATE css js html htm gif jpg png bmp php
</IfModule>
</VirtualHost>
<Directory /www/web/system/aaa>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
新聞熱點
疑難解答