Skip to main content

Mod_Userdir Error

Comments

6 comments

  • 123Host
    Apparently there is some sort of bug. My data centre tells me that it is happening on a wide range of servers and they can't solve it right now. They are contacting cpanel about it. My experience is that it is only happening with WordPress sites using the it works
    0
  • cPanelMichael
    When i try acess Ip/~user/infophp.php i get error : "Not Supported"

    Hello, The "Not Supported" message will occur when using the "CGI" handler with Apache Mod_Userdir. You will need to use another handler (e.g. suphp) if you want to utilize Apache Mod_Userdir. Documentation on selecting PHP handlers with EasyApache 4 is available at:
    The following document provides more information on suPHP, including the recommended file permissions:
    0
  • Kent Brockman
    So, if the production server runs PHP on cgi mode, it will never be able to show temporary URLs using the IP? Isn't there any workaround to it?
    0
  • cPanelMichael
    So, if the production server runs PHP on cgi mode, it will never be able to show temporary URLs using the IP? Isn't there any workaround to it?

    That's correct. It's a change that stems from the following case implemented in cPanel version 58: [security] Fixed case SEC-142: Code execution as other user accounts through the PHP CGI handler. Long term, the plan is to replace Apache Mod_Userdir's "website preview" functionality with a more secure solution. Thank you.
    0
  • Kent Brockman
    Long term, the plan is to replace Apache Mod_Userdir's "website preview" functionality with a more secure solution.

    Long term? How many time would long term be? Users need temporary URLs, specially when it comes to web designers using reseller packages. Should I open a Feature Request for this?
    0
  • cPanelMichael
    Hello @Kent Brockman, There's no time frame to provide at this time, as it's still in the early phases of discussion. Yes, please open a feature request and let us know the URL once it's approved. I'll make sure it's linked to the existing internal case. We've also added a new entry to the Apache FAQ document regarding this behavior: Apache FAQ - Documentation - cPanel Documentation Thank you.
    0

Please sign in to leave a comment.