[cgiwrap-users] FastCgiServer and cgiwrap
                
                Brought to you by:
                
                    nneul
                    
                
            
            
        
        
        
    | 
     
      
      
      From: Trevor A. <as...@ta...> - 2009-09-22 17:50:02
      
     
   | 
I tried to post this to the fastcgi-developers list, but the confirmation 
emails are bouncing. I hope someone here can help me debug my 
configuration...
Does anyone know why I get a 404 when accessing a FastCgiServer via an alias 
when using cgiwrap? The same configuration minus the FastCgiWrapper works. With 
the FastCgiWrapper enabled, the server starts successfully, but all accesses to 
the alias result in a 404.
Here is the configuration:
FastCgiWrapper /usr/lib/cgiwrap
FastCgiServer /opt/www/bin/fastcgi.pl -processes 3 \
         -user www -group www \
         -initial-env PATH_INFO=/www/bin/fastcgi.pl \
         -initial-env REMOTE_ADDR=127.0.0.1
Alias /fastcgi/ /opt/www/bin/fastcgi.pl/
<Location /fastcgi>
 	Allow from all
</Location>
Like I said, the server starts successfully and I see debug output in the 
apache error_log, but any attempts to access /fastcgi/ result in a 404. If I 
remove the FastCgiWrapper configuration, the alias works.
Any help is appreciated.
Thanks,
Trevor
 |