I got Apache 2/Gallery working!

alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Sun, 2002-10-06 15:49

I think I've found a way to get gallery working with Apache 2. All I did was in index.php, at the very end, I changed this:

} else {
include("albums.php");
}

to include a line specifying $GALLERY_BASEDIR

} else {
$GALLERY_BASEDIR=getcwd()."/";
include("albums.php");
}

This seems to fix my earlier problem (see my post on "Weird config problem") Is this a viable workaround/fix?

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Sun, 2002-10-06 15:54

Sorry, you have to add this to init.php for everything to work...