We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Apache directives to specific site
Apache directives to specific site
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
Re: Apache directives to specific site
Only administrator can change http virtual hosts of users
/home/user/conf/web/httpd.conf
/home/user/conf/web/httpd.conf
Re: Apache directives to specific site
that is sad... a client is asking you and you don't even know how to do it... what kind of business are you running?.. LOLfedekrum wrote: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.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