How to setup cgi-bin ???

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DarkJedi
    No Refunds Issued.
    • Feb 2001
    • 28301

    #1

    How to setup cgi-bin ???

    Hi ppl - i need to setup a cgi-bin on my hosting server. Do i need to ask the hosting company to do it, or I can do it myself ?
    I dont got shell.
  • DragonAss
    Confirmed User
    • May 2001
    • 206

    #2
    It should already be enabled in a /cgi-bin directory (for paid hosting anyway) or even activated in every directory.

    If your cgi's aren't running at all, then you'll likely have to rattle the cage of your hosting people. The main cgi setup needs root access to change. Often, it can't even be touched through telnet for security reasons.

    see: http://httpd.apache.org/docs/howto/cgi.html

    (assuming your web server is apache of course)

    HTH


    Comment

    • carnalpassion
      Registered User
      • May 2001
      • 31

      #3
      I was a 'newbee' until a month or two ago on cgi's....here is a good place to start, and they have some informative pages on dealing with it all, of course your server administrator SHOULD help you with this too. At least mine does, why the hell do you think you pay someone??? Start here for some good scripts and info:
      http://www.freeperlcode.com/guide/ http://www.comp.leeds.ac.uk/Perl/start.html

      I knew NOTHING about cgi's and in a week or two, it was all set up, and now I know how to modify the code somewhat, load, and make them work for my pages! (Pic post script/classifieds ads/top 100 lists/chat room/bulletin boards/password-security) It's a whole new ball of wax! (I thought html was difficult!!!) But now cgi is getting easier every day!

      Take a look if you care at my site and see for yourself: http://carnalpassion.com is my entrance page to the above scripts in use.

      ------------------
      http://carnalpassion.com
      http://carnalpassion.com

      Comment

      • Polak
        Confirmed User
        • Jan 2003
        • 620

        #4
        lol

        Comment

        • masterE
          Confirmed User
          • Aug 2004
          • 366

          #5
          Originally posted by DarkJedi
          Hi ppl - i need to setup a cgi-bin on my hosting server. Do i need to ask the hosting company to do it, or I can do it myself ?
          I dont got shell.
          Wow, do people still code in Perl?

          Use PHP man, the wave of the future

          Promote Lady Sonia
          and earn 60% on sign-up and 60% on rebills!
          ^^ Weekly CCBill Payouts - Hosted Galleries - Promo Content - Free Hosting ^^
          ^^ No Cross Sells - No Traffic Leaks - 100% Exclusive Content! ^^

          Comment

          • Doc911
            Confirmed User
            • Feb 2004
            • 3695

            #6
            c:>cgi-bin /setup <enter>


            For PHP/MySQL scripts ICQ 161480555 or email [email protected]

            Comment

            • piker
              Confirmed User
              • Feb 2004
              • 597

              #7
              Originally posted by masterE
              Wow, do people still code in Perl?

              Use PHP man, the wave of the future
              perl, c, etc that use cgi-bin handle some things better then php...
              IcooCash - DVD Content for your TGP
              Cheap FreeBSD Virtual Hosting
              ICQ me at 605104 for Custom PHP/MySQL Programming

              Comment

              • s9ann0
                Confirmed User
                • Sep 2001
                • 4873

                #8
                unix version:

                ./cgi-bin -s <enter>

                Comment

                • nastyking
                  • Nov 2002
                  • 2174

                  #9
                  Originally posted by Polak
                  lol
                  hehe

                  btw. php is for sissies

                  Comment

                  • Webby
                    Too lazy to set a custom title
                    • Oct 2002
                    • 14956

                    #10
                    masterE:

                    Use PHP man, the wave of the future
                    Hate the shit!

                    Guaranteed to fail/corrupt and never let me down yet!

                    Perl/cgi is NICE!
                    XXX TLD's - Another mosquito to swat.

                    Comment

                    • Vegn Irfunt
                      Registered User
                      • Aug 2004
                      • 40

                      #11
                      Originally posted by masterE
                      Wow, do people still code in Perl?

                      Use PHP man, the wave of the future
                      Do you really think that cgi is used only in perl programming?
                      Think about "C" character in the abbreviation ;)
                      All I ask for is the chance to prove that money cannot make me happy.

                      Comment

                      • lb_vee
                        Confirmed User
                        • May 2004
                        • 886

                        #12
                        Originally posted by masterE
                        Wow, do people still code in Perl?

                        Use PHP man, the wave of the future
                        I dont know about perl as cgi, but mod-perl is what I use most of the time.

                        Comment

                        • Webmaster_Logic
                          Confirmed User
                          • Jul 2004
                          • 1886

                          #13
                          I was smart and read the date of this thread this time ........

                          Comment

                          • RoTT
                            So Fucking Banned
                            • Apr 2003
                            • 360

                            #14
                            Originally posted by Webmaster_Logic
                            I was smart and read the date of this thread this time ........

                            Comment

                            • polish_aristocrat
                              Too lazy to set a custom title
                              • Jul 2002
                              • 40377

                              #15
                              I still couldnt answer his question today and I doubt i will ever be able to do it
                              I don't use ICQ anymore.

                              Comment

                              • Vegn Irfunt
                                Registered User
                                • Aug 2004
                                • 40

                                #16
                                Originally posted by Webmaster_Logic
                                I was smart and read the date of this thread this time ........
                                All I ask for is the chance to prove that money cannot make me happy.

                                Comment

                                • Webby
                                  Too lazy to set a custom title
                                  • Oct 2002
                                  • 14956

                                  #17
                                  Yea... what was the damned question?? :-)

                                  Ah yea! cgi-bin is ususally already set up in most managed servers...

                                  or if you got root access... add a line like this into the httpd.conf under the appropriate virtual host section for "whatever.com":

                                  ScriptAlias /cgi-bin /home/users/whatever.com/cgi-bin

                                  and change the paths to whatever they are! :-)
                                  XXX TLD's - Another mosquito to swat.

                                  Comment

                                  • TheWildcard
                                    So Fucking Banned
                                    • Jun 2004
                                    • 4759

                                    #18
                                    this thread is old

                                    Comment

                                    Working...