Hum..

On my computer, exact same configuration (Apache, mySQL, Perl) I open IE and go to
http://localhost/cgi-bin/perltest.pl and it works.

404 error is file not found, so this is strange..

it's probably in your httpd.conf file
you should have a line stating:

ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache/cgi-bin/"

(or your path to cgi-bin)

Then you have right under that:

<Directory "C:/Program Files/Apache Group/Apache/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>

this is usually located right before the </IfModule> tag

Maybe that's the reason

Etienne

"Richard S. Crawford" wrote:

> Done... but is there then a way to get to the script directly, so that I
> can browse to http://localhost/cgi-bin/perltest.pl ?  I get a 404 error
> when I try..
>
> At 09:54 AM 10/24/2001, Etienne Marcotte wrote:
> >You need to put the pl file in /cgi-bin/
> >
> >Etienne
> >
> >"Richard S. Crawford" wrote:
> >
> > > I do indeed:
> > >
> > > #! c:/Perl/bin/Perl.exe -w
> > >
> > > Unfortunately, the output I get when I browse to
> > > http://localhost/perltest.pl or http://localhost/perltest.cgi is simply the
> > > text of the script itself, formatted like a text page.
> > >
> > > At 09:20 AM 10/24/2001, Etienne Marcotte wrote:
> > > >Humm
> > > >
> > > >do you have the full path in the shebang line?
> > > >
> > > >Etienne
> > > >
> > > >"Richard S. Crawford" wrote:
> > > >
> > > > > I've got Apache running on this Win2K box, as well as MySQL.  I can
> > make
> > > > > PHP talk to MySQL, and I've managed to get Tomcat up and running and
> > > > > talking to Apache as well, but I seem to be at a loss when getting
> > Perl to
> > > > > talk to Apache.  Any help would be most appreciated.
> > > > >
> > > > > Sliante,
> > > > > Richard S. Crawford
> > > > >
> > > > > http://www.mossroot.com
> > > > > mailto:[EMAIL PROTECTED]
> > > > > AIM: Buffalo2K   ICQ: 11646404  Y!: rscrawford
> > > > > "It is only with the heart that we see rightly; what is essential is
> > > > > invisible to the eye."  --Antoine de Saint Exupéry
> > > > >
> > > > > "Push the button, Max!"
> > > > >
> > > > > --
> > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > > Sliante,
> > > Richard S. Crawford
> > >
> > > http://www.mossroot.com
> > > mailto:[EMAIL PROTECTED]
> > > AIM: Buffalo2K   ICQ: 11646404  Y!: rscrawford
> > > "It is only with the heart that we see rightly; what is essential is
> > > invisible to the eye."  --Antoine de Saint Exupéry
> > >
> > > "Push the button, Max!"
>
> Sliante,
> Richard S. Crawford
>
> http://www.mossroot.com
> mailto:[EMAIL PROTECTED]
> AIM: Buffalo2K   ICQ: 11646404  Y!: rscrawford
> "It is only with the heart that we see rightly; what is essential is
> invisible to the eye."  --Antoine de Saint Exupéry
>
> "Push the button, Max!"
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

S/MIME Cryptographic Signature

Reply via email to