Author Login
Post Reply
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
--
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@(protected)
" from the digest: users-digest-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)