cgi:irc problem

Problems with the Windows version of XAMPP, questions, comments, and anything related.

cgi:irc problem

Postby Quackstar » 01. December 2007 15:18

ok, i have downloaded the most recent version of cgi:irc. i changed the perl path to reflect my server. now i get a mkdir error. is this a problem with my perl path?

#!"C:\xampp\perl\bin\perl.exe"
Quackstar
 
Posts: 13
Joined: 01. December 2007 15:13

Re: cgi:irc problem

Postby Izzy » 02. December 2007 02:40

Quackstar wrote:ok, i have downloaded the most recent version of cgi:irc. i changed the perl path to reflect my server. now i get a mkdir error. is this a problem with my perl path?

#!"C:\xampp\perl\bin\perl.exe"

The shebang looks OK but what is the full mkdir error message as it often gives a clue.

What does the xampp\apache\logs\error.log file say about it?

What directory are you trying to run the cgi scripts from in your web tree?

Does this web directory have a cgi-bin?

Does Apache know about this cgi-bin if it exist?
http://httpd.apache.org/docs/2.2/howto/cgi.html

You did follow the instructions from here?
http://cgiirc.org/docs/
http://cvs.cgiirc.org/cgiirc/wiki
http://cvs.cgiirc.org/cgiirc/wiki?p=SupportedSoftware

From their FAQ:
http://cvs.cgiirc.org/cgiirc/wiki?p=Fre ... dQuestions
Does CGI:IRC work on Windows?
It hasn't been designed to work on windows natively (eg: Activeperl with IIS or Apache) due to use of unix domain sockets. Running apache and perl under the environment provided by cygwin is reported to work. This is only required of the server - nearly any web browser on nearly operating system should work as a client.

From the Download page:
Before you download
Check that your system or web hosting provider meets these basic requirements, you'll save yourself a lot of time if you don't have something you need.

1. Ability to run CGI scripts using Perl 5.004 or greater
2. UNIX based system (i.e. not Windows)
3. Acceptable use policy allows access to IRC...

Download
The latest release is 0.5.9 (you can't copy the url of these files into a download program, copy the one when you click on them).
- Download .tar.gz
- Download .zip
The zip version is provided as a convenience when uploading via windows (the .cgi files are converted into windows line ending format). Neither will work on windows.
There are GPG signatures signed with this GPG key (Key ID: D6D40744).


So it is looking more and more like this script is not designed to be run on a Windows/Apache/Perl configuration which is not uncommon.

The mkdir error is often associated with *nix, of which permissions and 'directory not found' issues seem to be the causes but the permissions issue does not apply in a Windows Perl/Apache environment.
This Google might contain some clues.

BTW - The XAMPP Perl Addon uses ActivePerl from ActiveState.


===========================================
1. The new DeskTopXampp Launch Control for XAMPP / XAMPPlite
Posted by Ridgewood available from Ridgewood'sDTX web site

2. Build Rich AJAX Applications - Faster
TIBCO General Interface Pro Edition but FREE and Open Source
Fully working with NO donations required to get a user/password
===========================================
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby Quackstar » 03. December 2007 17:03

ok, so its not going to work. why though is my other host, awardspace.com, keep on getting errors

[lhs.awardspace.info] [Mon Dec 03 16:00:37 2007] [error] [client 170.185.83.19] Premature end of script headers: irc.cgi | (null)
Error 500: Script Execution Failure

this is thier statistics:
Hosting OS: Proprietary *nix
PHP version: 4.4.1
Perl version: 5.8.4
Perl path: /usr/bin/perl
CGI-BIN path not required (You can run CGI, Perl scripts from any domain/subdomain folder)
Perl Modules 2900+ installed modules (Click here to view the full list)

this might be a question for the awardspace forum, but does this have to do anything with my error?
Quackstar
 
Posts: 13
Joined: 01. December 2007 15:13


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 129 guests