Hello,

I am in trouble and I need some expert's help to sort the problem out.
I have RedHat 8 with Apache 2 , but the problem is when i tried to use name based virtual host with custom log in pipe mode to a cgi file, the pipe'd section does not work.
The vhost section is as below....



<VirtualHost 192.168.0.161> DocumentRoot /home/projects/projects/test/html/

 ErrorLog /home/projects/projects/test/logs/error_log
#    CustomLog /home/projects/projects/test/logs/access_log combined

ScriptAlias /cgi-bin/ "/home/projects/projects/test/cgi-bin/"

 <Directory "/home/projects/projects/test/cgi-bin">
     AllowOverride None
      Options ExecCGI
       Order allow,deny
     Allow from all
 </Directory>
   <Directory "/home/projects/projects/test/html">
     Options Indexes FollowSymLinks ExecCGI Includes
     AllowOverride AuthConfig
     Order allow,deny
     Allow from all
 </Directory>

ServerName test.progteam2

PerlRequire /home/projects/projects/test/cgi-bin/CoinPassMod/CoinPass.pm
#PerlRequire /home/projects/projects/test/cgi-bin/CoinPassMod/LogDBI.pm


<Location /CoinPass> SetHandler perl-script PerlResponseHandler CoinPassMod::CoinPass </Location>

<Location /kkk>
PerlLogHandler CoinPassMod::LogDBI
</Location>

CustomLog "| /home/projects/projects/test/cgi-bin/mysqllog.cgi common" common

</VirtualHost>

Everything working perfectly, but the last section of piped custom log does not work, it dont even work if i use any other command which takes stdin, like gzip or anything.

Could you please tell me what is the problem?

Thanks & Regards

Nirjhareswar Banerjee
Projects Leader
Radix Technologies



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to