Hi,
I've upgraded from ZenPhoto 1.0.1 to ZP 1.0.2 yesterday. I've read in the changelog that the issues with subdomains were resolved so I thought that this new version of ZP would work pretty fine on my web site. Unfortunately, there are still some troubles.
You can have a look at my web site. With this URL ZP works really fine :
http://www.edern-appere.net/phototheque/But if you try this one :
http://phototheque.edern-appere.net/there are some issues.
There's a progression from the previous version of ZP. Before, it would only show the gallery without any CSS style. Now the styles are here but none of the thumbnails appears and if I hit any link on the page I get a 500 internal server error.
Anyone has an idea about what should I do to repair this ? Is there some line I have to change in the config.php file or in the .htaccess file ?
My website is running on a Apache web server with GD library, etc.
Thanks for your help !
Comments
One of the limitations with subdomain installs using mod_rewrite is that you must choose between a folder and a subdomain access. You can have one, but not both.
To fix it, just make your .htaccess say `RewriteBase /` for the subdomain to work.
If you absolutely must access both, you can turn the mod_rewrite option off in config.php.
I think it actually makes sense this way, since that path actually doesn't exist in the subdomain ;-)
Someday I'll find out how to get rid of this RewriteBase stuff once and for all...
Thanks so much for your answer. Now my Zen Photo installation works fine with the subdomain.
I only want one access to ZenPhoto, the subdomain access, so the solution you gave is just exactly what I needed.
I understand that it is not necesseraly possible to make both access work equaly.
I'm sorry to have bothered you with this issue because in fact it was only due to my lack of understanding of how ZP works.
Thanks :-)