httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Umar <>
Subject [users@httpd] Strange problem with mod_fcgid
Date Sun, 29 Aug 2010 07:00:12 GMT

Dear Users,

I am facing strange problem with mod_fcgid while using mod_rewrite.

Here is my rewrite rule.

RewriteRule ^/.*-jobs-apply-(\d+) /imran.php [L]

When i am trying to access

Its not working.

Here is the rewrite log - - [29/Aug/2010:06:48:43 +0500]
[][rid#289af058/initial] (2) init rewrite engine
with requested uri /abcd-jobs-apply-200 - - [29/Aug/2010:06:48:43 +0500]
[][rid#289af058/initial] (3) applying pattern
'^/.*-jobs-apply-(\d+)' to uri '/abcd-jobs-apply-200' - - [29/Aug/2010:06:48:43 +0500]
[][rid#289af058/initial] (2) rewrite
'/abcd-jobs-apply-200' -> '/imran.php' - - [29/Aug/2010:06:48:43 +0500]
[][rid#289af058/initial] (2) local path result:
/imran.php - - [29/Aug/2010:06:48:43 +0500]
[][rid#289af058/initial] (2) prefixed with
document_root to /usr/local/www/mydata/imran.php - - [29/Aug/2010:06:48:43 +0500]
[][rid#289af058/initial] (1) go-ahead with
/usr/local/www/mydata/imran.php [OK]

Here is www error log

[Sun Aug 29 06:48:43 2010] [warn] [client] (53)Software
caused connection abort: mod_fcgid: error reading data from FastCGI server
[Sun Aug 29 06:48:43 2010] [error] [client] Premature end of
script headers: imran.php

But if i change my rewrite rule something like this.

RewriteRule ^/netadmin30-jobs-apply-(\d+) /imran.php [L]

Then its work perfect, that means problem with ^/.*

Would you please help how i can solve this


View this message in context:
Sent from the Apache HTTP Server - Users mailing list archive at

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message