Hi, I checked apache environment variables using cgi script. env-test.pl ============ #!/usr/bin/perl print "Content-type: text/html\n\n"; foreach $key(keys %ENV) { print "$key --> $ENV{$key}<br>"; } http://localhost/cgi-bin/env-test.pl ------------------------------------------------- GEOIP_COUNTRY_CODE --> -- SCRIPT_NAME --> /cgi-bin/env-test.pl SERVER_NAME --> localhost GEOIP_COUNTRY_NAME --> N/A SERVER_ADMIN --> root@localhost HTTP_ACCEPT_ENCODING --> gzip,deflate HTTP_CONNECTION --> keep-alive REQUEST_METHOD --> GET HTTP_ACCEPT --> text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 SCRIPT_FILENAME --> /var/www/cgi-bin/env-test.pl SERVER_SOFTWARE --> Apache/2.2.0 (Fedora) HTTP_ACCEPT_CHARSET --> Shift_JIS,utf-8;q=0.7,*;q=0.7 QUERY_STRING --> REMOTE_PORT --> 37747 HTTP_USER_AGENT --> Mozilla/5.0 (X11; U; Linux i686; ja; rv:1.8.1.5) Gecko/20070718 Fedora/2.0.0.5-1.fc7 Firefox/2.0.0.5 SERVER_PORT --> 80 SERVER_SIGNATURE --> Apache/2.2.0 (Fedora) Server at localhost Port 80 HTTP_ACCEPT_LANGUAGE --> ja,en-us;q=0.7,en;q=0.3 REMOTE_ADDR --> 127.0.0.1 HTTP_KEEP_ALIVE --> 300 SERVER_PROTOCOL --> HTTP/1.1 PATH --> /sbin:/usr/sbin:/bin:/usr/bin REQUEST_URI --> /cgi-bin/env-test.pl GATEWAY_INTERFACE --> CGI/1.1 SERVER_ADDR --> 127.0.0.1 DOCUMENT_ROOT --> /var/www/html HTTP_HOST --> localhost UNIQUE_ID --> PBC@8MCoACAAAA5tFjwAAAAC ---------------------------------------------------- SERVER_SOFTWARE shows: Apache/2.2.0 (Fedora) I'm completely confusing now. -- Zen --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx