Solved

Install & set-up in win95 PWS

Posted on 1997-08-26
6
204 Views
Last Modified: 2008-03-06
I installed perl 5 build 307 to my Personel Web Server, my perl scripts run fine from the command line, but when trying to run from .htm I get the error "HTTP/1.0 404 Object Not Found", what gives?
0
Comment
Question by:mgfranz
  • 3
  • 3
6 Comments
 
LVL 7

Accepted Solution

by:
faster earned 50 total points
ID: 1205760
First, your scripts must be in a directory that has the execute access, you do this by config the PWS.  Next, you should check your registry, under the key "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3Svc\Parameters\Script Map", there should be a value associate ".pl" (or other extension you choose) with "perl.exe %s" or "PerlIS.dll" (the former is better but the latter is faster).

If all these is correct, make sure the url in the html is correct, it should point to "http://127.0.0.1/yourpath/somename.pl".

Hope this help.
0
 
LVL 18

Author Comment

by:mgfranz
ID: 1205761
My cgi-bin directory has world read/execute access, added the .pl extensions to my registry as you suggested, and reset the default script parameters to <default>, now I am asked where I want to save the .pl file...(?)
0
 
LVL 18

Author Comment

by:mgfranz
ID: 1205762
I made a cardinal error... forgot to stop and restart the PWS... once I did this every thing works fine, shoulda remembered this from my UNIX days.
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 7

Expert Comment

by:faster
ID: 1205763
Normally you should not assign read to cgi-bin directory.
0
 
LVL 18

Author Comment

by:mgfranz
ID: 1205764
I know, I'm still off line for now, once I get ready to go on line, all permissions will be reset.

Has anyone been able to get FormMail to work with Blat on a PWS?

Thanks,
0
 
LVL 7

Expert Comment

by:faster
ID: 1205765
Yes, I tried blat and it works fine.  But I wrote my own cgi to sendmail because blat has a lot functions (such as attachment) that I don't need which cause some overhead (temporary file)
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
read PayflowPro reports using the report metadata using perl 11 43
perl script help 12 105
Perl Sort Question 4 141
XPath Syntax help in conjunction with perl XML::LibXML 18 120
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
A year or so back I was asked to have a play with MongoDB; within half an hour I had downloaded (http://www.mongodb.org/downloads),  installed and started the daemon, and had a console window open. After an hour or two of playing at the command …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question