my $docroot = $ENV{DOCUMENT_ROOT}; my $grafik_pfad = '/srv/www/htdocs/gif/meinegrafik'; my $javascript_pfad = '/srv/www/htdocs/javascrip.js'; my $grafik_url = $grafik_pfad; $grafik_url =~ s/$docroot//; my $javascript_url = $javascript_pfad; $javascript_url =~ s/$docroot//;