Apache directives to specific site
Posted: Fri Jul 25, 2014 9:40 pm
A client is asking me how can he add some apache directives to his virtual site.
Here is what he needs to do:
How can I get this to work on his virtual site? I cant find the files he is talking about.
thanks
Here is what he needs to do:
Code: Select all
apt-get update && sudo apt-get install libapache2-mod-fastcgi
a2enmod actions fastcgi alias
/etc/init.d/apache2 restart
vi /etc/apache2/conf.d/php5-fpm.conf
<IfModule mod_fastcgi.c>
AddHandler php5-fcgi .php
Action php5-fcgi /php5-fcgi
Alias /php5-fcgi /usr/lib/cgi-bin/php5-fcgi
FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -host 127.0.0.1:9000 -pass-header Authorization
</IfModule>
/etc/init.d/apache2 restart
thanks