Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

web server configuration on win95

Posted on 1997-07-23
1
Medium Priority
?
190 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 100 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

If you get a (Blue Screen of Death), your system writes a small file called a minidump. Your first step is to make certain your computer is setup to record memory dumps. Right click My Computer, choose properties. Click on the advanced tab, an…
Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Suggested Courses

927 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