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.

SetHandler Error

Discussion in 'General Discussion' started by uneedawebsite, Nov 22, 2007.

  1. uneedawebsite

    uneedawebsite Active Member

    Joined:
    Apr 14, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    I have a domain which is running Dewlinks (links database) and since we upgraded to:

    Server Version: Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.7a DAV/2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_auth_passthrough/2.1

    it stopped working correctly.

    The script depends on being able to do a SetHandler for the file 'directory'.

    .htaccess looks like this:

    Code:
    <Files directory>
    SetHandler application/x-httpd-php
    </Files>
    
    It worked fine under Apache 1 but now we are on Apache 2, we get a 404 File Not Found error instead of the links directory.

    The URL is http://walkers.org/dewlinks

    Can anyone shed some light on this?
     
    #1 uneedawebsite, Nov 22, 2007
    Last edited: Nov 22, 2007
  2. uneedawebsite

    uneedawebsite Active Member

    Joined:
    Apr 14, 2003
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    With the help of CPanel support, I found the solution.

    The handler must be:

    SetHandler application/x-httpd-php5
     
Loading...

Share This Page