[Mod-fcgid-users] strang problem with mod_fcgid

2010-08-29 Thread Tears !
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
--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users


[Mod-fcgid-users] auto_prepend_file not working

2010-08-27 Thread Tears !
Dear Users,

I am facing strange problem regarding (php value auto_prepend_file) with
mod_fcgid. through .htaccess This is the error

[Fri Aug 27 18:12:50 2010] [error] [client 119.158.109.31] PHP Warning:
Unknown: failed to open stream: No such file or directory in Unknown on line
0
[Fri Aug 27 18:12:50 2010] [error] [client 119.158.109.31] Unknown(0) :
Warning - Unknown: failed to open stream: No such file or directory
[Fri Aug 27 18:12:50 2010] [error] [client 119.158.109.31] PHP Fatal error:
Unknown: Failed opening required 'server.php
[Fri Aug 27 18:12:50 2010] [error] [client 119.158.109.31] '
(include_path='.:/usr/local/www/include') in Unknown on line 0
[Fri Aug 27 18:12:50 2010] [error] [client 119.158.109.31] Unknown(0) :
Fatal error - Unknown: Failed opening required 'server.php
[Fri Aug 27 18:12:50 2010] [error] [client 119.158.109.31] '
(include_path='.:/usr/local/www/include')
*
server.php files is available in /usr/local/www/include/*

I am using htscanner for .htacess files for php_modfcgid

*here is .htacess file*

IfModule Mod_php.c
  php_value auto_prepend_file server.php
/IfModule



Here is my virtualhost setting

VirtualHost *:80
ServerAdmin u...@example.org
DocumentRoot /usr/local/www/mydata
ServerName lime.example.org
ErrorLog /var/log/apache/lime-error_log
CustomLog /var/log/apache/lime-access_log common
/VirtualHost

*here is the php-cgi
*
#!/bin/sh
PHP_CGI=/usr/local/bin/php-cgi
PHP_FCGI_CHILDREN=16
PHP_FCGI_MAX_REQUESTS=1000
export PHP_FCGI_CHILDREN
export PHP_FCGI_MAX_REQUESTS
exec $PHP_CGI

*this is php.conf under /usr/local/apache/Include/
*
AddHandler php5-fastcgi .php
Action php5-fastcgi /cgi-bin/php.fcgi
DirectoryIndex index.php

**
would you please help how i can solve this issue because this is working
through mod_php


Regards,

Umar
--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users


[Mod-fcgid-users] auto_prepend issue please help

2010-08-24 Thread Tears !
Dear users

I am already using mod_php in my apache server. Now I have configured
mod_fcgid.

I have configured different .php file as auto_preped for my virtualhost. But
php_value auto_prepend not working through mod_fcgid, Would you please help
me how i can solve this issue.

VirtualHost *:80
  php_value auto_prepend_file server.php
  ServerAdmin u...@example.org
  DocumentRoot /home/www/example
  ServerName www.example.org
/VirtualHost

-- 
Umar Draz
Network Administrator
--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users


Re: [Mod-fcgid-users] auto_prepend issue please help

2010-08-24 Thread Tears !
Dear Martin,

Then what is the other way ?

Regards,

Umar

On Tue, Aug 24, 2010 at 5:57 PM, Martin Korous kor...@thinline.cz wrote:

 Hello,

 php_value is only for php running as an apache module.

 Martin Korous

 Tears ! wrote:
  Dear users
 
  I am already using mod_php in my apache server. Now I have configured
  mod_fcgid.
 
  I have configured different .php file as auto_preped for my
  virtualhost. But php_value auto_prepend not working through mod_fcgid,
  Would you please help me how i can solve this issue.
 
  VirtualHost *:80
php_value auto_prepend_file server.php
ServerAdmin u...@example.org mailto:u...@example.org
DocumentRoot /home/www/example
ServerName www.example.org http://www.example.org
  /VirtualHost
 
  --
  Umar Draz
  Network Administrator
  
 
 
 --
  Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
  Be part of this innovative community and reach millions of netbook users
  worldwide. Take advantage of special opportunities to increase revenue
 and
  speed time-to-market. Join now, and jumpstart your future.
  http://p.sf.net/sfu/intel-atom-d2d
  
 
  ___
  Mod-fcgid-users mailing list
  Mod-fcgid-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users
 



 --
 Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
 Be part of this innovative community and reach millions of netbook users
 worldwide. Take advantage of special opportunities to increase revenue and
 speed time-to-market. Join now, and jumpstart your future.
 http://p.sf.net/sfu/intel-atom-d2d
 ___
 Mod-fcgid-users mailing list
 Mod-fcgid-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users




-- 
Umar Draz
Network Administrator
--
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d___
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users