cPanel v66 Apache mod_userdir Bug

  • Friday, 25th August, 2017
  • 08:32am
cPanel was pushed to 'Release' version this week and as such all servers set to automatically update were updated.  

Yesterday we had five clients report the same issue to us.  The first client had us scratching our heads but by the second, third, fourth and fifth report we clearly knew that cPanel update had broken something.  These specific clients were all Managed Server Clients (mainly web development studios) who had Apache mod_userdir Tweak set to allow their clients to view websites in development using the server IP and the account User Name.  This was broken.  A search on the cPanel forums yesterday did not yield any results so this indicated perhaps this was a new issue only coming to light after the software update.

We reached out to cPanel and they confirmed this was a known bug in v66.  Here is a copy of the communication from cPanel. We'll apply the workaround to any client who requests it just pop a support ticket in.

Response from cPanel

Currently mod_userdir is not working with the default .htaccess optimzation setting for Apache which is "search /home directory and below." The current workaround for this issue is to set the .htaccess optimization search path to "/ and below" via 'WHM -> Service Configuration -> Apache Configuration -> Global Configuration.'

I have gone ahead and done this for you and the "http://87.xxx.xxx.xx/~hxxxxxxxxxfs/2017/08/23/hello-world/" URL is now loading.

We are tracking this issue in internal case CPANEL-15459, unfortunately I don't have an exact timeline on when this issue will be resolved but you can check our changelog for mention of case CPANEL-15459 and then update to the latest version of cPanel to bring in that fix:

https://documentation.cpanel.net/display/CL/66+Change+Log

« Back