httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter" <pgog...@optusnet.com.au>
Subject Re: Setting up Apache for CGI programs on windows 98
Date Tue, 16 Apr 2002 14:00:46 GMT
I reset the Apache config file to have localhost as the ServerName. This
allows me to get the proper page by entering http://localhost/.

I still have the problem that the browser asks if I want to download the CGI
program.

Regards

Peter Goggin
----- Original Message -----
From: "Owen Boyle" <obo@bourse.ch>
To: <users@httpd.apache.org>
Sent: Tuesday, April 16, 2002 11:55 PM
Subject: Re: Setting up Apache for CGI programs on windows 98


> > Peter wrote:
> >
> > I am trying to configure apache to run on Windows98 so that I can
> > develop a Web site with forms using CGI programs.
> > I have followed the instruction in the web site
> > http//www.visca.com/clueless/perl_apache_win9x.htlm which provides a
> > tutorial on installing Active Perl and Apache 1.3
> >
> > I can start the Apache server and can run perl programs
> >
> > However from Internet Explore entering localhost fails  It cannot find
> > the index page in the designated directory.
>
> The HOWTO page you are referring to tells you to do a trick whereby you
> set up your server to respond to www.mydomain.com and then you hack your
> hosts file so that this maps to 127.0.0.1. Did you do this?
>
> Personally, I wouldn't mess around with your localhost definition. It's
> better to point your apache server at localhost directly. In other
> words,
>
> ServerName localhost
>
> then restart apache
>
> >
> > I can get the page up by specifically entering the directory path.
> > When the form is submitted it tries to down load the CGI program
> > rather than run it.
>
> This is just file lookup in the browser - not using the server at all.
>
> Rgds,
>
> owen Boyle.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.338 / Virus Database: 189 - Release Date: 15/03/02


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message