Solved

Install & set-up in win95 PWS

Posted on 1997-08-26
6
174 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 7

Expert Comment

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

Author Comment

by:mgfranz
Comment Utility
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
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
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…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

762 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now