[Thread Prev][Thread Next][Index]
SERVER_NAME ?
Hi!
I installed Las6 on a Redhat8-box at http://maud.cims.nyu.edu:8080/las/servlets/dataset . When I plotted some test figures the URLs of gifs is broken like http:_default_:80/eee.gif. In LAS/Server.pm module subroutine genHTML I replaced:
# my @imageUrls = map {
# "http://" . $ENV{SERVER_NAME} . ":" . $ENV{SERVER_PORT} .
# $loc . basename($_) } @{$files};
my @imageUrls = map {
"http://maud.cims.nyu.edu:" . $ENV{SERVER_PORT} .
$loc . basename($_) } @{$files};
Any ideas why my system can't figure out the SERVER_NAME variable ? In httpd.conf I have:
ServerName maud.cims.nyu.edu
Thank you for your help.
Petteri
--
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement