Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Linux, Apache, MySQL, PHP
  4. how to run perl in xampp windows

how to run perl in xampp windows

Scheduled Pinned Locked Moved Linux, Apache, MySQL, PHP
perlapachetoolshelptutorial
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jayapal Chandran
    wrote on last edited by
    #1

    Hi, This is my cgi-bin folder D:\www\xampp\cgi-bin the shebang is like this #!"D:/www/xampp/perl/bin/perl.exe" and perl is in the folder like in the above path of shebang here is my script alias entry in httpd.conf ScriptAlias /cgi-bin/ "D:/www/xampp/cgi-bin/" and the directory entry is as follows <Directory "D:/www/xampp/cgi-bin"> AllowOverride All Options Indexes FollowSymLinks ExecCGI Order allow,deny Allow from all </Directory> my file is printenv.pl and is saved in cgi-bin folder but still i couldn't make the file run i call it like localhost/printenv.pl i get 404 error. what shall i do?

    Today's Beautiful Moments are Tomorrow's Beautiful Memories

    D 1 Reply Last reply
    0
    • J Jayapal Chandran

      Hi, This is my cgi-bin folder D:\www\xampp\cgi-bin the shebang is like this #!"D:/www/xampp/perl/bin/perl.exe" and perl is in the folder like in the above path of shebang here is my script alias entry in httpd.conf ScriptAlias /cgi-bin/ "D:/www/xampp/cgi-bin/" and the directory entry is as follows <Directory "D:/www/xampp/cgi-bin"> AllowOverride All Options Indexes FollowSymLinks ExecCGI Order allow,deny Allow from all </Directory> my file is printenv.pl and is saved in cgi-bin folder but still i couldn't make the file run i call it like localhost/printenv.pl i get 404 error. what shall i do?

      Today's Beautiful Moments are Tomorrow's Beautiful Memories

      D Offline
      D Offline
      Dee
      wrote on last edited by
      #2

      "i call it like localhost/printenv.pl" But, you should call it like this: localhost/cgi-bin/printenv.pl

      S 1 Reply Last reply
      0
      • D Dee

        "i call it like localhost/printenv.pl" But, you should call it like this: localhost/cgi-bin/printenv.pl

        S Offline
        S Offline
        saranya
        wrote on last edited by
        #3

        what is scriptalias? how to place the url in apache? i need clean details please help me

        Q 1 Reply Last reply
        0
        • S saranya

          what is scriptalias? how to place the url in apache? i need clean details please help me

          Q Offline
          Q Offline
          QuantumPlumber
          wrote on last edited by
          #4

          http://httpd.apache.org/docs/2.2/mod/mod_alias.html#scriptalias[^]

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups