CGI programs typically get a single HTTP request.
HTTP 1.1 supports persistent HTTP connections whereby multiple HTTP requests/responses are made w/o closing the connection.
Is there a way for a CGI program (or similar mechanism) to handle multiple HTTP requests/responses on the same connection?
I am using Apache httpd.
...
Hi everyone,
I've been trying to solve a little problem for quite a while now but it seems I'm not able to.
I wrote an HTML page which calls a perl CGI script upon submitting a form. This CGI executes a certain number of tasks server-side and I made the script print the steps of these tasks into an iframe on the HTML page. The thing i...
I am looking into using Hudson to perform continuous integration testing for developing apache modules using mod_perl. Does anyone have any best practices or recommended strategies for utilizing these kinds of CI systems with apache modules?
...
To run a simple PHP app on users' desktop, I need a light, installer-free, portable www server for Windows that I can just stick into a ZIP file with the minimum files needed to run PHP (php-cgi.exe, php.ini, php5ts.dll, php_pdo_sqlite.dll), so the user only has to unzip the files into a directory, double-click the www EXE, and have a wo...
I have a production website running apache on linux. There are all sorts of rules set up which I don't want to mess with.
I need to restart apache so I decided to do a configtest first to check that everything was ok.
My question is, will apache restart given this error?
>$ service httpd configtest
Syntax error on line 129 of /et...
Hello, I've been configuring LAMP server on Fedora core 13 and when I tr to include my configuration files from within
/etc/http/conf/httpd.conf
using apache's Include directive, apache just fails on restart action.
What is the problem, is there any problems on Selinux stack?
Sultan
...
hello,
i found out that my server is getting slower and slower.
on command top i get response that i have a lot svcrack.py and svwar.py processes active.
can you tell me what are those?
thank you in advance!
...
Hi !
I'm trying to execute mingw's g++ from inside a cgi written for apache. The line I execute is:
c:\mingw\bin\g++.exe -Wall -IC:\hpxbase -O2 -c -v -o code.o code.cpp
This works when I call exactly this line from a cmd window. But when run from my cgi, g++ crashes. I made the cgi open up ots own console window and there is the messa...
In old versions of tomcat (like 3.2) you can find the recomendation to serve static content in a apache web server and leave the dynamic content to the tomcat itself.
At the new versions of the tomcat docs you cannot find any reference to this practice even at the mod_jk configuration tutorial.
So I am wondering.
Is still true that tom...
Apache 2.2.16 is currently the "best available version" of the HTTP Server. I made some changes to the source and need to recompile with OpenSSL. My question is, should I use OpenSSL 0.9.8o or OpenSSL 1.0.0a? The latter is a more recent, major release, but Apache couples HTTPD 2.2.16 with OpenSSL 0.9.8o in their binary offering. See ...
I am planning to integrate Apache httpd server with Tomcat using the proxy module to forward certain addresses to be processed by Tomcat. However I wanted to ask if it is possible to combine the output from Tomcat with content from apache httpd so that they are returned to the client as part of one html page? (no frames or funny business...
If a page takes over a couples seconds to process, I'd like Apache to log that URL somewhere. Is this possible? I have a lot of sites, so I was looking for an automatic way to do this as opposed to proprietary code for each site.
...
I'm using Struts 1. I have a list of stores in our database. The store table contains store id, store name, url friendly store path, store address. For example, "1; Store 1; the-wonderful-store; 52 Main St.",
When a request comes in for /store/the-wonderful-store.do, I want to grab "the-wonderful-store" and query the DB for the store...
On my main page, the navigation links are as follows:
localhost/inventory/add
localhost/inventory/view
The code for those are:
<a href='add'>Add Record</a>
<a href='view'>View Records</a>
and my .htaccess file is:
RewriteEngine on
RewriteRule ^([^/\.]+)/?$ ./index.php?url=$1 [L]
RewriteRule ^([^/\.]+)/?/([^/\.]+)/?$ ./index.php?u...
I'm using ISAPI_Rewrite, Windows server 2008.
Currently I am rewriting URLs to httpd.ini like this:
RewriteRule /this-is-my-super-fancy-url/([^/]+)? /foobar/index.html?nid=10$1
Problem is, now we need to remove certain words from the URL, yet still have the request filled. For instance, in the example above if I needed to remove the...
Hi,
I'm using XAMPP lite on Windows 7, but instead of http://localhost I'd like to have http://mycustomname mapped to a directory myfolder in root/htdocs.
What should I change in httpd.conf?
Many thanks!
...
I have built a Spring 3 MVC driven RESTful web service app. I use Maven 2 to manage the application lifecycle including packaging up the WAR for distribution. As part of the end solution, I filter application requests through Apache to handle some of the GET requests for static content. This of course requires that I have several custom ...
I am using a django with apache mod_wsgi, my site has dynamic data on every page and all of the media (css, images, js) is stored on amazon S3 buckets liked via "http://bucket.domain.com/images/*.jpg" inside the markup . . . . my question is, can varnish still help me speed up my web server?
I am trying to knock down all the stumbling b...
I have a php application using NuSOAP on a RHEL5/CentOS dedicated system.
I'm runing into the following error:
2010-10-21 06:23:43.374471 soap_transport_http: entered send() with data of length: 1693
2010-10-21 06:23:43.374510 soap_transport_http: connect connection_timeout 0, response_timeout 30, scheme http, host www.mysite.com, port...
Hi,
Recently my apache got DoS attack, it happened attacker flood SYN request to our apache, i know because at that time i have wireshark enabled.
After the attack finished, i restart my apache and its all back to run normal. But the problem when i check my serverstatus from mod-status there are some threads are showing
> 0-92 61968...