The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mod_UserDir Links

Discussion in 'General Discussion' started by MarkJ321, Feb 28, 2011.

  1. MarkJ321

    MarkJ321 Registered

    Joined:
    Feb 28, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I have a user who only wants to access their website via https://subdomain.domain.com/~username/ because they want to use shared SSL. They have installed an application but all the links in the applications are formatted as https://subdomain.domain.com/ missing out the "~username". So when these links are clicked you are taken to a 404 page. Is there anything I can do to make the application work under mod_userdir?

    Thanks
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    They should not hard code the paths to use the subdomain name at all and only use relative paths for the pages. If they switch to relative paths, it should work.

    Of note, because the application wasn't noted (whether self-coded or a third-party product), it's hard to know how it would be handled in that set application to correct to relative paths. If this is something like a shopping cart such as OSCommerce, they would likely be better off asking over at the support forum or support options for that product.
     
Loading...

Share This Page