Sponsored Content
Top Forums Web Development Apache module development on apache 2.2 Post 302921213 by DGPickett on Wednesday 15th of October 2014 04:11:14 PM
Old 10-15-2014
In CGI, you have to read the POST data from stdin, sometimes just one line, and decode it.

A cookie is set by an HTTP Set-Cookie line and retrieved from $HTTP_COOKIE: Cookie Specification CGI is funny tht way, making you write almost all the output HTTP but reading most of the incoming HTTP for you. CGI Variables

The usual languages (PERL,Ruby,JAVA) have libraries so you can not know a lot of this.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

get error while compiling apache with php module

hi, i'm compiling apache with php module after i finish compile mysql-4.0.0-alpha. i do it as the follow steps after untar'ed them in the same directory, 1) cd apache_1.3.22 ./configure 2) cd php-4.0.6 ./configure --with-mysql=/usr/local/mysql \ --with-apache=../apache_1.3.22 \... (2 Replies)
Discussion started by: jApHEth
2 Replies

2. Filesystems, Disks and Memory

Mog_Gzip a Module For Apache

Mod_gzip, at http://www.remotecommunications.com/apache/mod_gzip/ is a module for Apache that allows you to compress content from an Apache web server on-the-fly. It uses the same compression as gzip and no plugins or extra software is needed by your browser to take advantage of this product.... (0 Replies)
Discussion started by: binhnx2000
0 Replies

3. HP-UX

Module jk2 failed to load into apache server!!

Hi There, Does anyone knows what could be the problem if my apache server is running but unable to load JK2 module into the server. My HTTPS is running on Apache Server 2.0.49 with ssl enabled and compiled with Mod_ssl on HPUX-11.11i. In fact we have try out the following parameter, ... (4 Replies)
Discussion started by: e_jeffhang
4 Replies

4. UNIX for Dummies Questions & Answers

Howto locate locally installed Perl module for a CGI script in APACHE .htaccess

Hi, I have the following simple CGI script, just containg header: #!/usr/bin/perl -w use CGI ':standard'; use lib "/home/myname/lib/perl5/site_perl/5.8.5/"; use Mail::Sendmail; I also have included this directive in ~/public_html/.htaccess : SetEnv PERL5LIB... (0 Replies)
Discussion started by: monkfan
0 Replies

5. Solaris

Apache on Solaris10 configured with loadable module support?

I have Apache 2 webserver as delivered with the Solaris 10 installation. How to verify if Apache is configured with loadable module support? Or if needs to be recompiled with loadable module support. (2 Replies)
Discussion started by: kavera
2 Replies

6. UNIX and Linux Applications

Apache module compilation error

I'm trying to compile an apache module (a tutorial module, Apache 2 Module Tutorial - GNU Build Tools and the Development Environment) and I get errors like this: apr.h:273: error: expected ´=´, ´,´,´;´,´asm´ or ´__attribute__´ before ´apr_off_t´ those errors occur like 30 times in different... (4 Replies)
Discussion started by: hjalle
4 Replies

7. UNIX for Advanced & Expert Users

Apache module & perl problem

I have a very strange problem that I can't seem to solve. I have apache module which filters content and within that module I will add some more content based on this calls: int check; check = system("/usr/bin/check"); check is a perl-script that exits with value 1 if the file doesn't... (2 Replies)
Discussion started by: hjalle
2 Replies

8. Solaris

Compile PHP as an Apache module on Solaris

Hi, I need to install php 5.5.30 as an apache (2.4.17) module on Solaris 10. Please any help is wellcome. Some aditional info: /usr/sfw/bin/gcc -v Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs bash-3.2# g++ -v Reading specs from... (0 Replies)
Discussion started by: lbslbs
0 Replies

9. Shell Programming and Scripting

Solaris install php as an apache module

Hi, I need to install php 5.5.30 as an apache (2.4.17) module on Solaris 10. Please any help is wellcome. Some aditional info: /usr/sfw/bin/gcc -v Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs bash-3.2# g++ -v Reading specs from... (1 Reply)
Discussion started by: lbslbs
1 Replies
bench(1)						      General Commands Manual							  bench(1)

NAME
bench - http benchmark SYNOPSIS
bench [-n requests] [-c concurrency] [-t timeout] [-k] [-K count] [-C cookie-file] [http://]host[:port]/uri DESCRIPTION
bench is a HTTP benchmark program that can fetch the same URL over and over again, or fetch several URLs (coming in from stdin). If you specify a URL on the command line, this URL will be fetch many times (specify with -n, default: 10000) with several connections open in parallen (specify with -c, default: 10). You can specify a timeout (per request) in seconds with -t. The -k switch activates keep-alive mode. In keep-alive mode, the TCP connection is not closed between requests. You also have to specify how many HTTP requests can go over one TCP connection with -K. bench can also send one HTTP cookie per connection, as specified using a cookie file. The cookie file is read line by line, and each request gets the next line inserted into it. So each line should look something like this: Cookie: foo=bar If the end of the file is reached, bench restarts it at the beginning. AUTHOR
Initially written by Felix von Leitner <felix-gatling@fefe.de>. LICENSE
GPLv2 (see http://www.gnu.org/copyleft/gpl.html) bench(1)
All times are GMT -4. The time now is 10:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy