can't get anything under /var/www/html to work

neorder

Verified User
Joined
Oct 1, 2003
Messages
392
I'm using suPHP, and I know DA's default public html directory is at /var/www/html

the problem is, i just uploaded a simple phpinfo.php file and set it's permission to 644, ownership to root, it can't work!

This applies to other application I installed, such mrtg, etc.

However, if I create another user account, they all will work, the only difference is the ownership is the user.

Am I missing anything? thanks.
 
thank, I also notice that atmail, rountecube use webapps as owner/group, thus I did try that as well...

Is it possible that you can try install phpsystem at your server?
 
maybe that's too much...

but are you able to check if there is any customized directory under /var/www/html, does it work in your server? what's your settings?

thank you.
 
When I was running suphp, I had to change all .php stuff to webapps:webapps (owned) - and it worked, hence my suggestion.
 
Thanks Peter, strange I get it worked after trying one more time yesterday.

Like you've said, set folder/files ownership to webapps:webapps, then folder permission 755, file permission 644.

Thanks for your advice man.
 
Back
Top