Joe Strout | 2 Mar 2008 06:03
Gravatar

causing Apache to run its 404 handler?

We have our external FastCGI application set up to be invoked on  
requests for certain file extensions.  This happens even when the  
file being requested doesn't exist.

We can't do anything useful with a request for a nonexistent file, so  
I'd like to kick it back to Apache and have it do its standard 404  
error handling.  Is there any way to do that?

Thanks,
- Joe

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/

Iulian Holonca | 4 Mar 2008 23:05
Picon
Favicon

Finally got fastcgi running on Win Xp / Apache2.2.8

Steps:
Apache configuration:
 
LoadModule fastcgi_module modules/mod_fastcgi.dll
ScriptAlias /fcgi-bin/ "C:/Program Files/Apache Software Foundation/Apache2.2/fcgi-bin/"
<Location /fcgi-bin>
  SetHandler fastcgi-script
  Options ExecCGI
  allow from all
</Location>
 
-mod_fastcgi.dll is mod_fastcgi-2.4.6-AP22.dll renamed (optional).
 
-added echo-cpp.exe to fcgi-bin.
 
-added libfcgi.dll to fcgi-bin.
 
 
(also the system must contain: msvcm80.dll msvcp80.dll msvcr80.dll Microsoft.VC80.CRT.manifest - it usually does)
 
 


Iulian Holonca

Looking for last minute shopping deals? Find them fast with Yahoo! Search.
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
Senthil | 6 Mar 2008 09:45
Picon

Images are not loaded in the webpage with fastcgi enabled in my lighttpd weberver

Hi all,

I have installed FCGI module for perl, to make my lighttpd webserver to enbale the fastcgi in it.

The problem i am facing is ,images are not loaded with fastcgi enabled.

Images are loding fine with CGI.

FYI

Fast cgi Configuration (a part from lighttpd.conf)
=======================

fastcgi.server = ( "" =>
    (  
        (
            "socket"   => "/tmp/lighttpd-redirect.socket",
            "check-local" => "disable",
            "bin-path" => "/var/www/html/fcgi_conf_z.pl",
            "min-procs" => 2,
            "max-procs" => 5,
            "idle-timeout" => 20

         )
     )  
)
============================

Thanks in advance,
Senthil

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
Andrej van der Zee | 8 Mar 2008 01:50
Picon

FastCGI disables Apache2's mod_deflate

Hi,

Sorry if it already has been asked....

I am experiencing some problems with Apache2's mod_deflate in combination with FastCGI. To be short, after inspecting the HTTP-headers in the response and this Apache logs, I found that somehow mod_deflate is disabled for FastCGI-scripts (I use C++).

Is this right? And how can I enable this?

Thanks,
Andrej

___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
David Birnbaum | 8 Mar 2008 16:36
Favicon

Re: PLEASE UNSUBSCRIBE ME! The mailing list is broken and abandoned...

There's a human or two still lurking around...you are unsubscribed, and I'll take a look at the mailing list.  I wasn't aware it had stopped responding to the typical Mailman requests.

David.


Yves Goergen wrote:
Hi there, did anybody ever manage to unsubscribe from this mailing list?! The mailer bot ignores my unsubscribe confirmation replies. Is the list maintainer still around? Or is FastCGI left forever?
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
Martijn de Munnik | 21 Mar 2008 12:21
Picon

ZFS ACL and apache suexec

Hi,

I'm trying to get my apache webserver as secure as possible. The  
server is used for multiple virtual hosts and I want to isolate each  
vhost host. I used this document as a guide

http://snippets.dzone.com/posts/show/81

everything works fine. Each vhost is under a separate unix user/group  
and apache is running as nobody/nobody. The user nobody is also in all  
the usergroups but Solaris has a limit of 32 additional groups a user  
can be in. So there's my problem. I though the solution would be ZFS  
ACL's and tried that. The user nobody can navigate in the public_html  
directory of the vhost (nobody is not in the usergroup anymore) and  
apache shows HTML files. But when I want to show php files something  
goes wrong:

Forbidden
You don't have permission to access /php-fastcgi/php5-cgi/index.php on  
this server.
Additionally, a 403 Forbidden error was encountered while trying to  
use an ErrorDocument to handle the request.

Nothing shows up in the logs. When I run a php script on a vhost which  
is configured the old way (nobody is in the usergroup) I get lines  
like these:

[Fri Feb 29 08:03:57 2008] [warn] FastCGI: (dynamic) server "/opt/csw/ 
apache2/share/htdocs/suexec/xxxxxxx.nl/php5-cgi" (uid 10003, gid  
10001) started (pid 8253)

All the config files and scripts are the same so the problem should be  
file permissions I guess, any ideas?

thanks,

Martijn de Munnik

---------------------------------------------------------------------
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 <at> httpd.apache.org
   "   from the digest: users-digest-unsubscribe <at> httpd.apache.org
For additional commands, e-mail: users-help <at> httpd.apache.org

Robbie Bow | 24 Mar 2008 23:59
Picon

top_dir in default Red Hat 8?

> I'm trying to build mod_fastcgi 2.4.0 on RH8, and Apache2 is not in
> /usr/local/apache2, so I'm trying to pass the top_dir variable to make:
>
> $ make top_dir=/usr/sbin/httpd
>
> but I'm getting:
>
> make: *** No rule to make target `/usr/sbin/httpd/build/special.mk'.  Stop.
>

You need to install the httpd-devel package, e.g.

$ yum install httpd-devel

You then need to check where the "build/special.mk" file has been
installed. If that's not "/usr/local/apache2/build/special.mk" then
you need to pass the top_dir variable to "make" as you have tried
above, e.g.

$ make top_dir=/usr/lib/httpd/

BTW, I know this is far too late a reply for this enquirer but this
mail comes up high in Google searches so hopefully my reply will be
attached in the future and of some use to someone.
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/

steve | 26 Mar 2008 23:37
Picon

APC & FastCGI != upload progress ?

We can get upload progress to work with the APC extension for PHP
5.2.x only on machines that are not using FastCGI. (Apache2.2 if it
matters).

 Does anyone have a suggestion where to look?

 Will it even be possible?

 Thanks in advance,
 -s

--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Jim Lucas | 27 Mar 2008 02:35

Re: APC & FastCGI != upload progress ?

steve wrote:
> We can get upload progress to work with the APC extension for PHP
> 5.2.x only on machines that are not using FastCGI. (Apache2.2 if it
> matters).
> 
>  Does anyone have a suggestion where to look?
> 
>  Will it even be possible?
> 
>  Thanks in advance,
>  -s
> 

I built a work around.  It requires you to run a PHP daemon.  It handles 
the uploads and passes the information off how ever you want.  To a DB, 
to the filesystem.  Your choice.  From that information, you can create 
a progress meter.

I haven't fleshed out all the bugs, but it seems to work like I want it 
too at least.

Jim Lucas

--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

steve | 30 Mar 2008 19:52
Picon

Re: APC & FastCGI != upload progress ?

Hmmm... I am working on a PHP daemon for comet style connections...
I'll keep that idea in mind. I guess that using Flash is best solution
at the moment.. at least the only one I have working...

I'm guessing that FastCGI is buffering the upload until complete. PHP
docs might want to document that.

FastCGI is also breaking Apache's deflate module, but that is another issue...

-s

On Wed, Mar 26, 2008 at 6:35 PM, Jim Lucas <lists <at> cmsws.com> wrote:
>
> steve wrote:
>  > We can get upload progress to work with the APC extension for PHP
>  > 5.2.x only on machines that are not using FastCGI. (Apache2.2 if it
>  > matters).
>  >
>  >  Does anyone have a suggestion where to look?
>  >
>  >  Will it even be possible?
>  >
>  >  Thanks in advance,
>  >  -s
>  >
>
>  I built a work around.  It requires you to run a PHP daemon.  It handles
>  the uploads and passes the information off how ever you want.  To a DB,
>  to the filesystem.  Your choice.  From that information, you can create
>  a progress meter.
>
>  I haven't fleshed out all the bugs, but it seems to work like I want it
>  too at least.
>
>  Jim Lucas
>

--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Gmane