Lee wrote, on Sunday, December 17, 2000 12:23
: Setting up PWS on Win98 with ASPerl56.
: I've read the AS docs, and have successfully done this before. 
: 
: I created :
: 
: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parame
: ters\Script Map
: 
: and filled it with the path to perl plus %s %s so that in 
: regedit it looks like:
: 
:       "c:\perl\bin\perl.exe %s %s"
: 
: But on trying to execute 
: <print"content-type:text/html\n\nhi\n\n";> I get nothing.

First, if you install ASPerl after PWS, you shouldn't have to
do anything manually in the registry. If nothing else I suggest
works, uninstall Perl & reinstall it--then try the other suggestions
again.

Your "hi" isn't inside <html><body>..</body></html> tags. On the
other hand, you could try text/plain instead of text/html.

I also capitalize "Content-type".

It also can't hurt to check the registry & try putting double
quotes around each %s (in case either has embedded spaces).
If you have to escape the quotes, use double double quotes,
not backslash.

Good luck.

Joe

==============================================================
          Joseph P. Discenza, Sr. Programmer/Analyst
               mailto:[EMAIL PROTECTED]
 
          Carleton Inc.   http://www.carletoninc.com
          219.243.6040 ext. 300    fax: 219.243.6060
 
Providing Financial Solutions and Compliance for over 30 Years

_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to