Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

mod_userdir disabled on shared ssl

Discussion in 'General Discussion' started by Brian Farkas, Dec 30, 2003.

  1. Brian Farkas

    Brian Farkas Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    306
    Hi,
    It appears that somehow mod_userdir got disabled on our secure server, as attempting to access an account in the form of https://secure.intersurge.com/~username/ yields this error:

    ---
    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.
    ---

    Does anyone have any advice as to how one would re-enable this? Thanks a lot for your help!

    Brian Farkas
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Devil Inside

    Devil Inside Well-Known Member

    Joined:
    Apr 4, 2003
    Messages:
    277
    Likes Received:
    0
    Trophy Points:
    166
    in WHM

    click Tweak Security near the top at the left.

    Then Mod_Userdir

    then you should be able to just click the check box for that domain.
     
  3. Brian Farkas

    Brian Farkas Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    306
    Thanks for your reply - unfortunately, however, even after doing that the error is still occurring. Any other suggestions?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Devil Inside

    Devil Inside Well-Known Member

    Joined:
    Apr 4, 2003
    Messages:
    277
    Likes Received:
    0
    Trophy Points:
    166
    I'm assuming you tried turning it off too?


    other than that - I can't think of anything else right away...I'm an advanced newbie :rolleyes:
     
  5. Brian Farkas

    Brian Farkas Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    81
    Likes Received:
    0
    Trophy Points:
    306
    Thanks anyway for your help.. FYI, for anyone else that runs into this problem, I was able to locate a solution.

    Simply comment out these lines in httpd.conf:
    LoadModule bwprotect_module libexec/mod_bwprotect.so
    And
    AddModule mod_bwprotect.c

    mod_bwprotect is there to prevent people from stealing bandwidth from www.clientdomain.com/~otherclient/, but mod_userdir already takes care of this (and allows shared ssl certs)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice