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!

.htaccess: Regex could not be compiled

Discussion in 'General Discussion' started by IdleServ, Nov 10, 2004.

  1. IdleServ

    IdleServ Well-Known Member

    Joined:
    Oct 27, 2003
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    156
    Hi,

    Yesterday I updated Apache to 1.3.33 and PHP to 4.3.9 with easy apache.

    Since then a customer's Rewrite rules have stopped working from the .htaccess file.

    This is the error message in the error log

    .htaccess: Regex could not be compiled

    I have tried rebuilding with this and that being enabled or disabled but it just wont fix.

    Running Red Hat 9 - cPanel 9.9.8-R89


    Gladly appreciate any help.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,470
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Could be that a directive has been deprecated with the new versions. What are the contents of the .htaccess file?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. IdleServ

    IdleServ Well-Known Member

    Joined:
    Oct 27, 2003
    Messages:
    48
    Likes Received:
    0
    Trophy Points:
    156
    I fixed it now thanks.

    It was a <Files> directive. THe user was using a * so I changed it to a \
     
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