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
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.
Offline
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
its the same:
Cannot create c:/inetpub/wwwroot/oddmuse/data: No such file or directory
![]()
Offline
okay i found the mistake: ![]()
1. In current.pl i changed the line
BrowsePage($id, GetParam('raw', 0), undef, '404 NOT FOUND') if ValidIdOrDie($id);to
BrowsePage($id, GetParam('raw', 0), undef, 'ratdoglives') if ValidIdOrDie($id);(see description here)
Than i was able to see the HomePage (First time
).
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
Thanks. I added the info to the Windows page on the Oddmuse site.
Offline
You are not logged in.