← Back to team overview

enterprise-support team mailing list archive

[Bug 1519372] [NEW] Invalid command 'SubstituteMaxLineLength' even though Apache2 is updated

 

Public bug reported:

Running Ubuntu 14.04 with the latest available package from the official
repo:

Server version: Apache/2.4.7 (Ubuntu)
Server built:   Oct 14 2015 14:20:21

Been using mod_substitute for a long while without issues. Recently
stumbled upon the following error:

[Tue Nov 24 13:52:34.099427 2015] [substitute:error] [pid 2617:tid
139869611312896] [client x] AH01328: Line too long, URI /shell.js,
referer: x

The default value for the maximum line size handled by mod_substitute is
"1m", and to increase this, "SubstituteMaxLineLength" directive has to
be set as shown here:
http://httpd.apache.org/docs/2.4/mod/mod_substitute.html#substitutemaxlinelength

However, this will yield the following:

Invalid command 'SubstituteMaxLineLength', perhaps misspelled or defined
by a module not included in the server configuration

After spending a while trying to figure out if this was only available
in Apache 2.5 (it's not - it's available since 2.4.11) or if I misplaced
it, I tried to use a slightly more updated package from this PPA:
https://launchpad.net/~ondrej/+archive/ubuntu/apache2 and it worked
right away.

I'm inclined to think that the mod_substitute included in the official
package is an old version.

** Affects: apache2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to apache2 in Ubuntu.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1519372

Title:
  Invalid command 'SubstituteMaxLineLength' even though Apache2 is
  updated

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/1519372/+subscriptions


Follow ups