.htaccess problem on Apache + FrontPage Server Ext

stefanaalten
stefanaalten's picture

Joined: 2004-08-23
Posts: 67
Posted: Tue, 2005-04-26 13:49

I've been having problems with my Gallery installation. Please see thread "Mystery of disappearing nested albums".

I just came across this at my web host's FAQ:

Quote:
"The .htaccess files generated by Microsoft FrontPage are not compatible with the basic .htaccess files normally created for Apache servers. Installing FrontPage Extensions allows your portion of the server space to be compatible with Microsoft .htaccess files and not Apache .htaccess files. The server will not operate properly if you have both Microsoft and Apache .htaccess files installed for the same domain name."

That would probably explain why I can't see my gallery as I had to create a blank .htaccess in the albums folder.

What is the solution? Moving hosts or changing gallery software would be the proverbial sledgehammer solutions which I would rather not consider!

In anticipation...

Thanks,
Stefan

----
The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): www.aaltenvoogd.com (Pictures)
Gallery version: 1.4.4
Apache version: 1.3.33
PHP version (don't just say PHP 4, please): 4.3.10
Graphics Toolkit: NetPBM
Operating system: Windows XP
Web browser/version (if applicable): IE6

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Tue, 2005-04-26 16:39

Well, Gallery needs the .htaccess files. Mixing Frontpage extensions and PHP seems like a bad idea to me anyway, so I would remove the frontpage stuff.

 
stefanaalten
stefanaalten's picture

Joined: 2004-08-23
Posts: 67
Posted: Tue, 2005-04-26 18:05

Not sure if it is to do with the .htaccess files after all. My web host enabled PHP error reporting, and now I can see this when I try to access an album:

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ']' in /home/u3/stefan/html/gallery/view_album.php on line 192

Hmmm... can you make sense of that error?

:o

I'd be really grateful for help to get this sorted.

Thanks,
Stefan

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Tue, 2005-04-26 18:14

stefanaalten, that has nothing to do with .htaccess. Replace your gallery/view_album.php with the original one, something is wrong with your copy.

 
stefanaalten
stefanaalten's picture

Joined: 2004-08-23
Posts: 67
Posted: Tue, 2005-04-26 18:23

So bloody obvious it was staring me in the face but I couldn't see it myself.

Thanks!

:D

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Tue, 2005-04-26 18:40

stefanaalten, oh well, thats why we are here I guess. :-)