ForceType on PHP as CGI not working

Discussion in 'Apache' started by Camay123, May 17, 2008.

  1. #1
    I have a site which use ForceType to make clean urls.

    However, I have tried the site on a different host, and ForceType seems to fail and gives me 404 errors.

    After a few google search, my limited knowledge to gather that the problem is that ForceType is not allowed when PHP is being run as CGI

    Could that be it ?

    any workaround ? or am I completly off the track ?
     
    Camay123, May 17, 2008 IP
  2. Trusted Writer

    Trusted Writer Banned

    Messages:
    1,370
    Likes Received:
    52
    Best Answers:
    0
    Trophy Points:
    160
    #2
    If your host supports PHP 5 it is commonly setup to run as CGI so first please let us know which PHP version is the server running.
     
    Trusted Writer, May 17, 2008 IP
  3. Camay123

    Camay123 Well-Known Member

    Messages:
    3,423
    Likes Received:
    86
    Best Answers:
    0
    Trophy Points:
    160
    #3
    PHP4 and PHP5 are both on server
     
    Camay123, May 17, 2008 IP
  4. Camay123

    Camay123 Well-Known Member

    Messages:
    3,423
    Likes Received:
    86
    Best Answers:
    0
    Trophy Points:
    160
    #4
    I have changed ForceType to SetHandler and it worked.
     
    Camay123, May 17, 2008 IP