You are not logged in.

#1 2006-12-27 10:31:52

STiAT
Member
From: Vienna, Austria
Registered: 2004-12-23
Posts: 606

MOD_PERL_API_VERSION

Hello everybody.

I've a smaller problemw ith apache / mod_perl.

It seems as if the MOD_PERL_API_VERSION environment variable is not set by apache.

Error Message:

Error:  Unsupported version of mod_perl at /usr/lib/perl5/site_perl/5.8.8/SOAP/Transport/HTTP2.pm line 85.

If i print the version of modperl (MOD_PERL_API_VERSION) in the die line, it returns nothing, if i check it before, it says it's undefined.

httpd.conf

ServerRoot "/etc/httpd"
Listen 80

LoadModule actions_module          modules/mod_actions.so
LoadModule alias_module            modules/mod_alias.so
LoadModule asis_module             modules/mod_asis.so
LoadModule auth_basic_module       modules/mod_auth_basic.so
LoadModule auth_digest_module      modules/mod_auth_digest.so
LoadModule authn_anon_module       modules/mod_authn_anon.so
LoadModule authn_dbd_module        modules/mod_authn_dbd.so
LoadModule authn_dbm_module        modules/mod_authn_dbm.so
LoadModule authn_default_module    modules/mod_authn_default.so
LoadModule authn_file_module       modules/mod_authn_file.so
LoadModule authz_dbm_module        modules/mod_authz_dbm.so
LoadModule authz_default_module    modules/mod_authz_default.so
LoadModule authz_groupfile_module  modules/mod_authz_groupfile.so
LoadModule authz_host_module       modules/mod_authz_host.so
LoadModule authz_owner_module      modules/mod_authz_owner.so
LoadModule authz_user_module       modules/mod_authz_user.so
LoadModule autoindex_module        modules/mod_autoindex.so
LoadModule cern_meta_module        modules/mod_cern_meta.so
LoadModule cgi_module              modules/mod_cgi.so
LoadModule dav_module              modules/mod_dav.so
LoadModule dav_fs_module           modules/mod_dav_fs.so
LoadModule dbd_module              modules/mod_dbd.so
LoadModule deflate_module          modules/mod_deflate.so
LoadModule dir_module              modules/mod_dir.so
LoadModule dumpio_module           modules/mod_dumpio.so
LoadModule env_module              modules/mod_env.so
LoadModule expires_module          modules/mod_expires.so
LoadModule ext_filter_module       modules/mod_ext_filter.so
LoadModule filter_module           modules/mod_filter.so
LoadModule headers_module          modules/mod_headers.so
LoadModule ident_module            modules/mod_ident.so
LoadModule imagemap_module         modules/mod_imagemap.so
LoadModule include_module          modules/mod_include.so
LoadModule info_module             modules/mod_info.so
LoadModule log_config_module       modules/mod_log_config.so
LoadModule log_forensic_module     modules/mod_log_forensic.so
LoadModule logio_module            modules/mod_logio.so
LoadModule mime_module             modules/mod_mime.so
LoadModule mime_magic_module       modules/mod_mime_magic.so
LoadModule negotiation_module      modules/mod_negotiation.so
LoadModule proxy_module            modules/mod_proxy.so
LoadModule proxy_ajp_module        modules/mod_proxy_ajp.so
LoadModule proxy_balancer_module   modules/mod_proxy_balancer.so
LoadModule proxy_connect_module    modules/mod_proxy_connect.so
LoadModule proxy_ftp_module        modules/mod_proxy_ftp.so
LoadModule proxy_http_module       modules/mod_proxy_http.so
LoadModule rewrite_module          modules/mod_rewrite.so
LoadModule setenvif_module         modules/mod_setenvif.so
LoadModule speling_module          modules/mod_speling.so
LoadModule ssl_module              modules/mod_ssl.so
LoadModule status_module           modules/mod_status.so
LoadModule suexec_module           modules/mod_suexec.so
#LoadModule unique_id_module        modules/mod_unique_id.so
LoadModule userdir_module          modules/mod_userdir.so
LoadModule usertrack_module        modules/mod_usertrack.so
LoadModule version_module          modules/mod_version.so
LoadModule vhost_alias_module      modules/mod_vhost_alias.so
#LoadModule cache_module            modules/mod_cache.so
#LoadModule disk_cache_module       modules/mod_disk_cache.so
#LoadModule mem_cache_module        modules/mod_mem_cache.so
LoadModule php5_module             modules/libphp5.so
LoadModule perl_module             modules/mod_perl.so


<IfModule>
  <IfModule>
    User nobody
    Group nobody
  </IfModule>
</IfModule>

ServerAdmin Georg.Grabler@iT-Austria.com
DocumentRoot "/home/httpd/html"

<Directory>
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>

<Directory>
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all

</Directory>


<IfModule>
    <IfModule>
        DirectoryIndex index.php index.html
        AddType application/x-httpd-php .php
        AddType application/x-httpd-php-source .phps
    </IfModule>
    DirectoryIndex index.html
</IfModule>


<FilesMatch>
    Order allow,deny
    Deny from all
</FilesMatch>


ErrorLog /var/log/httpd/error_log

LogLevel warn

<IfModule>
    LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined
    LogFormat "%h %l %u %t "%r" %>s %b" common

    <IfModule>
      LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i" %I %O" combinedio
    </IfModule>

    CustomLog /var/log/httpd/access_log combined
</IfModule>

<IfModule>
    ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
</IfModule>

<IfModule>
</IfModule>

<Directory>
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>

DefaultType text/plain

<IfModule>
    TypesConfig /etc/httpd/conf/mime.types
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
</IfModule>

Include /etc/httpd/conf/extra/httpd-multilang-errordoc.conf

Include /etc/httpd/conf/extra/httpd-autoindex.conf

Include /etc/httpd/conf/extra/httpd-languages.conf

Include /etc/httpd/conf/extra/httpd-userdir.conf

Include /etc/httpd/conf/extra/httpd-default.conf

<IfModule>
  SSLRandomSeed startup builtin
  SSLRandomSeed connect builtin
</IfModule>

############# GG-TiNT4 #############
Include  /home/n501931/devel/TiNT4/config/Apache.conf

Apache.conf

PerlRequire /home/n501931/devel/TiNT4/bin/ApacheStartup.pl

<Location>
  SetHandler perl-script
  PerlHandler Apache2::SOAP
  PerlSetVar dispatch_to TiNT4::Server::SOAP
</Location>

<Location>
  SetHandler perl-script
  PerlResponseHandler Apache2::TiNT4Web
  PerlSendHeader On
</Location>

PerlModule Apache::DBI

ApacheStartup.pl

$ENV{TINT4_ROOT} = "/home/n501931/devel/TiNT4";
push @INC, ($ENV{TINT4_ROOT}, $ENV{TINT4_ROOT} . "/lib");

$ENV{ORACLE_HOME} = "/opt/instantclient_10_2/";
$ENV{LIBPATH} = "/opt/instantclient_10_2/";

Ability is nothing without opportunity.

Offline

#2 2007-01-14 12:02:08

superstoned
Member
Registered: 2006-09-04
Posts: 268

Re: MOD_PERL_API_VERSION

did you fix this, and did you get it working?!? i'm trying to get twiki working, but the perl/cgi scripts continue to come as text files from a browser instead of being executed... sad


-=] life sucks deeply [=-

Offline

#3 2007-01-14 12:05:10

superstoned
Member
Registered: 2006-09-04
Posts: 268

Re: MOD_PERL_API_VERSION

hmmm, i clearly still have some permission troubles, let's try to fix them first... sad


-=] life sucks deeply [=-

Offline

#4 2007-01-14 12:38:29

superstoned
Member
Registered: 2006-09-04
Posts: 268

Re: MOD_PERL_API_VERSION

and... got it working. big_smile

sorry for bothering anyone!


-=] life sucks deeply [=-

Offline

#5 2007-12-01 23:49:22

rata
Member
Registered: 2006-04-10
Posts: 46

Re: MOD_PERL_API_VERSION

Hi superstoned,
how did you get it work?
I have the same problem.

Offline

Board footer

Powered by FluxBB