.htaccess problem on Apache + FrontPage Server Ext
stefanaalten
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, ---- |
|
Posts: 13451
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.
Posts: 67
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
Posts: 13451
stefanaalten, that has nothing to do with .htaccess. Replace your gallery/view_album.php with the original one, something is wrong with your copy.
Posts: 67
So bloody obvious it was staring me in the face but I couldn't see it myself.
Thanks!
:D
Posts: 13451
stefanaalten, oh well, thats why we are here I guess.