Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

Increase the URL segment limitations imposed by Apache #176

Closed
@GoogleCodeExporter

Description

@GoogleCodeExporter
With help from folks on modules-dev@httpd.apache.org we now have some ideas on 
how to relax our 256 character limitation on URL segments.  This can help us to 
combine more files (css files currently) than we are currently able to:

Ben Noordhuis to modules-dev
> I'm pretty sure it was
> due to some built-in filter or core element in httpd trying to map the URL
> to a filename (which is not necessary as far as mod_pagespeed is concerned)
> and bumping into an OS path limitation (showing up as 403 Forbidden).

This might be the doing of core_map_to_storage(). Never run into it
myself (with URLs up to 4K, anyway) but there you go.

Okay, here is a dirty secret: if you hook map_to_storage and return
DONE, you bypass Apache's authentication stack - and nearly all other
hooks too. Probably an exceedingly bad idea.

You can however use it to prevent core_map_to_storage() from running.
Just return OK and you're set.

Original issue reported on code.google.com by jmara...@google.com on 4 Jan 2011 at 11:28

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions