Member
Member
egret   2008-07-04, 01:09
#1

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.

Member
Member
sbillard   2008-07-04, 01:51
#2

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 [code].htaccess[/code] 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.

Member
Member
egret   2008-07-04, 03:06
#3

I changed the "if" statement as suggested and the install worked well. Thank you

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.