Is anyone here using xampp

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • theking
    Nice Kitty
    • Sep 2002
    • 21053

    #1

    Is anyone here using xampp

    ...and in turn using cgi script in a cgi-bin located in htdocs? I need to know what you are using on your script to point to perl. #!C:\xampp\perl\bin\perl.exe is what I am using and for some reason it does not work.
    When you're running down my country hoss...you're walking on the fighting side of me!

    FOR THE LYING LOWLIFE POSTING AS PATHFINDER...http://gfy.com/fucking-around-and-pr...athfinder.html
  • theking
    Nice Kitty
    • Sep 2002
    • 21053

    #2
    Anyone...
    When you're running down my country hoss...you're walking on the fighting side of me!

    FOR THE LYING LOWLIFE POSTING AS PATHFINDER...http://gfy.com/fucking-around-and-pr...athfinder.html

    Comment

    • dunhill
      Confirmed User
      • Jul 2013
      • 89

      #3
      On httpd.conf:
      ScriptAlias /cgi-bin/ "C:/xampp/cgi-bin/"
      <Directory "C:/xampp/cgi-bin">
      AllowOverride All
      Options Indexes FollowSymLinks ExecCGI
      Order allow,deny
      Allow from all
      </Directory>

      On script:
      #!"C:/xampp/perl/bin/perl.exe"

      Restart apache and run localhost/cgi-bin/script.pl

      Anyway, get a linux box to run apache, xampp is buggy.

      Comment

      • theking
        Nice Kitty
        • Sep 2002
        • 21053

        #4
        Originally posted by dunhill
        On httpd.conf:
        ScriptAlias /cgi-bin/ "C:/xampp/cgi-bin/"
        <Directory "C:/xampp/cgi-bin">
        AllowOverride All
        Options Indexes FollowSymLinks ExecCGI
        Order allow,deny
        Allow from all
        </Directory>

        On script:
        #!"C:/xampp/perl/bin/perl.exe"

        Restart apache and run localhost/cgi-bin/script.pl

        Anyway, get a linux box to run apache, xampp is buggy.
        Thanks for the input. On script...are the quotes required?
        When you're running down my country hoss...you're walking on the fighting side of me!

        FOR THE LYING LOWLIFE POSTING AS PATHFINDER...http://gfy.com/fucking-around-and-pr...athfinder.html

        Comment

        • dunhill
          Confirmed User
          • Jul 2013
          • 89

          #5
          you can remove them

          Comment

          • theking
            Nice Kitty
            • Sep 2002
            • 21053

            #6
            Originally posted by dunhill
            you can remove them
            Thanks once again.
            When you're running down my country hoss...you're walking on the fighting side of me!

            FOR THE LYING LOWLIFE POSTING AS PATHFINDER...http://gfy.com/fucking-around-and-pr...athfinder.html

            Comment

            • theking
              Nice Kitty
              • Sep 2002
              • 21053

              #7
              I an now getting a 403 error.

              You don't have permission to access the requested object. It is either read-protected or not readable by the server.
              When you're running down my country hoss...you're walking on the fighting side of me!

              FOR THE LYING LOWLIFE POSTING AS PATHFINDER...http://gfy.com/fucking-around-and-pr...athfinder.html

              Comment

              • dunhill
                Confirmed User
                • Jul 2013
                • 89

                #8
                Before Script alias add:
                <Directory "C:/xampp/cgi-bin">
                Require all granted
                </Directory>
                This should fix the 403 error

                Comment

                • money biz
                  Confirmed User
                  • Jan 2003
                  • 1016

                  #9
                  i think wamp is easyer to use

                  Comment

                  • Cyber Fucker
                    Hmm
                    • Sep 2005
                    • 12642

                    #10
                    I use easyphp and I prefer it over xamp or wamp.

                    Comment

                    Working...