Help - Search - Members - Calendar
Full Version: serverip/~user doesn't work...
The Planet Forums > Control Panels > cPanel/WHM
saver0
I want my CPanel clients to be able to view their site before the DSN info propagates.

I searched this forum and found that serverip/~user should work

But I get this error message 511:

Access Not Allowed from this Domain
You are attempting to access a user dir from a domain that is not owned by the user. Please correct the domain that you are attempting to use to access this url.
--------------------------------------------------------------------------------

Apache/1.3.27 Server at plain.rackshack.net Port 80


I have tried
http://serverip/~user
and
http://hostname.host.com/~user

Both got the same error message.

Can anyone please help me icon_sad.gif
SB-Host
Have you tried this:
http://hostname.host.com/~user/

Note the trailing slash.
Glenn
saver0
Tried that... same 511 Error icon_sad.gif
ramprage
Did you enable the mod_userdir tweak in the "Tweak Security" settings of WHM?

This will prevent users from having access.
saver0
I have WHM 7.2.0 and I don't see Tweak Security

Can you please tell me how to get there...

Thanks
saver0
It was the theame I was using.. i changed the theme and there was the Tweak Security icon_biggrin.gif

Thanks ramprage
saver0
I have it disabled.

But I still get the same error message...

What could be the problem...
B-H
I had that same problem, and I hadn't typed in the correct IP number. (I know it's basic, but you might want to double-check for a typo like the wrong number, a comma instead of a dot, etc?)

Also, any is your box reporting as plain.rackshack.net? Wouldn't you have changed that when you set up the box?
saver0
Checked that.... but the same error message 511


Could it be a DNS problem.. I remember I searched for this on the forum. Someone said that it could be VHost being not setup correctly.. what is VHost and how do i check if it is setup correctly?
amusive.com
Try restarting apache, if you recently 're-tweaked' the settings.

It's actually a bad idea to allow this type of access -- the bandwidth used is not monitored.
saver0
Yea I did restart Apache...

Thank you for all the suggestions

keep'em comming icon_biggrin.gif
ramprage
In your httpd.conf do you have this line?



AddModule mod_userdir.c
saver0
Yup I have that

# [WHENEVER YOU CHANGE THE LOADMODULE SECTION ABOVE UPDATE THIS, TOO]
ClearModuleList
AddModule mod_env.c
AddModule mod_log_config.c
AddModule mod_mime.c
AddModule mod_negotiation.c
AddModule mod_status.c
AddModule mod_include.c
AddModule mod_autoindex.c
AddModule mod_dir.c
AddModule mod_cgi.c
AddModule mod_asis.c
AddModule mod_imap.c
AddModule mod_actions.c
AddModule mod_userdir.c
AddModule mod_alias.c
AddModule mod_rewrite.c
AddModule mod_access.c
AddModule mod_auth.c
AddModule mod_so.c
AddModule mod_setenvif.c

AddModule mod_ssl.c

AddModule mod_frontpage.c
AddModule mod_php4.c
AddModule mod_bwlimited.c
AddModule mod_log_bytes.c
AddModule mod_bwprotect.


This segemnt is also in my httpd.conf... Is this correct:

UserDir public_html
Triden
There is an option when you compile apache to turn user directory bandwidt leeching or soemthing...may wanna run easy apache and amke sure that option isnt selected.
rainbows
friend,.. I ever got this problem also . ;-)

mod_bwprotect will prevent user to access across domain.

Solution:
disable this module by just remove mod_bwprotect from your httpd.conf

change : LoadModule bwprotect_module libexec/mod_bwprotect.so
to: #LoadModule bwprotect_module libexec/mod_bwprotect.so

And

change : AddModule mod_bwprotect.c
to : #AddModule mod_bwprotect.c

then : service httpd restart

Now, it should work..


icon_biggrin.gif icon_biggrin.gif
saver0
You are the man rainbows icon_biggrin.gif

Now it works thanks everyone especially Rainbows
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.