[Thread Prev][Thread Next][Index]

Re: hard-coded url in final image



This is an Apache configuration problem. LAS uses the CGI environment variable SERVER_NAME to set the hostname part of the URL, and I believe that you can set what this will be in the Apache configuration file. Not sure exactly what this is, but isn't there a ServerName directive in Apache?

At 02:35 PM 10/15/2002 -0400, Charlton Purvis wrote:
Hi there:

LAS 6.0.

Is there any way to get around having the real machine_name.domain_name
appear on the Output image page?

<img border="0"
src="http://aaa.bbb.ccc.ddd:80/las-output/600f9dedae6fdbabae86222a08fcb4
2d.gif">

Our LAS server has a registered alias, say alias.org, and I'd prefer the
alias to be the only interface the user made w/ our box.

So I'd like the above image source to read:

<img border="0"
src="http://alias.org:80/las-output/600f9dedae6fdbabae86222a08fcb42d.gif";>

I have made the appropriate rewrite changes in the httpd.conf to take
care of url redirection, but I cannot force LAS to use the machine's
alias.

I put our alias as the full domain name during ./configure, but I still
get the real machine's name on the Output page.

Thanks,

Charlton Purvis



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement