Ignore:
Timestamp:
Aug 8, 2008, 12:12:25 PM (14 years ago)
Author:
Nicklas Nordborg
Message:

References #1032: Apache server complains "Request-URI Too Large"

Main functionality is in place. The "New experiment" function is fixed and probably all other places where a new window is opened with the Main.openPopup script. Other functions that use 'location.href', 'location.replace' or 'window.open' are not fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/config/dist/web.xml

    r4319 r4384  
    3737    <location>/exception/exception.jsp</location>
    3838  </error-page>
     39 
     40  <!--
     41    If BASE Javascript encounters an URL that is longer than
     42    specified by this setting when assigning it to for example
     43    location.href = url, BASE will instead try to rewrite the document
     44    to generate a POST request instead. This is to avoid problem with
     45    web servers that doesn't accept URL:s longer than a specified size
     46    For example, Apache has a default max length of 8190. If this setting
     47    is 0, the rewrite functionality is disabled.
     48  -->
     49  <context-param>
     50    <param-name>max-url-length</param-name>
     51    <param-value>8000</param-value>
     52  </context-param>
    3953 
    4054  <!--
Note: See TracChangeset for help on using the changeset viewer.