Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Duplicate css file names result in one 404 for the second css file #16

Closed
GoogleCodeExporter opened this issue Apr 6, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. inlcude two css files with the same file name but in different directories
2. include them in a page
3. refresh so that the cache is generated

What is the expected output? What do you see instead?
two hashed css files.

instead I get 404 Not Found for the second file.
If you inspect the file, you get redirected to a non existing one.
On my system the last directory was cut off.

1. file: /test/dir/one/file.css
2. file: /test/dir/two/file.css

got then: 
1. file: /test/dir/one/file.css
2. file: /test/dir/file.css 404 Not Found

What version of the product are you using (please check X-Mod-Pagespeed
header)?
mod_pagespeed 0.9.0.0-128 32-bit .deb, Ubuntu/10.04 x32 + PHP/5.3.2-1ubuntu4.5 
+ Apache/2.2.14-5ubuntu8.3

Please provide any additional information below, especially a URL or an
HTML file that exhibits the problem.
Filter combine_css must be disabled

Original issue reported on code.google.com by zee...@gmail.com on 4 Nov 2010 at 12:12

@GoogleCodeExporter
Copy link
Author

Can you submit a specific HTML example of this issue? Thanks!

Original comment by sligocki@google.com on 4 Nov 2010 at 9:45

@GoogleCodeExporter
Copy link
Author

I have the same problems with image (Same image in two different directory)

Page1:
<img alt="mysite" 
src="http://www.mysite.com/templates/Refonte_mysite/img/ce.d5ef78b5df0187a9947b7
9b4bd071b20.logo,p.png" width="117" height="148">

Page2:
<img alt="mysite" 
src="http://www.mysite.com/files/content/sites/mysite/files/img/ce.d5ef78b5df018
7a9947b79b4bd071b20.logo,p.png" width="117" height="148">

In the file system only one file: find / -name 
*d5ef78b5df0187a9947b79b4bd071b20*
/var/mod_pagespeed/cache/http,3A/,/www.mysite.com/files/content/sites/mysite/fil
es/img/ce.d5ef78b5df0187a9947b79b4bd071b20.logo,2Cp.png,

Regards

Original comment by tanguy.c...@gmail.com on 7 Nov 2010 at 10:41

@GoogleCodeExporter
Copy link
Author

Original comment by jmara...@google.com on 8 Nov 2010 at 3:03

  • Changed state: Duplicate
  • Added labels: Priority-High
  • Removed labels: Priority-Medium

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant