Broken image with "WWW" in URL, but works when left out of url... HELP
|
jblambertson
Joined: 2008-06-03
Posts: 1 |
Posted: Wed, 2008-06-04 03:05
|
|
I'm experiencing broken images in my Joomla page view of G2, when I use the WWW extenstion in my URL (example: http://www.mysitename.com/gallery). However, when I exclude the www extension (i.e. http://mysitename.com/gallery), the images appear perfectly! I'm guessing that there is some obvious setting to resolve, but don't know where to look... Any suggestions? Last Run Details: Gallery version = 2.2.4 core 1.2.0.6 |
|

Posts: 4342
In general Gallery's only really intended to use one hostname - either with, or without www (strictly they should resolve to different webservers, it's slack 'default' DNS configs by ISPs that give people cause to assume they're supposed to be the same thing). Mixing hostnames can confuse the url-rewrite module (try with it disabled then renenabling it if you're using it) and also there can be problems with credentials (cookies that point to your sessionId will be valid for one hostname but not the other). That's aside from any Joomla/Gallery interation problems arising from two hostnames.
Another way around the problem is to set up your DNS so that the form you don't want to use is given it a CNAME record pointing to the one you do.