My site has a feature such as www.abc.com corresponding to the directory is AAA also has a website directory for www.123.com to BBB
But it takes a colleague in Www.abc.com's last file to www.123.com to generate the same file. But the original set is problematic, spread up.
Find ideas:
1, File permissions issues
2, access to the owner
Two all checked out found all no problem, depressed, and finally think of the site alone, the problem of the configuration file, so open www.abc.com corresponding Apache configuration file:
Copy Code code as follows:
<virtualhost *:80>
Documentroot/www/web/system/aaa/public_html
ServerName www.abc.com
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>
Found one more line, looked at the Php_admin_value Open_basedir This plainly is set scope. You can fix the problem by setting it here.
To set the method:
You can list the allowed directories after/tmp:/** can also change the previous directory to go up the previous level.