perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Rodkin" <ma...@mail.ru>
Subject non-http request service by mod_perl or mod_cgi or else
Date Thu, 24 May 2007 11:54:49 GMT
Hi all,
i have a question.
is ir possible to service  non-http request , for example:
"$355632000166323,1,1,040202,093633,E12129.2252,N2459.8891,00161,0.0100,147,
07*37!"
This request not contain "GET /cgi-bin/main.cgi  HTTP/1.1" headers, and
can`t service by apache in usual way.
In http://perl.apache.org/outstanding/success_stories/sms_server.html i did
read, it`s possible, but not understand all, exactly:
1. imho, apache will reject non-http request
2.SCRIPT_NAME cgi variable not defined - it`s not problem, apache can
configured to cgi-script by default
3. what cgi variable will contain data string?
4. can cgi script return just clear "$OK!" to client? Without apache addons
to answer...

Respect, Max Rodkin




Mime
View raw message