Hi, I try to setup the UserDir cgi-bin to work for each user under my apache 2.0 and still not working, here is what i have done:
- under httpd.conf file <IfModule mod_userdir.c> UserDir public_html </IfModule> <Directory /home/*/public_html/cgi-bin> Options ExecCGI SetHandler cgi-script </Directory> and i create the hello.pl script and works when run from command line but not from web browser, and got the following error: Premature end of script headers:example.pl #!/usr/bin/perl -wT print "Content-type: text/html\n\n"; print "Hello World!\n"; Thanks for any help! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>