Hi all. I am relatively new to mod perl. I have a script that works using the following: my $dm = $s->server_hostname; But in my normal perl scripts I am now using the HTTP_HOST value.. I tried this: my $env = $r->subprocess_env; %ENV = %$env; my $dm = $ENV{'HTTP_HOST'}; without any luck. Is it possible to get to the HTTP_HOST value in mod_perl? If I need to send my complete code just e-mail me and let me know.. Thanks! Justin == Justin C. Rains, President WSI.com Consulting _____________________________________________________________ Get your own FREE branded portal! Visit www.wsicnslt.com to learn more