Apache::Cookie Problem

Hello all,

I can’t seem to get Apache::Cookie to work. It seems to make ok because I get
a make ok message. I can’t seem to figure out what is wrong. I am geting the
403 Forbidden but I don’t know why. What should I be looking at. It’s making
it’s own httpd.conf.

Sorry for the book but can anyone help me.

Thanks
Jason

For testing purposes, please give the full path to an httpd
with mod_perl enabled. The path defaults to $ENV{APACHE}, if present.
[/usr/lib/httpd/httpd] (’!’ to skip): /usr/sbin/apache
/usr/sbin/apache not found

[/usr/lib/httpd/httpd] (’!’ to skip): /usr/sbin/httpd
Search existing config file for dynamic module dependencies? [y]:
Config file [/etc/httpd/conf/httpd.conf]:
Adding the following dynamic config lines:
LoadModule vhost_alias_module /etc/httpd/modules/mod_vhost_alias.so
LoadModule bandwidth_module /etc/httpd/modules/mod_bandwidth.so
LoadModule throttle_module /etc/httpd/modules/mod_throttle.so
LoadModule env_module /etc/httpd/modules/mod_env.so
LoadModule config_log_module /etc/httpd/modules/mod_log_config.so
LoadModule agent_log_module /etc/httpd/modules/mod_log_agent.so
LoadModule referer_log_module /etc/httpd/modules/mod_log_referer.so
LoadModule mime_module /etc/httpd/modules/mod_mime.so
LoadModule negotiation_module /etc/httpd/modules/mod_negotiation.so
LoadModule status_module /etc/httpd/modules/mod_status.so
LoadModule info_module /etc/httpd/modules/mod_info.so
LoadModule includes_module /etc/httpd/modules/mod_include.so
LoadModule autoindex_module /etc/httpd/modules/mod_autoindex.so
LoadModule dir_module /etc/httpd/modules/mod_dir.so
LoadModule cgi_module /etc/httpd/modules/mod_cgi.so
LoadModule asis_module /etc/httpd/modules/mod_asis.so
LoadModule imap_module /etc/httpd/modules/mod_imap.so
LoadModule action_module /etc/httpd/modules/mod_actions.so
LoadModule userdir_module /etc/httpd/modules/mod_userdir.so
LoadModule alias_module /etc/httpd/modules/mod_alias.so
LoadModule rewrite_module /etc/httpd/modules/mod_rewrite.so
LoadModule access_module /etc/httpd/modules/mod_access.so
LoadModule auth_module /etc/httpd/modules/mod_auth.so
LoadModule anon_auth_module /etc/httpd/modules/mod_auth_anon.so
LoadModule db_auth_module /etc/httpd/modules/mod_auth_db.so
LoadModule expires_module /etc/httpd/modules/mod_expires.so
LoadModule headers_module /etc/httpd/modules/mod_headers.so
LoadModule setenvif_module /etc/httpd/modules/mod_setenvif.so
LoadModule perl_module /etc/httpd/modules/libperl.so
LoadModule php4_module /etc/httpd/modules/libphp4.so
LoadModule dav_module /etc/httpd/modules/libdav.so
LoadModule ssl_module /etc/httpd/modules/libssl.so
AddModule mod_vhost_alias.c
AddModule mod_bandwidth.c
AddModule mod_throttle.c
AddModule mod_env.c
AddModule mod_log_config.c
AddModule mod_log_agent.c
AddModule mod_log_referer.c
AddModule mod_mime.c
AddModule mod_negotiation.c
AddModule mod_status.c
AddModule mod_info.c
AddModule mod_include.c
AddModule mod_autoindex.c
AddModule mod_dir.c
AddModule mod_cgi.c
AddModule mod_asis.c
AddModule mod_imap.c
AddModule mod_actions.c
AddModule mod_userdir.c
AddModule mod_alias.c
AddModule mod_rewrite.c
AddModule mod_access.c
AddModule mod_auth.c
AddModule mod_auth_anon.c
AddModule mod_auth_db.c
AddModule mod_expires.c
AddModule mod_headers.c
AddModule mod_so.c
AddModule mod_setenvif.c
AddModule mod_perl.c
AddModule mod_php4.c
AddModule mod_dav.c
AddModule mod_ssl.c
User to run tests under [nobody]: apache
Group to run tests under [nobody]: apache
Port to run tests under [8228]:
Checking if your kit is complete…
Looks good
Writing Makefile for libapreq
mkdir …/blib
mkdir …/blib/arch
mkdir …/blib/arch/auto
mkdir …/blib/arch/auto/libapreq
Warning: -L…/blib/arch/auto/libapreq changed to
-L/root/.cpan/build/libapreq-1.1/Request/…/blib/arch/auto/libapreq
Writing Makefile for Apache::Request
Warning: -L…/blib/arch/auto/libapreq changed to
-L/root/.cpan/build/libapreq-1.1/Cookie/…/blib/arch/auto/libapreq
Writing Makefile for Apache::Cookie
Writing Makefile for libapreq
cp libapreq.pod blib/lib/libapreq.pod
cp lib/Apache/libapreq.pm blib/lib/Apache/libapreq.pm
make[1]: Entering directory /root/.cpan/build/libapreq-1.1/c' gcc -c -I/usr/lib/perl5/vendor_perl/5.6.1/i386-linux/auto/Apache/include -I/usr/lib/perl5/vendor_perl/5.6.1/i386-linux/auto/Apache/include/modules/perl -I/usr/include/apache -I/usr/include/apache -fno-strict-aliasing -I/usr/local/include -O2 -march=i386 -mcpu=i686 -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -fPIC -I/usr/lib/perl5/5.6.1/i386-linux/CORE apache_request.c gcc -c -I/usr/lib/perl5/vendor_perl/5.6.1/i386-linux/auto/Apache/include -I/usr/lib/perl5/vendor_perl/5.6.1/i386-linux/auto/Apache/include/modules/perl -I/usr/include/apache -I/usr/include/apache -fno-strict-aliasing -I/usr/local/include -O2 -march=i386 -mcpu=i686 -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -fPIC -I/usr/lib/perl5/5.6.1/i386-linux/CORE apache_cookie.c gcc -c -I/usr/lib/perl5/vendor_perl/5.6.1/i386-linux/auto/Apache/include -I/usr/lib/perl5/vendor_perl/5.6.1/i386-linux/auto/Apache/include/modules/perl -I/usr/include/apache -I/usr/include/apache -fno-strict-aliasing -I/usr/local/include -O2 -march=i386 -mcpu=i686 -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -fPIC -I/usr/lib/perl5/5.6.1/i386-linux/CORE apache_multipart_buffer.c rm -rf ../blib/arch/auto/libapreq/libapreq.a /usr/bin/ar cr ../blib/arch/auto/libapreq/libapreq.a apache_request.o apache_cookie.o apache_multipart_buffer.o && : ./blib/arch/auto/libapreq/libapreq.a chmod 755 ../blib/arch/auto/libapreq/libapreq.a cp apache_cookie.h ../blib/arch/auto/libapreq/include/apache_cookie.h cp apache_multipart_buffer.h ./blib/arch/auto/libapreq/include/apache_multipart_buffer.h cp apache_request.h ../blib/arch/auto/libapreq/include/apache_request.h make[1]: Leaving directory/root/.cpan/build/libapreq-1.1/c’
make[1]: Entering directory /root/.cpan/build/libapreq-1.1/Request' cp Request.pm ../blib/lib/Apache/Request.pm /usr/bin/perl -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 /usr/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.6.1/ExtUtils/typemap -typemap /usr/lib/perl5/vendor_perl/5.6.1/i386-linux/auto/Apache/typemap Request.xs > Request.xsc && mv Request.xsc Request.c gcc -c -I../c -I/usr/lib/perl5/vendor_perl/5.6.1/i386-linux/auto/Apache/include -I/usr/lib/perl5/vendor_perl/5.6.1/i386-linux/auto/Apache/include/modules/perl -I/usr/include/apache -I/usr/include/apache -fno-strict-aliasing -I/usr/local/include -O2 -march=i386 -mcpu=i686 -DVERSION=\"1.1\" -DXS_VERSION=\"1.1\" -fPIC -I/usr/lib/perl5/5.6.1/i386-linux/CORE Request.c Running Mkbootstrap for Apache::Request () chmod 644 Request.bs rm -f ../blib/arch/auto/Apache/Request/Request.so LD_RUN_PATH="/root/.cpan/build/libapreq-1.1/Request/../blib/arch/auto/libapreq " gcc -shared -L/usr/local/lib Request.o -o ./blib/arch/auto/Apache/Request/Request.so -L/root/.cpan/build/libapreq-1.1/Request/../blib/arch/auto/libapreq -lapreq chmod 755 ../blib/arch/auto/Apache/Request/Request.so cp Request.bs ../blib/arch/auto/Apache/Request/Request.bs chmod 644 ../blib/arch/auto/Apache/Request/Request.bs Manifying ../blib/man3/Apache::Request.3pm make[1]: Leaving directory/root/.cpan/build/libapreq-1.1/Request’
make[1]: Entering directory /root/.cpan/build/libapreq-1.1/Cookie' cp Cookie.pm ../blib/lib/Apache/Cookie.pm /usr/bin/perl -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 /usr/lib/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.6.1/ExtUtils/typemap -typemap /usr/lib/perl5/vendor_perl/5.6.1/i386-linux/auto/Apache/typemap Cookie.xs > Cookie.xsc && mv Cookie.xsc Cookie.c gcc -c -I../c -I/usr/lib/perl5/vendor_perl/5.6.1/i386-linux/auto/Apache/include -I/usr/lib/perl5/vendor_perl/5.6.1/i386-linux/auto/Apache/include/modules/perl -I/usr/include/apache -I/usr/include/apache -fno-strict-aliasing -I/usr/local/include -O2 -march=i386 -mcpu=i686 -DVERSION=\"1.1\" -DXS_VERSION=\"1.1\" -fPIC -I/usr/lib/perl5/5.6.1/i386-linux/CORE Cookie.c Running Mkbootstrap for Apache::Cookie () chmod 644 Cookie.bs rm -f ../blib/arch/auto/Apache/Cookie/Cookie.so LD_RUN_PATH="/root/.cpan/build/libapreq-1.1/Cookie/../blib/arch/auto/libapreq" gcc -shared -L/usr/local/lib Cookie.o -o ./blib/arch/auto/Apache/Cookie/Cookie.so -L/root/.cpan/build/libapreq-1.1/Cookie/../blib/arch/auto/libapreq -lapreq chmod 755 ../blib/arch/auto/Apache/Cookie/Cookie.so cp Cookie.bs ../blib/arch/auto/Apache/Cookie/Cookie.bs chmod 644 ../blib/arch/auto/Apache/Cookie/Cookie.bs Manifying ../blib/man3/Apache::Cookie.3pm make[1]: Leaving directory/root/.cpan/build/libapreq-1.1/Cookie’
Manifying blib/man3/libapreq.3pm
Manifying blib/man3/Apache::libapreq.3pm
/usr/bin/make – OK
Running make test

PERL_DL_NONLAZY=1 PORT=8228 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 -e ‘use Test::Harness
qw(&runtests $verbose); $verbose=2; runtests @ARGV;’ t/*.t
t/cookie…

403 Forbidden

Forbidden

You don't have permission to access /request-cookie.pl on this server.

skipped all skipped: no reason given t/inherit....1..1 HTTP/1.1 403 Forbidden Connection: close Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6b DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 mod_throttle/3.1.2 Content-Type: text/html; charset=iso-8859-1 Client-Date: Sun, 09 Feb 2003 05:43:30 GMT Client-Response-Num: 1 Client-Transfer-Encoding: chunked Title: 403 Forbidden 403 Forbidden

Forbidden

You don't have permission to access /request-inherit.pl on this server.

not ok 1
HTTP/1.1 403 Forbidden
Connection: close
Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6b
DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 mod_throttle/3.1.2
Content-Type: text/html; charset=iso-8859-1
Client-Date: Sun, 09 Feb 2003 05:43:30 GMT
Client-Response-Num: 1
Client-Transfer-Encoding: chunked
Title: 403 Forbidden

403 Forbidden

Forbidden

You don't have permission to access /request-inherit.pl on this server.

FAILED test 1
Failed 1/1 tests, 0.00% okay
t/request…1…10
HTTP/1.1 403 Forbidden
Connection: close
Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6b
DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 mod_throttle/3.1.2
Content-Type: text/html; charset=iso-8859-1
Client-Date: Sun, 09 Feb 2003 05:43:30 GMT
Client-Response-Num: 1
Client-Transfer-Encoding: chunked
Title: 403 Forbidden

403 Forbidden

Forbidden

You don't have permission to access /request-param.pl on this server.

not ok 1
HTTP/1.1 403 Forbidden
Connection: close
Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6b
DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 mod_throttle/3.1.2
Content-Type: text/html; charset=iso-8859-1
Client-Date: Sun, 09 Feb 2003 05:43:30 GMT
Client-Response-Num: 1
Client-Transfer-Encoding: chunked
Title: 403 Forbidden

403 Forbidden

Forbidden

You don't have permission to access /request-param.pl on this server.

HTTP/1.1 403 Forbidden
Connection: close
Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6b
DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 mod_throttle/3.1.2
Content-Type: text/html; charset=iso-8859-1
Client-Date: Sun, 09 Feb 2003 05:43:30 GMT
Client-Response-Num: 1
Client-Transfer-Encoding: chunked
Title: 403 Forbidden

403 Forbidden

Forbidden

You don't have permission to access /request-param.pl on this server.

not ok 2
HTTP/1.1 403 Forbidden
Connection: close
Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6b
DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 mod_throttle/3.1.2
Content-Type: text/html; charset=iso-8859-1
Client-Date: Sun, 09 Feb 2003 05:43:30 GMT
Client-Response-Num: 1
Client-Transfer-Encoding: chunked
Title: 403 Forbidden

403 Forbidden

Forbidden

You don't have permission to access /request-param.pl on this server.

HTTP/1.1 403 Forbidden
Connection: close
Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6b
DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 mod_throttle/3.1.2
Content-Type: text/html; charset=iso-8859-1
Client-Date: Sun, 09 Feb 2003 05:43:30 GMT
Client-Response-Num: 1
Client-Transfer-Encoding: chunked
Title: 403 Forbidden

403 Forbidden

Forbidden

You don't have permission to access /request-upload.pl on this server.

not ok 3
/usr/lib/perl5/5.6.1/pod/perlfunc.pod should have 5885 lines
(request-upload.pl says: )
not ok 4
HTTP/1.1 403 Forbidden
Connection: close
Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6b
DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 mod_throttle/3.1.2
Content-Type: text/html; charset=iso-8859-1
Client-Date: Sun, 09 Feb 2003 05:43:30 GMT
Client-Response-Num: 1
Client-Transfer-Encoding: chunked
Title: 403 Forbidden

403 Forbidden

Forbidden

You don't have permission to access /request-upload.pl on this server.

not ok 5
/usr/lib/perl5/5.6.1/pod/perlpod.pod should have 318 lines (request-upload.pl
says: )
not ok 6
HTTP/1.1 403 Forbidden
Connection: close
Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6b
DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 mod_throttle/3.1.2
Content-Type: text/html; charset=iso-8859-1
Client-Date: Sun, 09 Feb 2003 05:43:30 GMT
Client-Response-Num: 1
Client-Transfer-Encoding: chunked
Title: 403 Forbidden

403 Forbidden

Forbidden

You don't have permission to access /request-upload.pl on this server.

not ok 7
/usr/lib/perl5/5.6.1/pod/perlxs.pod should have 1780 lines (request-upload.pl
says: )
not ok 8
HTTP/1.1 403 Forbidden
Connection: close
Server: Apache/1.3.27 (Unix) (Red-Hat/Linux) mod_ssl/2.8.12 OpenSSL/0.9.6b
DAV/1.0.3 PHP/4.1.2 mod_perl/1.26 mod_throttle/3.1.2
Content-Type: text/html; charset=iso-8859-1
Client-Date: Sun, 09 Feb 2003 05:43:30 GMT
Client-Response-Num: 1
Client-Transfer-Encoding: chunked
Title: 403 Forbidden

403 Forbidden

Forbidden

You don't have permission to access /request-upload.pl on this server.

not ok 9
t/request.t should have 116 lines (request-upload.pl says: )
not ok 10
FAILED tests 1-10
Failed 10/10 tests, 0.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
t/inherit.t 1 1 100.00% 1
t/request.t 10 10 100.00% 1-10
1 test skipped.
Failed 2/3 test scripts, 33.33% okay. 11/11 subtests failed, 0.00% okay.
make: *** [run_tests] Error 11
[root@itsecurity1 libapreq-1.1]#

Jason Alexander
Senior Security Analyst
CIO Office, The University of Iowa
300-28 University Services Building
jason-alexander@uiowa.edu / 319-335-6174