Server seems not to be Apache or Apache-compatible, skipping .htaccess test

I'm installing ZP for the first time and getting the following warning during the install.

"Server seems not to be Apache or Apache-compatible, skipping .htaccess test"

The server is running Apache version 1.3.41 (Unix)

I have tried using a blank .htaccess file and one with some content but get the same result.

I would like to use the Apache mod_rewrite functionality for simple URLs so i assume i need this working.

Any help would be much appreciated.

Comments

  • Your server seems not to be identifying itself.

    There is code in setup.php circa line 546 that checks this.
    ` if (!stristr($_SERVER['SERVER_SOFTWARE'], "apache") && !stristr($_SERVER['SERVER_SOFTWARE'], "litespeed")) {

    checkMark(-1, gettext("Server seems not to be Apache or Apache-compatible, skipping .htaccess test"), "", "");

    } else {`

    You can change the if statement to `if (false) {` and setup will process the .htaccess file. Alternatively, you can manually edit the file and set mod_rewrite in the admin gallery options tab.
  • egret Member
    I changed the "if" statement as suggested and the install worked well. Thank you
Sign In or Register to comment.