Mobile app version of vmapp.org
Login or Join
Gretchen104

: WHM - Apache Configuration Include Editor - Syntax Error My server is running Cloudlinux 5 + EasyApache 3. PHP Handler = fcgi. I'm trying to set "FcgidOutputBufferSize" per request_uri. Here is

@Gretchen104

Posted in: #Apache #Cpanel #Whm

My server is running Cloudlinux 5 + EasyApache 3. PHP Handler = fcgi.

I'm trying to set "FcgidOutputBufferSize" per request_uri. Here is what I put into WHM->Apache Configuration->Include Editor->Post Virtual Host Include:

<IfModule mod_fcgid.c>
FcgidMaxRequestLen 1073741824
FcgidBusyTimeout 18000
FcgidIOTimeout 18000
<If "%{REQUEST_URI} == '/path/to/script.php'">
FcgidOutputBufferSize 0
</If>
</IfModule>


This is the error I got after saving:

Configuration problem detected on line 5 of file /usr/local/apache/conf/includes/post_virtualhost_global.conf: Invalid command ' 2FcgidMaxRequestLen 1073741824 3FcgidBusyTimeout 18000 4FcgidIOTimeout 18000 5 ===> <=== 6 FcgidOutputBufferSize 0 7 8 --- /usr/local/apache/conf/includes/post_virtualhost_global.conf ---


Any idea what's wrong? Thanks.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Gretchen104

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme