[Catalyst] Catalyst using fast CGI
Mitch Jackson
perimus at gmail.com
Thu May 22 22:38:29 BST 2008
Gordon,
I've had good luck with mod_fcgid. If you want to give that a try,
yum install mod_fcgid and use a config similar to this one.
Good Luck,
/Mitchell K. Jackson
<VirtualHost *:80>
ServerName myapp
ServerAlias 127.0.0.1 myapp
ServerAdmin myapp at myapp
ErrorLog logs/myapp_error_log
CustomLog logs/myapp_access_log combined
DocumentRoot /var/www/myapp/root
Alias /static /var/www/myapp/root/static
SuexecUserGroup myapp myapp
<Location /static>
SetHandler default-handler
</Location>
Alias / /var/www/myapp/script/myapp_fastcgi.pl/
<Location />
Options ExecCGI
Order allow,deny
Allow from all
AddHandler fcgid-script .pl
</Location>
</VirtualHost>
<Directory "/var/www/myapp">
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
On Thu, May 22, 2008 at 2:27 PM, <gordon at gorste.plus.com> wrote:
> Dear List
>
> I am trying to get Catalyst working through apache by using fastcgi. I am
> having difficulty in achieving this. This problem is that I seam to be
> getting apache error code 13. My config for my website is:
>
> <VirtualHost *:80>
> ServerName www.dnsemail.co.uk
> DocumentRoot /var/www/dnsemail
> ErrorLog logs/www.dnsemail.co.uk.error_log
> TransferLog logs/www.dnsemail.co.uk.access_log
>
>
> # Allow CGI script to run
> <Directory /var/www/dnsemail/script>
> Options +ExecCGI
> </Directory>
>
> # Tell Apache this is a FastCGI application
> Alias / /var/www/dnsemail/script/dnsemail_fastcgi.pl/
>
> <Files dnsemail_fastcgi.pl>
> SetHandler fastcgi-script
> </Files>
>
> <Location />
> Options ExecCGI
> Order allow,deny
> Allow from all
> AddHandler fcgid-script .pl
> </Location>
> </VirtualHost>
>
> I am running it on Fedora Core 6 with Apache 2. Can someone point me in
> the right direction in getting Catalyst framework running under Apache 2.
>
>
> Regards
>
> Gordon
>
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
More information about the Catalyst
mailing list