problems installing CGI on my server :(

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alex79
    Confirmed User
    • Jun 2002
    • 996

    #1

    problems installing CGI on my server :(

    i can run the cgi script on mydomain.com/xxx.cgi but when i put the same file in the cgi-bin directory (mydomain.com/cgi-bin/xxx.cgi) i get a "The page cannot be found" error
    what can be the problem and how do i correct this problem?
  • sexsup
    Confirmed User
    • Feb 2004
    • 3004

    #2
    file permission problems, check CHMOD

    Comment

    • SMG
      Confirmed User
      • Aug 2003
      • 1798

      #3
      is this a dedicated server, or a virtual account? could be a few things .... maybe your cgi-bin alias in your apache config is screwed up ... if it was chmod you'd probably see an internal server error not a not cound error, but does the script have +x perms on?
      TGP Webmasters: sign up for the top 100 tgp list!
      Submit galleries
      If you add me to icq (title) make sure to mention GFY or I'll think you're a bot and deny you.

      Comment

      • alex79
        Confirmed User
        • Jun 2002
        • 996

        #4
        it is a dedicated server and i chmod the xxx.cgi file to 755

        Comment

        • alex79
          Confirmed User
          • Jun 2002
          • 996

          #5
          Originally posted by SMG
          maybe your cgi-bin alias in your apache config is screwed up ...
          this is the alias that i use:

          ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"

          and

          <VirtualHost *>
          ServerName mydomain.com
          ServerAlias *.mydomain.com
          ScriptAlias /cgi-bin/ /home/www/mydomain/cgi-bin
          DocumentRoot /home/www/mydomain
          </VirtualHost>

          are thes correct are are wrong?

          Comment

          • Pamporn
            Confirmed User
            • Jul 2003
            • 280

            #6
            Add this in the <VirtualHost>

            AllowOverride All
            Options All

            and if necessary :

            ScriptAlias /cgi-bin/ /home/yourdoman/cgi-bin/
            Angel
            ICQ 112982517

            50% RevShare for your Celebrity Traffic with Pamporn.Com

            Comment

            • alex79
              Confirmed User
              • Jun 2002
              • 996

              #7
              Originally posted by Pamporn
              Add this in the <VirtualHost>

              AllowOverride All
              Options All

              and if necessary :

              ScriptAlias /cgi-bin/ /home/yourdoman/cgi-bin/
              i already have these added and is not working.. i still get "page not found error"

              Comment

              • tolik
                Confirmed User
                • Jun 2001
                • 2035

                #8
                your server have control panel?

                look in panel - maybe your cgi-bin not activated in panel - i have similar problem at one setver some time ago
                LONGBUCKS-Teen, Mature, Reality, Gay sites.
                Free hosting (cgi/php/mysql/cron etc). FHGs. Free content.Great rebills. Support icq - 313-882-945


                Webmaster friendly high recommended programs to promote (personal experience):
                RoyalCash-Teen ProfitX -Video SmokinCash-Amateur,Lesbo,Squirting

                Comment

                • alex79
                  Confirmed User
                  • Jun 2002
                  • 996

                  #9
                  Originally posted by tolik
                  your server have control panel?

                  look in panel - maybe your cgi-bin not activated in panel - i have similar problem at one setver some time ago
                  i don't have control panel.. i just have webmin installed

                  Comment

                  Working...