Server issue My site is forbbiden for me.

Hi today i wanted to check my inbox at my forum and got a java error.
After that i tryed to refresh the site and got this:

You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
I think thats a bug.
i get this:
Warning: Unknown: open_basedir restriction in effect. File(/www/ is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in Unknown on line 0
Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
Fatal error: Unknown: Failed opening required '/www/' (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0


Formerly CyclingTribe
If you don't know how use the info you need to ask your host for assistance as this is something on your server that is restricting your access to your XF files.


Active member
MrEdinLaw, it's obvious you're not particularly versed in this sort of thing. If you've changed anything in your configuration files recently, or moved the directory of your site, undo those changes. Basically, your forum directory is not within the open_basedir directory, which to simplify, controls which files your PHP scripts are allowed to access.

If you'd like, you can contact me via PM to let me into your server and I'll see about fixing it for you, telling you what was wrong and how to fix it next time. If you're not comfortable with that, then I recommend reading up on web server configuration. Assuming you're using Apache, you want to change the open_basedir line in your VirtualHosts from something like this:

php_admin_value open_basedir /home/:/usr/lib/php:/tmp
to something like this:

php_admin_value open_basedir /www/
You should NOT include your entire /home directory in open_basedir. Feel free to add any other website's directory to its respective virtualhost.

My personal setup is to have /home/user/domains/<content here> that way I can non-web-accessible content in (that cannot be reached with the web root set to pub), but that can still be accessed by PHP if I need it to be. Good luck.


Active member
It would seem our user here doesn't have (or doesn't know he has) any sort of control panel or account for changing settings. I'm with Clickfinity here, thinking he might be best off contacting his host.