Solved

web server configuration on win95

Posted on 1997-07-23
1
176 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction:   Welcome to my first article ever. To begin with, the reason I write this article.  I participated in a question on Experts Exchange about the start command in Windows and there were some discussion about the usage. The discussio…
In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…

929 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

16 Experts available now in Live!

Get 1:1 Help Now