Solved

web server configuration on win95

Posted on 1997-07-23
1
177 Views
Last Modified: 2013-12-25
I have downloaded MS personal web server to my win95 pc, first how to make the CGI work? i have create the form in html and write perl scripts and download perl library for that form(in fact i just download from CGI tutorial site with minimal changes), and also I go thru my computer->hard drive C->www directory->cgi-bin directory and change its sharing and web-sharing to readable  and scripts executable. but broswer still reports HTTpd 1.0 500 server error. I think above sharing way maynot work, but all the
CGI tutorial said use 'chmod 755.." command to make it work, well this is for unix, not for win95 on a PC.
 second, i am worrying about security. when i use the web server administration to set stuffs it goes thru all my hard disk's  directory, so how to prevent outside users do the same thing? I mean if they put some executable command thru www browsing then it's possible for them work with my whole hard drive.(for example, if they can activate the server administrator?)
0
Comment
Question by:wini072297
1 Comment
 
LVL 7

Accepted Solution

by:
faster earned 50 total points
ID: 1829363
First, check whether your perl is installed correctly by running it with command line.

If that is OK, check your web server config.  The cgi directory need only execute right.  Make sure all the virtual directory mapping are correct.  Then use regedit.exe to check the following key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3Svc\Parameters\Script Map

This key contain the mapping, sometimes you need to add a value "c:\perl5\bin\perl.exe %s" (use the correct path on your machine) with the name ".pl".  It is probably associated with "PerlS.dll", but sometimes it does not work (don't ask me, I don't either), you can delete this entry or rename the ".pl" to whatever you like.

I have installed perl and personal web server on four PCs this way, so you should succeed.  As to security, the good news is that when someone else (on another IP address) try to execute the admin page, he will be prompted for password so normally he cannot access it.  But if it is really important to you, maybe you need to consider using NT and information server, they will provide better security.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo‚Ķ
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

773 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