title: fastcgi does not work - wrapper dowloaded not run
body: <p>On my fresh Ubuntu 8.04</p>
  
  <p>I installed virtualmin. Then I set up fastcgi as I did on my other server (Debian).
  Bu I have small problem. When I open website It instead of running fastcgi wrapper it downloads it. Here is config:</p>
  
  <p><code><pre></p>
  
  <pre><code>&lt;IfModule mod_fastcgi.c&gt;
      FastCgiIpcDir /usr/lib/apache2/fastcgi
      AddHandler fastcgi-script .fcgi
      FastCgiWrapper /usr/local/sbin/suexec
      FastCgiConfig -singleThreshold 1 -autoUpdate -idle-timeout 240 -pass-header HTTP_AUTHORIZATION
  &lt;/IfModule&gt;
  </code></pre>
  
  <p></pre></code>
  website.conf:</p>
  
  <pre><code>   SuexecUserGroup "#1002" "#1003"  
     DocumentRoot /home/przepisy/public_html  
     ScriptAlias /php-fastcgi/ /home/przepisy/php-fastcgi/  
     AddHandler php-fastcgi .php  
     AddType application/x-httpd-php .php  
     Action php-fastcgi /php-fastcgi/php5-fcgi  
     DirectoryIndex index.html index.php  
     &lt;Directory /home/przepisy/public_html&gt;  
      Options -Indexes +ExecCGI FollowSymLinks  
      allow from all  
      AllowOverride All  
     &lt;/Directory&gt;  
  </code></pre>
  
  <p>/home/przepisy/php-fastcgi/php5-fcgi </p>
  
  <pre><code>#!/bin/sh 
  PHPRC="/home/przepisy/conf/" 
  export PHPRC 
  PHP_FCGI_CHILDREN=4 
  export PHP_FCGI_CHILDREN 
  PHP_FCGI_MAX_REQUESTS=200 
  export PHP_FCGI_MAX_REQUESTS 
  exec /usr/bin/php5-cgi 
  </code></pre>
  
  <p>So If I access website it gives it random name and when I look at downloaded contents it shows php5-fcgi contents. When I specify php script eg index.php it opts to save and shows contents of php5-fcgi... 
  I'm dunno at this stage.
  This config worked on Debian no problems...</p>