Sponsored Content
Full Discussion: mod_perl with apache
Special Forums UNIX and Linux Applications mod_perl with apache Post 302234885 by csgonan on Wednesday 10th of September 2008 04:31:48 PM
Old 09-10-2008
mod_perl with apache

I think this is more of a application question than a scripting question.

On a solaris 8 server with Apache 2.6 and perl 5.8.8, we have an html/javascript file that uses HTTP Post to a perl script. The perl script sends data back via HTTP get to a redirected HTML file. The HTML file strips off data from the command line of the URL (suff after the "?") and then posts more data to the perl script until all of the data it needs is retreived. This works fine in perl without mod-perl enabled, but loops in modperl, as if the initial connection for the first request is still open and the same data is being endlessly sent back. This happens on later versions of Solaris as well.

We did find that after what seems like many interations of the looping, the data finally get processed and the subsequent screen appears, but that is after a minute at least. When not using mod_perl, this doesn't happen. The developer wanted to put in a "wait" type command to see if that worked, but it did not make a difference.

Has anyone seen this type of behavior?

Thank you very much
 

10 More Discussions You Might Find Interesting

1. IP Networking

Apache

I want to have multiple domains to be configured in apache web server on redhat linux Please help me Vijay (2 Replies)
Discussion started by: Vijayanand
2 Replies

2. Shell Programming and Scripting

apache mod_perl

how do i get a mod_perl for apache on a win98 box ? (1 Reply)
Discussion started by: perleo
1 Replies

3. UNIX for Advanced & Expert Users

mod_perl & Apache::AuthenNTLM

has anyone used these? i am useing Apache 2 and mod_perl 1.99_12. (the latest for both) <Location /test> PerlAuthenHandler Apache::AuthenNTLM AuthType ntlm require valid-user PerlAddVar ntdomain "CONWAY QGATS006 CNFQS022" PerlSetVar defaultdomain CONWAY PerlSetVar ntlmdegub 2... (1 Reply)
Discussion started by: Optimus_P
1 Replies

4. BSD

Installation of mod_perl

Hello I need somebody help me! for mod_perl installation i cant even get configuration over yet till now error message is "aborted line 36 in Makefile.PL" my OS is freebsd4.6 and apache2.2,perl5.8.8 is installed i use mod_perl-2.0.2 and move directory then type below $ perl Makefile.PL... (2 Replies)
Discussion started by: antoniozacca
2 Replies

5. UNIX for Advanced & Expert Users

mod_perl install help on solaris 9

Hello, I'm trying to install mod_perl on solaris 9, but I get an error. It seems to complain about my c compiler, but I may be wrong. If it is, I already defined the path to my c complier, which is gcc. Please advise. #cd /usr/src/mod_perl-1.29 #perl Makefile.PL... (3 Replies)
Discussion started by: xnightcrawl
3 Replies

6. UNIX for Advanced & Expert Users

Mod_Perl and Apache22

I am running FreeBsd 6.1 and I installed mod_perl2 using ports but it still isn't loading into apache. What do I have to do to get mod_perl to load in apache??????????? (1 Reply)
Discussion started by: rbizzell
1 Replies

7. UNIX and Linux Applications

Error While installing Mod_perl

Hi All, I am installing mod_perl in my machine but getting some error below is the procedures which I followed for installing the mod_perl Step1 : perl Makefile.PL MP_APR_CONFIG=/usr/local/apache2/bin/ asked for apache path given : /usr/local/apache2 Step2: make Step 3: make test In... (2 Replies)
Discussion started by: jacknicolson
2 Replies

8. Web Development

[SOLVED] mod_perl prints error 500 right on web page

only happens with mod_perl (AddHandler perl-script) with AddHandler cgi-script all is fine for some reason it adds this html-code on my error page: it's just like php-error report it happens when user does a mistake in form he gets error page when i use cgi-method there's just error... (0 Replies)
Discussion started by: tip78
0 Replies

9. Web Development

Apache module development on apache 2.2

Hi, I'm new to developing modules for Apache. I understand the basics now and can develop something simple which allows a 'GET' request to happen, but what I want to do is actually 'POST' information to my site. I know the basic POST Request works and I can see that it is post by looking at... (2 Replies)
Discussion started by: fishman2001
2 Replies

10. Red Hat

Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-la

Have no idea on what the below error message is: Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-launcher.jar org.apache.tools.ant.launch.Launcher -buildfile build.xml dist. Any help? (3 Replies)
Discussion started by: gull05
3 Replies
http(n) 							 Tnm Tcl Extension							   http(n)

__________________________________________________________________________________________________________________________________________________

NAME
http - Send and process HTTP requests. _________________________________________________________________ DESCRIPTION
The Hypertext Transfer Protocol (HTTP) (RFC 1945) is a client/server protocol used to retrieve documents in the World Wide Web. Documents are addressed using Uniform Resource Locators (URL) (RFC 1738). The http command allows to implement HTTP clients and a simple HTTP server. HTTP COMMAND
The following list of http commands is useful for HTTP clients: http proxy [url] The http proxy command allows to define a proxy HTTP server which will be used in subsequent client commands. Using this command without an url argument will return the URL to the currently used proxy or an empty string. Providing a url argument sets the proxy server. Setting the proxy to an empty string turns the proxy feature off. http head url The http head command retrieves the HTTP header for the document located at url. The header is returned as a list of keys and values which can be converted into a Tcl array using the array set command. http get url fileName The http get command retrieves the document located at url. The body of the document is written to the file named fileName. The com- mand returns the HTTP header as described for the http head command above. http post url docFileName fileName The http post command posts the document in docFileName to the location url. The body of the returned document is written to the file named fileName. The command returns the HTTP header as described for the http head command above. http put url docFileName The http put command puts the document in docFileName to the location url. The command returns the HTTP header as described for the http head command above. http delete url The http delete command deletes the document at the location defined by url. The command returns HTTP status information. The following set of http commands is useful for a simple HTTP server: http server [port] The http server command starts a simple HTTP server listening on port port. If called without a port argument, the currently used port number or an empty string is returned. An empty string indicates that no server is currently active. http mime type extension The http mime command is used to add mime type definitions to the internal table which maps file name extension to mime types. If called without an argument, the list of all mime type mappings is returned. A new mapping is created by supplying a mime type and the file name extension. http bind pattern method [script] The http bind command binds a Tcl script to the invocation of a HTTP method where the URL matches pattern. Whenever a HTTP request of type method is received that matches the pattern, script is evaluated. The return value of the script must be a name of a file which will be send back to the client. Errors during the evaluation of the script will result in an error response. The following % sequences are substituted before a script bound to a URL is evaluated: %A The network address of the client. %P The URL path requested by the client. %S The search path contained in the URL path. SEE ALSO
scotty(1), Tnm(n), Tcl(n) AUTHORS
Juergen Schoenwaelder <schoenw@cs.utwente.nl> Tnm http(n)
All times are GMT -4. The time now is 06:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy