error installing mod_perl 2 - perl_require_module
Hi, I am trying to run apache 2.2.8 on solaris 10. I've gone through a number of issues, and now I have it running with mod_perl 2. However, I get an error from the runtime that has to do with perl_require_module. This is the error... ld.so.1: httpd: fatal: relocation error: file /data/users/username/perl/lib/site_perl/5.8.5/sun4-solaris/auto/Apache/Constants/Constants.so: symbol perl_require_module: referenced symbol not found I tried perlmonks, but they refered me back to this list. The only machine I have to test this on is a development server that also has a apache1 running with mod_perl 1, so I need this to work concurrently. Any ideas? Thank you for your help. _ Helping your favorite cause is as easy as instant messaging. You IM, we give. http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join
Virtual host with mod_perl
Hi all, I am new of this mailing list. I spent the last 3 days studying mod_perl and apache: I am trying to configure dynamic virtual hosts on apache. I need to query a db to get the real filesystem location of a virtual server hosted. (I query the db using the requested hostname) I have configured correctly (I suppose) apache conf, ServerName %0 VirtualDocumentRoot /srv/www/vhosts/%0/ HostnameLookups Off UseCanonicalName Off VirtualScriptAlias "/srv/www/vhosts/%0/cgi-bin/" Options None AllowOverride None Order allow,deny Allow from all but now I need to change the path served by apache with the real path where the requested page is hosted. (for example /srv/www/vhosts/www.server1.com/index.html to /mnt/user1/www/index.html) Can someone give me some guidelines about the handlers to use in mod_perl and some ideas about the way to do it? Thank you a lot. Valerio Bontempi
Re: error installing mod_perl 2 - perl_require_module
Jo bu wrote: Hi, I am trying to run apache 2.2.8 on solaris 10. I've gone through a number of issues, and now I have it running with mod_perl 2. However, I get an error from the runtime that has to do with perl_require_module. This is the error... ld.so.1: httpd: fatal: relocation error: file /data/users/username/perl/lib/site_perl/5.8.5/sun4-solaris/auto/Apache/Constants/Constants.so: symbol perl_require_module: referenced symbol not found I tried perlmonks, but they refered me back to this list. The only machine I have to test this on is a development server that also has a apache1 running with mod_perl 1, so I need this to work concurrently. Any ideas? Thank you for your help. Sounds to me like you've got an issue with having tried to install mod_perl 1 and mod_perl 2 in the same perl tree, that's not supported. -- Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5 http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/ signature.asc Description: OpenPGP digital signature
Re: Virtual host with mod_perl
On Thu, Mar 20, 2008 at 06:50:55PM +0100, Valerio wrote: > Hi all, > > I am new of this mailing list. > I spent the last 3 days studying mod_perl and apache: I am trying to > configure dynamic virtual hosts on apache. > I need to query a db to get the real filesystem location of a virtual > server hosted. > (I query the db using the requested hostname) > Why not just configure your system such that the requested hostname corresponds to its location on the filesystem. It seems like you are doing to much work if you need to query a database. Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com signature.asc Description: Digital signature