Solved

web server configuration on win95

Posted on 1997-07-23
1
175 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
Comment Utility
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…

744 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

10 Experts available now in Live!

Get 1:1 Help Now