Preview site using ip/~user not working
Hi
I just upload a index.php and one file.html with simple valid code to test using the ip before change the nameservers like this:
also as
And i am getting this:
mod_userdir Protection is not enabled ... Also when i try to rebuild i am getting also this error that i smaybe related:
Any ideas? Thanks
http://123.456.789.000/~userx (userx is the cpanel account name)
also as
http://123.456.789.000/~userx/file.html
And i am getting this:
404 Not Found
The server can not find the requested page:
123.456.789.000/~userx (port 80)
mod_userdir Protection is not enabled ... Also when i try to rebuild i am getting also this error that i smaybe related:
[[error] [client 123.456.789.000] File does not exist: /usr/local/apache/htdocs/~userx
Any ideas? Thanks
-
Have you enabled the option? WHM " Security Center " Apache mod_userdir Tweak 0 -
Yes i enable it but i can't test it as it seems that i have a rebuild problem as i can see from the error and i am just use the basic cpanel template: File does not exist: /usr/local/apache/htdocs/~userx
The problem seems to be with the Apache httpd.conf i think :(0 -
Sounds like you are using ruid2 which does not work with this. The work around is to provide them with a dedicated IP. 0 -
On the new rebuild Ruid2 is not selected and i just get the rebuild done without errors. I was select to get a new config for Apache and it seems ok ... Is suphp and suexec related to my problem? [COLOR="silver">- - - Updated - - - Not working again i can't preview a simple html :( Now i test it with: Default PHP Version (.php files) 5 PHP 5 Handler fcgi Apache suEXEC off Apache Ruid2 off But nothing :( 0 -
Ok i got it working for the index.html :) But when i try to load a simple hello word php script is not running and i am getting this: Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I also try to enable the Apache suEXEC on but nothing :(0 -
Ok i found this that maybe is my solution but is for suphp only and i am using fcgi :( http://forums.cpanel.net/f5/php-not-working-site-preview-70719.html
0 -
Hello :) UserDir requests will not function correctly when using Mod_FCGI. This is documented at: FCGI Considerations Disabling SuExec will allow the URL to load, but it reduces the overall security of FCGI. Thank you. 0
Please sign in to leave a comment.
Comments
7 comments