Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: IIS 6.0 &calendar script and 404  (Read 694 times)
0 Members and 1 Guest are viewing this topic.
duff
New Member
*

Karma: 0
Offline Offline

Posts: 0

Tech


WWW
« on: September 26, 2003, 11:12:00 AM »

Has anyone gotten this to work with IIS6? I have active state perl (5.8.0) installed on my win2k3 server. I can view web pages I put in the same folder as calendar.pl and calendar_admin.pl but get 404 when i try to get to those pages and the debug. It looks like all 3 run just fine from the command line. .pl is an excepted extension in IIS.
everyone has full access to calenderscripts folder. Help please. Oh, i am using IE 6. I changed base_dir. Looked at IIS logs and just 404.
Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: September 26, 2003, 12:49:00 PM »

** but get 404 when i try to get to those pages and the debug. **

A 404 error means the server can not find a file with such a name at the URL you requested. It is not a problem with the script.

Look at the URL you're trying to view as something in it has to be wrong like possibly a spelling mistake, etc. If that's not it, there's a problem with the server in which case you'll have to contact the server administrator to see if they can correct it.

Dan O.

------------------

Logged
duff
New Member
*

Karma: 0
Offline Offline

Posts: 0

Tech


WWW
« Reply #2 on: September 26, 2003, 10:01:00 PM »

FYI it was not spelled wrong, the 404 was because of the web service extentions in IIS6. If i allow all unknown cgi extentions it works, but that isnt really that good of a thing to do so i need to figure out how to configure a new specific one. IIS6 is really a different cat!!!!

------------------

Logged
jimm
Guest
« Reply #3 on: September 29, 2003, 01:56:00 PM »

I am running into the same issue.  If I enable all unknown CGI it works fine, otherwise it doesn't.

Jim

Logged
TCOman
New Member
*

Karma: 0
Offline Offline

Posts: 0

DBA


WWW
« Reply #4 on: October 14, 2004, 08:45:00 AM »

I am having the exact same problem with our new win 2k3 server. The Active Perl examples work just fine on the server but get a 404 error when try to access the calendar.

------------------

Logged
TCOman
New Member
*

Karma: 0
Offline Offline

Posts: 0

DBA


WWW
« Reply #5 on: October 14, 2004, 11:23:00 AM »

Matt, I am having a similar problem to another user of your calendar. We have been using your calendar as an events calendar on our web site for some time. We upgraded to the new version last year. The calendar is wonderful. But now we have purchased a new server running Windows 2003 and IIS 6. I was tasked with moving our web site over and testing. In the process, I knew I would need to install ActivePerl and move the calendar. I installed ActivePerl version 5.8.4 build 810. After installing, I followed the instructions for setting up PerlScript for IIS. From IE 6 I ran the PerlScript examples, the IE Examples and Windows Scripts Components examples. All worked fine. I also ran the test.pl in the Windows Script Host and it worked too. Now I changed the perl path in calendar.pl and debug.pl. I also changed these to include the full path to the calendarscript folder and set the proper permissions. When I try to run the calendar from IE, I get the following error:

The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

Please try the following:
Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.

If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
Click the Back button to try another link.
HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)

If I run the calendar in a command prompt by entering "perl calendar.pl" it does produce html. If I view the html, the calendar displays, but if I click any links, I get the same 404 error. If I try to run the debug.pl from IE, I get the same 404 error. .pl is an excepted extension in IIS.

Then I tried to set the calendar up on my local machine, running Win XP and IIS 5. I followed the same steps as above. When I run the calendar from IE, it seems to work fine, but when I click on any of the links or try to go to another month, I get the same 404 error. I run the debug.pl from IE and it says "SUCCESS everything should work fine." Here's something interesting. The calendar_admin.pl DOES work fine on my local PC, but still gets a 404 from the web server.

------------------

Logged
Walter Seay
Guest
« Reply #6 on: January 31, 2005, 03:44:00 PM »

Okie.. this is what I had to do to get it working using ActivePerl and IIS 6.


  1. Go into the IIS Manager and pull up the properties of your virtual website.
  2. On the Home Directory tab, click the Configuration... button.
  3. Add an application mapping for the .cgi extention by clicking the Add button.
  4. Enter c:\Perl\bin\perl.exe "%s" %s. Change the path to perl.exe if needed.
  5. Extension: cgi (no period in front)
  6. Limit verbs to: GET,HEAD,POST.
  7. Hit Ok -> OK -> OK to apply all the changes.

Now in an IIS 5x environment, this is all you would have to do. However, IIS 6 has some extra security junk in there you have to mess with. For IIS 6 to function properly:


  1. Select Web Service Extensions and then click Add New Web Service Extension.
  2. Enter a description in Extension Name (such as "ActivePerl CGI"), then enter the path to perl.exe used in step 4 above (c:\Perl\bin\perl.exe "%s" %s). Edit the path to perl.exe as needed.
  3. Make sure you check the Set Extension Status to Allowed.
  4. Click OK.


That should get you running.

Logged
Pages: [1]   Go Up
Print
Jump to: