WikiMatrix
  • Forum
  •  » Oddmuse
  •  » How to install Oddmuse on WinXp, IIS and ActivePerl

#1 2006-05-22 20:29:01

hopec
Member
Registered: 2006-05-22
Posts: 4

How to install Oddmuse on WinXp, IIS and ActivePerl

Hi,

i try to install oddmuse on a winxp machine with iis and active perl but with no success :-(

my directory structure looks like this:

c:\inetpub\wwwroot\oddmuse\
c:\inetpub\wwwroot\oddmuse\cgi-bin
c:\inetpub\wwwroot\oddmuse\data

In \cgi-bin i put the wrapper script wiki.pl and current.pl
In \data i put the config file

can someone give me instructions on what to write in the wiki.pl and current.pl under $DataDir

thanx a lot...

Offline

 

#2 2006-05-24 00:08:24

kensanata
Member
From: Zürich, Switzerland
Registered: 2005-12-14
Posts: 20
Website

Re: How to install Oddmuse on WinXp, IIS and ActivePerl

Did you look at the info on the Windows page of the Oddmuse site and the corresponding comments? Since it works with Apache, the problem must be with IIS. Can you get any Perl script to work on IIS? Try it with a very simple CGI script, first.


Right now the Rails folks put everything in a Wiki, which is Hawaiian for »can’t find shit.« –  Zed

Offline

 

#3 2006-05-24 13:30:16

hopec
Member
Registered: 2006-05-22
Posts: 4

Re: How to install Oddmuse on WinXp, IIS and ActivePerl

hi,

yes i looked over the windows pages and all comments.
perl is not the problem - i have some perl scripts running. i also tried the very simple CGI script and it shows:

CGI Version: 3.15

so everything should be fine with perl.

as described i use the following structure:

c:\inetpub\wwwroot\oddmuse\
c:\inetpub\wwwroot\oddmuse\cgi-bin
c:\inetpub\wwwroot\oddmuse\data

this is what i did in current.pl:

$DataDir   = 'c:\inetpub\wwwroot\oddmuse\data' unless $DataDir;

result is:

Cannot create c:\inetpub\wwwroot\oddmuse\data: No such file or directory

Offline

 

#4 2006-05-24 17:13:20

kensanata
Member
From: Zürich, Switzerland
Registered: 2005-12-14
Posts: 20
Website

Re: How to install Oddmuse on WinXp, IIS and ActivePerl

Try forward slashes?


Right now the Rails folks put everything in a Wiki, which is Hawaiian for »can’t find shit.« –  Zed

Offline

 

#5 2006-05-24 19:01:24

hopec
Member
Registered: 2006-05-22
Posts: 4

Re: How to install Oddmuse on WinXp, IIS and ActivePerl

its the same:

Cannot create c:/inetpub/wwwroot/oddmuse/data: No such file or directory

sad

Offline

 

#6 2006-05-25 00:55:15

hopec
Member
Registered: 2006-05-22
Posts: 4

Re: How to install Oddmuse on WinXp, IIS and ActivePerl

okay i found the mistake: smile
1. In current.pl i changed the line

Code:

BrowsePage($id, GetParam('raw', 0), undef, '404 NOT FOUND') if ValidIdOrDie($id);

to

Code:

BrowsePage($id, GetParam('raw', 0), undef, 'ratdoglives') if ValidIdOrDie($id);

(see description here)
Than i was able to see the HomePage (First time lol).

2. The next problem was a wrong path in the URL.
I only had http://localhost/oddmuse/cgi-bin/HomePage instead of http://localhost/oddmuse/cgi-bin/current.pl?HomePage. So this problem is described here at the usemod site. It`s because of a problem with the ActivePerl version 5.8.7.816. I changed to version 5.8.7.815 and now everything works fine...

Hope it help, greetz

Last edited by hopec (2006-05-25 00:56:25)

Offline

 

#7 2006-05-27 13:16:36

kensanata
Member
From: Zürich, Switzerland
Registered: 2005-12-14
Posts: 20
Website

Re: How to install Oddmuse on WinXp, IIS and ActivePerl

Thanks. I added the info to the Windows page on the Oddmuse site.


Right now the Rails folks put everything in a Wiki, which is Hawaiian for »can’t find shit.« –  Zed

Offline

 
  • Forum
  •  » Oddmuse
  •  » How to install Oddmuse on WinXp, IIS and ActivePerl

You are not logged in.


Board footer

Forum powered by PunBB (© 2002–2005 Rickard Andersson)