Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Sep 2002
    Location
    Adelaide, Australia
    Posts
    472
    Thanks
    3
    Thanked 0 Times in 0 Posts

    IIS and cgi (.pl)??

    Hi,
    i installed perl on IIS and it works good!

    1. but only in the root folder of the domain, not in another folder, why is this and how can i fix it?

    2. how do i add .cgi as a valid perl extension because only .pl works at the moment.

    cheers

  • #2
    Regular Coder Feyd's Avatar
    Join Date
    May 2002
    Location
    Los Angeles, CA Maxim: Subvert Society
    Posts
    403
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Which version of IIS are you running?
    Moderator, Perl/CGI Forum
    shadowstorm.net - subvert society

  • #3
    Regular Coder
    Join Date
    Sep 2002
    Location
    Adelaide, Australia
    Posts
    472
    Thanks
    3
    Thanked 0 Times in 0 Posts
    iis 6.0

  • #4
    Regular Coder dswimboy's Avatar
    Join Date
    Nov 2003
    Location
    mostly in Ann Arbor
    Posts
    458
    Thanks
    0
    Thanked 0 Times in 0 Posts
    here's to documentation for IIS 4 and 5. i hope that you are Windows friendly, and Microsoft likes to not change stuff.
    Open the Internet Service Manager. This will bring up the Microsoft Management Console with the Internet Service Manager snap-in already selected.

    From the tree display on the left, select the level at which to apply the mappings. You can choose an entire server, web site, or a given virtual directory.

    Select Properties from the Action menu.

    If you chose to administer the properties for the entire server, the Server Properties dialog will appear. Select WWW Service from the Master Properties pull-down menu and click the Edit button under Master Properties. This opens WWW Service Master Properties. Select the Home Directory tab and proceed to step 7.

    If you chose to administer the properties for an entire web site, the Web Site Properties sheet appears. Select the Home Directory tab and proceed to step 7.

    If you chose to administer the properties for a virtual directory, the Virtual Directory Properties sheet appears. Select the Virtual Directory tab and proceed to step 7.

    Click the Configuration button. This opens the Application Configuration dialog.

    Select the App Mappings tab and click the Add button. You see the Add/Edit Application Extension Mapping dialog.

    To run Perl as a CGI application, type the full path to Perl.exe followed by %s %s. When a script is executed, the first %s will be replaced by the full path to the script, and the second %s will be replaced by the script parameters.

    To run Perl for ISAPI, type the full path to PerlIS.dll. The %s %s is not required for ISAPI DLLs.

    In the Extension field, type .pl or .plx (or whatever extension you want to use).

    The application mapping is now complete. Click the OK button and click OK to dismiss any remaining dialogs/property sheets.

    Close the IIS Internet Service Manager.
    "There is more than one way to do it."

  • #5
    Regular Coder
    Join Date
    Sep 2002
    Location
    Adelaide, Australia
    Posts
    472
    Thanks
    3
    Thanked 0 Times in 0 Posts
    cheers


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •