I am using Drupal 6, Image, Acidfree Albums, URL rewrite, and Clean URLs. Regardless, using just Drupal base with Image enabled, when viewing image nodes, the
tag includes the server name. I'm not sure this should ever be the case, but in the least, it should be configurable. For example:
The server 'cerberus.fa.umt.edu' is not accessible via the web, as this server is behind a reverse proxy. I have configured settings.php properly to use this reverse proxy, but no matter the local server name keeps getting injected. I can change settings.php and give a base_url = 'http:///art'; and get it to work from that context, but I also want the site locally accessible on the internal side of the reverse proxy without having to rewrite every link throughout the site or constantly change the server name in base_url. There is no good reason to inject the server name since this is a local, relative link.
Any suggestions?
Comments
Comment #1
voodoodrul commentedPost stripped the page source example. Here it is:
Comment #2
voodoodrul commentedOkay, so the initial post has been butchered:
I am using Drupal 6, Image, Acidfree Albums, URL rewrite, and Clean URLs. Regardless, using just Drupal base with Image enabled, when viewing image nodes, the tag includes the server name. I'm not sure this should ever be the case, but in the least, it should be configurable. For example:
The server 'cerberus.fa.umt.edu' is not accessible via the web, as this server is behind a reverse proxy. I have configured settings.php properly to use this reverse proxy, but no matter the local server name keeps getting injected. I can change settings.php and give a
base_url = 'http://server/art';and get it to work from that context, but I also want the site locally accessible on the internal side of the reverse proxy without having to rewrite every link throughout the site or constantly change the server name in base_url. There is no good reason to inject the server name since this is a local, relative link.Any suggestions?
Comment #3
joachim commentedI think this was done so RSS feeds would work.
Comment #4
sunSorry, without further information this issue can only be marked as works as designed.
Feel free to re-open this issue if you want to provide further information. Thanks.