[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#758750: packages.debian.org: https://packages.debian.org/xul-ext-pdf.js rewrite rule



Package: www.debian.org
Severity: normal

Hi,

taffit talking about xul-ext-pdf.js packages
But https://packages.debian.org/xul-ext-pdf.js 404 while
https://packages.debian.org/search?keywords=xul-ext-pdf.js succeeds.

Indeed in apache conf:
   # we never want to rewrite those URLs
   [..]
   RewriteRule ^/[^/]+\.css - [L]
   RewriteRule ^/[^/]+\.js - [L]
   RewriteRule ^/favicon.ico$ - [L]
   RewriteRule ^/robots.txt$ - [L]
   [..]
   RewriteRule ^/([^/]+)$               /search?keywords=$1 [R,L,NE]

As :
* we want to keep the url http://pdo/$package working
* policy allows package name to end with .css .js or even be named favicon.ico

--> What about moving static *css and *js to a static dir ?

-- 
Simon Paillard


Reply to: