mod_perl2

This is a discussion on mod_perl2 within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi all, First of all, please excuse me for my bad English. I'm not a native english speaking person. ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-02-2003
Thomas Arndt
 
Posts: n/a
Default mod_perl2

Hi all,

First of all, please excuse me for my bad English. I'm not a native english
speaking
person. I have got the following problem:
I installed Apache 2.0.47 and the mod_perl ppm packages for mod_perl2 on
Windows XP Pro.
After adding
LoadFile "C:/.../bin/perl58.dll"
and
LoadModule perl_module C:/.../Apache2/modules/mod_perl.so
to httpd.conf the Apache loads the mod_perl modul while starting. So far so
good.
Now I read that I have to create a startup file for mod_perl. I used the
example file from http://perl.apache.org/.
--------------------------------
use Apache2 ();
use ModPerl::Util ();
use Apache::RequestRec ();
use Apache::RequestIO ();
use Apache::RequestUtil ();
use Apache::Server ();
use Apache::ServerUtil ();
use Apache::Connection ();
use Apache::Log ();
use Apache::Const -compile => ':common';
use APR::Const -compile => ':common';
use APR::Table ();
use Apache::compat ();
use ModPerl::Registry ();
use CGI ();
1;
--------------------------------
and added the according line to httpd.conf
PerlRequire "C:/.../Apache2/conf/startup.pl"

After that Apache doesn't starts with the error message:
Unrecognized character \x92 at C:/.../Apache2/conf/startup.pl line10.
Compilation failed in require at (eval1) line1.

Of course its also not possible to run other scripts.

I hope anybody can help me.
Thanks in advance.


 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:31 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0