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.

Wrong document URL when mod_rewrite used #234

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?

Just upgraded to the latest binary (0.9.16.3-r534)

What is the expected output? What do you see instead?

Style sheet returns "NOT FOUND" and all resources are being sourced from the 
wrong address.
Leading '/' or 'http:' have been removed from HTML for all links/references.

What version of the product are you using (please check X-Mod-Pagespeed
header)?

0.9.16.3-r534

On what operating system?
Debian/GNU Linux

Which version of Apache?
2.2.16

Please provide any additional information below, especially a URL or an
HTML file that exhibits the problem.

This server hosts dozens of websites, but only one is showing errors:
e.g. http://www.the-art-of-web.com/php/

Possible conflict with mod_rewrite rule:

Request URL: http://www.the-art-of-web.com/php/ (broken)
RewriteRule ^([a-z]+)/$ menu_$1.html
Actual URL: http://www.the-art-of-web.com/menu_php.html (works)

But other websites using similar (not identical) rewrite rules are not showing 
errors - so far.

Original issue reported on code.google.com by dun...@chirp.com.au on 10 Mar 2011 at 11:13

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