Help - Perl CGI problem after ASL installation

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
RichardM
Forum User
Forum User
Posts: 69
Joined: Sun Apr 20, 2008 2:51 pm

Help - Perl CGI problem after ASL installation

Unread post by RichardM »

Having just installed Atomic Secured Linux, I find that Perl CGI for form posts no longer works.

Specifically, if $ENV{'REQUEST_METHOD'} is POST, then this no longer works:

my $data;
read(STDIN, $data, $ENV{'CONTENT_LENGTH'});

This is a very serious problem for me, so any help would be much appreciated!

(How can I disable ASL until I find a solution?)
RichardM
Forum User
Forum User
Posts: 69
Joined: Sun Apr 20, 2008 2:51 pm

Unread post by RichardM »

Ha!

The problem is caused by my having a previous version of mod_security installed ( 1.8 ) . ASL then installs 2.5. When I comment out 1.8 in httpd.conf normal service is resumed:
#LoadModule security_module /usr/lib/httpd/modules/mod_security.so

(My guess is that mod_security1.8 picks up the post CGI and sanitizes it and locks it away someplace. Mod_security2.5 then tries the same thing and finds the post CGI values have gone away?)
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

They definitely dont get along together.
Post Reply