Hi,
I have running a zenphoto installation in a directory on my server. The url to the installation is something like www.abc.de/xyz/index.php
Furthermore I have domain www.uvw.de pointing to www.abc.de/xyz
I configured webpath to an empty string and everything works fine except that the images can be shown.
The details: On the album page the links go to
http://www.uvw.de/index.php?album=test&image=IMGP3710.jpg but when I visit the link this url is resolved to
http://www.abc.de/xyz/index.php?album=test&image=IMGP3710.jpg on which I can see some text but no image and no css. The path of the image that is not displayed is set to
http://web.abc.de/cache/test/IMGP3710_595.jpg So how do I have to configure my installation?
Best regards
odif
Comments
I have running a zenphoto installation in a directory on my server. The url to the installation is something like www.abc.de/xyz/index.php
Furthermore I have domain www.uvw.de pointing to www.abc.de/xyz
I configured webpath to an empty string and everything works fine except that the images can be shown.
The details: On the album page the links go to http://www.uvw.de/index.php?album=test&image=IMGP3710.jpg but when I visit the link this url is resolved to http://www.abc.de/xyz/index.php?album=test&image=IMGP3710.jpg on which I can see some text but no image and no css. The path of the image that is not displayed is set to http://web.abc.de/cache/test/IMGP3710_595.jpg
So how do I have to configure my installation?
Best regards
odif
You should try to point both domains to the same folder. Otherwise you confuse Zenphoto that assumes a rewrite base that is either `/`or `/xyz`. Using both is not possible to my knowledge.
If you want two domains pointing to the same gallery, turn off mod_rewrite.
The links on the album pages link to a uvw domain but they get resolved to the abc subdomain. Just give it a try on: Click on any picture on christof.doll.de.com/index.php?album=munchen-amp-umgebung%2Fu-bahnhoefe and see the domain changing. Can I change this behaviour?
Best regards
odif
Do a web search on htaccess domain redirection and search engines/duplicated content.