Current time: 07-06-2024, 12:04 AM Hello There, Guest! (LoginRegister)


Post Reply 
custom apache2 configs for domains
Author Message
jemmrich Offline
Junior Member
*

Posts: 24
Joined: Nov 2008
Reputation: 0
Post: #3
RE: custom apache2 configs for domains
(05-27-2009 02:43 PM)MasterTH Wrote:  /etc/apache2/sites-enabled/ispcp.conf

for each site there is an php-config file which can be found in /var/www/fcgi/domain.tld/php%VERSION%

You can make your changes to the php-config for the specific domain here. But keep in mind, after creating a new Domain/Subdomain/Alias the PHP-Config would be overwritten by the ispcp-daemon. Theres another way to modify the php-config that is used by the daemon to generate the domain-config. This file could be found /etc/ispcp/fcgi/parts/php%VERSION% But be careful with changes to this file.

Is there a way to do if statements within the files located here /etc/ispcp/fcgi/parts/php%VERSION% I would like to set the open basedir restriction for only one site.

For now I guess I will edit the file in /var/www/fcgi/domain.tld/php%VERSION% maybe i change the file permissions to this file so that the daemon can't overwrite it.

Thanks,
James
05-28-2009 05:35 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: custom apache2 configs for domains - jemmrich - 05-28-2009 05:35 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)