我的網(wǎng)站有個(gè)功能 比如 對(duì)應(yīng)的目錄是 aaa 還有一個(gè)網(wǎng)站目錄為 對(duì)bbb
但是需要在 上次文件的同事 往 里面也給生成一個(gè)同樣的 文件。 但是原配設(shè)置是有問(wèn)題的,傳布上去。
查找思路:
1、文件權(quán)限問(wèn)題
2、訪問(wèn)所屬者
兩個(gè)都查完了 發(fā)現(xiàn)都沒(méi)問(wèn)題, 郁悶了,最后想到 網(wǎng)站單獨(dú)的配置文件的問(wèn)題,于是打開(kāi) 對(duì)應(yīng)的apache 配置文件:
復(fù)制代碼 代碼如下:
<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>
新聞熱點(diǎn)
疑難解答
圖片精選