Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > cgi and cgi-bin

Reply
Thread Tools

cgi and cgi-bin

 
 
zippy
Guest
Posts: n/a
 
      02-01-2005
Hi,
I hope this is the correct group to post this question. I have set up a cgi
bin /var/www/website/cgi-bin with some perl scripts that worked on a similar
server before we took it down. Transferring the files to the new server
didn't work untill we put the files in /var/www/website/cgi.

For our forms to work (unless we want to rewrite every one of them) they
need to be in /var/www/website/cgi-bin. Where is the configuration script to
change it from cgi to cgi-bin? I am running fedora c1, apache 2 and using
the cgi bin in the virtual host area of httpd.conf.

Thanks,
--zip


 
Reply With Quote
 
 
 
 
Sherm Pendley
Guest
Posts: n/a
 
      02-01-2005
zippy wrote:

> I hope this is the correct group to post this question.


It's not. Sorry. This group is about writing Perl code. Your question is
about how to configure Apache's CGI support; the answer would be the same
if your CGIs were written in Python, C, or any other language. Hence, your
question isn't a Perl question.

Searching the group list for "apache" or "servers" turned up several hits.
The "comp.infosystems.www.servers" and "alt.apache.configuration" groups
appear to be relevant, but I don't frequent those groups so I can't say for
sure. Your best bet is to check the apache site at <http://www.apache.org>,
to see what groups, lists, or other resources they recommend.

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
 
Reply With Quote
 
 
 
 
Gregory Toomey
Guest
Posts: n/a
 
      02-01-2005
zippy wrote:

> Hi,
> I hope this is the correct group to post this question. I have set up a
> cgi bin /var/www/website/cgi-bin with some perl scripts that worked on a
> similar server before we took it down. Transferring the files to the new
> server didn't work untill we put the files in /var/www/website/cgi.
>
> For our forms to work (unless we want to rewrite every one of them)

Why not?

> they
> need to be in /var/www/website/cgi-bin. Where is the configuration script
> to change it from cgi to cgi-bin?

Since you're the only person to need this, there isn't one.

> I am running fedora c1, apache 2 and
> using the cgi bin in the virtual host area of httpd.conf.
>
> Thanks,
> --zip


Make a symbolic link from cgi-bin to scgi-bin, or move cgi-bin to scgi-bin.
Any system admin with 1/4 of a brain could work this out.

gtoomey

 
Reply With Quote
 
Anno Siegel
Guest
Posts: n/a
 
      02-01-2005
Gregory Toomey <> wrote in comp.lang.perl.misc:
> zippy wrote:


> Make a symbolic link from cgi-bin to scgi-bin, or move cgi-bin to scgi-bin.
> Any system admin with 1/4 of a brain could work this out.


Patching a configuration error with a symlink is *not* what good
sysadmins do.

Anno
 
Reply With Quote
 
The Flow
Guest
Posts: n/a
 
      02-01-2005
Do not use a symlink. Instead, it is advisable that you actually go
through the conf file (sometimes the "default" of
/etc/apache2/sites-enabled) and change the cgi bin to whatever you want
it to be.

 
Reply With Quote
 
Sam Holden
Guest
Posts: n/a
 
      02-02-2005
Anno Siegel <> wrote:
> Gregory Toomey <> wrote in comp.lang.perl.misc:
>> zippy wrote:

>
>> Make a symbolic link from cgi-bin to scgi-bin, or move cgi-bin to scgi-bin.
>> Any system admin with 1/4 of a brain could work this out.

>
> Patching a configuration error with a symlink is *not* what good
> sysadmins do.


But good sysadmins have more than 1/4 of a brain.

--
Sam Holden
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
(CGI-Target)Could not connect to CGI-Proxy John Smith Java 0 05-15-2006 09:21 PM
Python-cgi or Perl-cgi script doubt praba kar Python 1 07-30-2005 08:25 AM
Python CGI - Accepting Input, Invoking Another Process, Ending CGI LarsenMTL Python 4 11-04-2004 05:59 PM
Calling cgi from cgi thru 'system' function. Different behaviour on browser v/s cmd line Shailan Perl 2 12-15-2003 04:26 PM
Re: CGI Perl "use CGI" statement fail Jürgen Exner Perl 0 07-31-2003 02:00 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57