WDlinux官方论坛's Archiver

markeseo 发表于 2014-3-20 20:13

Warning: Unknown: open_basedir restriction in effect.

[b]Warning[/b][color=#000][font=Simsun]: Unknown: open_basedir restriction in effect. File(/www/web/default/index.php) is not within the allowed path(s): (1) in [/font][/color][b]Unknown[/b][color=#000][font=Simsun] on line [/font][/color][b]0[/b]

[b]Warning[/b][color=#000][font=Simsun]: Unknown: failed to open stream: Operation not permitted in [/font][/color][b]Unknown[/b][color=#000][font=Simsun] on line [/font][/color][b]0[/b]

[b]Fatal error[/b][color=#000][font=Simsun]: Unknown: Failed opening required '/www/web/default/index.php' (include_path='.:/www/wdlinux/apache_php-5.2.17/lib/php') in [/font][/color][b]Unknown[/b][color=#000][font=Simsun] on line [/font][/color][b]0[/b]

[b]新建的出现这种,老网站没有这是怎么回事?[/b]



[b]默认conf[/b]
[b]<VirtualHost *:88>
DocumentRoot /www/web/default
</VirtualHost>
<Directory /www/web/default>
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>

新建的
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/tveyshan:/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/tveyshan>
    Options FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>


[/b]
老的
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/ued361:/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/ued361>
    Options FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.