File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <IfModule mod_security.c >
2+
3+ # Set a ~2MB limit for response headers (bigger than default 512K limit)
4+ SecResponseBodyLimit 2000000
5+
6+ </IfModule >
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ current directory:
5454 edu-python.css
5555 jquery-1.3.2.min.js
5656 jquery.textarea.js
57+ .htaccess - to increase the size of allowed Apache HTTP responses
5758
5859
5960The back-end is a server-side CGI application that takes Python script
@@ -85,16 +86,15 @@ deployed on the same server (unless you do some fancy proxy magic).
8586======
8687Misc. notes
8788
88-
8989If your server limits the size of responses received from HTTP requests,
9090then you might need to add the following .htaccess file in your
9191top-level (front-end) directory, in order to allow Online Python Tutor
9292to receive traces from the back-end:
9393
9494<IfModule mod_security.c>
9595
96- # Set a ~10MB limit for response headers (way bigger than default 512K limit)
97- SecResponseBodyLimit 10000000
96+ # Set a ~2MB limit for response headers (bigger than default 512K limit)
97+ SecResponseBodyLimit 2000000
9898
9999</IfModule>
100100
You can’t perform that action at this time.
0 commit comments