Solved

web server configuration on win95

Posted on 1997-07-23
1
180 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Redirecting an Outlook attachment to a specific folder? 3 77
exchange ,script 10 70
PowerShell logging 1 33
using VBS script to log into internal website 6 43
Batch, VBS, and scripts in general are incredibly useful for repetitive tasks.  Some tasks can take a while to complete and it can be annoying to check back only to discover that your script finished 5 minutes ago.  Some scripts may complete nearly …
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

739 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