Newbie question - Apache can't find cgi-bin

This is a discussion on Newbie question - Apache can't find cgi-bin within the Apache Web Server forums, part of the Web Server and Related Forums category; Please let me know if there are any newbie doc's out there. I still haven't learned the terminology ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-31-2003
Jim Sabatke
 
Posts: n/a
Default Newbie question - Apache can't find cgi-bin

Please let me know if there are any newbie doc's out there.
I still haven't learned the terminology well enough to
find much in the Apache documentation.

I'm just setting up a local website (SUSE 7.3). Apache
can't seem to find /cgi-bin/ which is defined as
/usr/local/httpd/cgi-bin

I get the following error when trying to access a script in
that directory:

Not Found
The requested URL /cgi-bin/genhtml.pl was not found on this
server.

I'm just going around in circles trying to figure this out.
I'm using comanche to configure the server.
--
Jim Sabatke
Hire Me!! - See my resume at http://my.execpc.com/~jsabatke

Do not meddle in the affairs of Dragons, for you are crunchy
and good with ketchup.

  #2 (permalink)  
Old 10-31-2003
Marc Nadeau
 
Posts: n/a
Default Re: Newbie question - Apache can't find cgi-bin

Jim Sabatke a écrit:

> Please let me know if there are any newbie doc's out there.
> I still haven't learned the terminology well enough to
> find much in the Apache documentation.
>
> I'm just setting up a local website (SUSE 7.3). Apache
> can't seem to find /cgi-bin/ which is defined as
> /usr/local/httpd/cgi-bin
>
> I get the following error when trying to access a script in
> that directory:
>
> Not Found
> The requested URL /cgi-bin/genhtml.pl was not found on this
> server.
>
> I'm just going around in circles trying to figure this out.
> I'm using comanche to configure the server.


Have you tried writing in your httpd.conf (or your specific apache config
file)
a line like :
Alias /cgi-bin /path/to/cgi-bin

and those one:
<Directory /path/to/cgi-bin>
Options +ExecCGI -Includes -Indexes
SetHandler cgi-script
</Directory>

Bonne chance !

--
Marc Nadeau
La Pagerie
http://www.pagerie.com
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:26 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0