summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-12-10 22:06:48 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-12-10 22:06:48 +0000
commit775556abbeeb2262b5d161f860d14e48400fb40e (patch)
treee00095b59add399e7eef367dae9c65759dd56f38 /etc
parenta6e8af9ca33d3fff1f2e100b55eab74038449118 (diff)
downloadpfsense-775556abbeeb2262b5d161f860d14e48400fb40e.zip
pfsense-775556abbeeb2262b5d161f860d14e48400fb40e.tar.gz
Set server.max-request-size to 384 for captive portal.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/system.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index c42c93f..0e845cb 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -751,12 +751,12 @@ function system_generate_lighty_config($filename,
$server_upload_dirs = "server.upload-dirs = ( \"/tmp/captiveportal/\" )\n";
exec("mkdir -p /tmp/captiveportal");
exec("chmod a-w /tmp/captiveportal");
- $server_max_request_size = "384";
+ $server_max_request_size = "server.max-request-size = 384";
} else {
$captive_portal_module = "";
$captive_portal_mod_evasive = "";
$server_upload_dirs = "server.upload-dirs = ( \"{$g['upload_path']}/\", \"/tmp/\", \"/var/\" )\n";
- $server_max_request_size = "2097152";
+ $server_max_request_size = "server.max-request-size = 2097152";
}
if($port <> "")
OpenPOWER on IntegriCloud