httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Umar <unix...@gmail.com>
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 http://www.mysite.org/netadmin30-jobs-apply-293

Its not working.

Here is the rewrite log

119.158.119.130 - - [29/Aug/2010:06:48:43 +0500]
[www.mysite.org/sid#28932018][rid#289af058/initial] (2) init rewrite engine
with requested uri /abcd-jobs-apply-200
119.158.119.130 - - [29/Aug/2010:06:48:43 +0500]
[www.mysite.org/sid#28932018][rid#289af058/initial] (3) applying pattern
'^/.*-jobs-apply-(\d+)' to uri '/abcd-jobs-apply-200'
119.158.119.130 - - [29/Aug/2010:06:48:43 +0500]
[www.mysite.org/sid#28932018][rid#289af058/initial] (2) rewrite
'/abcd-jobs-apply-200' -> '/imran.php'
119.158.119.130 - - [29/Aug/2010:06:48:43 +0500]
[www.mysite.org/sid#28932018][rid#289af058/initial] (2) local path result:
/imran.php
119.158.119.130 - - [29/Aug/2010:06:48:43 +0500]
[www.mysite.org/sid#28932018][rid#289af058/initial] (2) prefixed with
document_root to /usr/local/www/mydata/imran.php
119.158.119.130 - - [29/Aug/2010:06:48:43 +0500]
[www.mysite.org/sid#28932018][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 119.158.119.130] (53)Software
caused connection abort: mod_fcgid: error reading data from FastCGI server
[Sun Aug 29 06:48:43 2010] [error] [client 119.158.119.130] 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

Regards,

Umar
-- 
View this message in context: http://old.nabble.com/Strange-problem-with-mod_fcgid-tp29564057p29564057.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message