Hello, I have ISPconfig 3.0.5.4p1 on a CentOS 6.5 machine. I need to change the MaxRequestLen parameter of FastCGI to a higher value for a website, so I added it to the website vhost file at /etc/httpd/conf/sites-available/MY_SITE.vhost like the following: Code: <IfModule mod_fcgid.c> IdleTimeout 300 ProcessLifeTime 3600 # MaxProcessCount 1000 DefaultMinClassProcessCount 0 DefaultMaxClassProcessCount 100 IPCConnectTimeout 3 IPCCommTimeout 600 BusyTimeout 3600 # MANUALLY ADDED BY ME MaxRequestLen 104857600 </IfModule> But after some random time I noticed that the line I added is removed from the file. So how can I change this parameter without it being reverted back to default? Can I put it in ISPconfig panel > Sites > Options > "Apache directives" so that it is not overwritten anymore? Something like the following: Code: <IfModule mod_fcgid.c> MaxRequestLen 104857600 </IfModule> Thank you. Roberto
The files in /etc/httpd/conf/sites-available/ are managed by ispconfig, they may not be altered manually as any manual changes get removed automatically. yes, thats the purpose of that field.
Thank Till for your quick and clear reply I have just one more question: If I put the following code in the "Apache directives" field: Code: <IfModule mod_fcgid.c> MaxRequestLen 104857600 </IfModule> Then there will be 2 "IfModule mod_fcgid.c" tags inside website vhost file: the default one already there, and the one added by me in the "Apache directives" field. So it will become like the following: Code: <IfModule mod_fcgid.c> IdleTimeout 300 ProcessLifeTime 3600 # MaxProcessCount 1000 DefaultMinClassProcessCount 0 DefaultMaxClassProcessCount 100 IPCConnectTimeout 3 IPCCommTimeout 600 BusyTimeout 3600 </IfModule> <IfModule mod_fcgid.c> MaxRequestLen 104857600 </IfModule> Can the 2 same tags work together without problems? Sorry if this is a stupid question.... Roberto
config ettings that apear later in a apache config file will override previous settings. so the above works fine. there is nolimit how often a settings is overridden.
Ok thanks. But hopefully only the "MaxRequestLen" option will be overriden, not also all other settings in <IfModule mod_fcgid.c> tag (e.g. IdleTimeout, BusyTimeout, IPCCommTimeout, etc.) Roberto
yes, off course. The <IfModule mod_fcgid.c> is just a switch to ensure that the settings inside are only used by apache when the fcgi module is loaded.