Changes

Jump to navigation Jump to search
changes for foundation
Line 380: Line 380:  
CustomLog /home/stephane/logs/proxy_access_log combined
 
CustomLog /home/stephane/logs/proxy_access_log combined
 
ServerAdmin stephane@openfoodfacts.org
 
ServerAdmin stephane@openfoodfacts.org
 +
 +
<Location "/foundation/foundation-icons" >
 +
Header set Access-Control-Allow-Origin "*"
 +
</Location>
 +
 +
<Location "/images/products" >
 +
Header set Link "<http://creativecommons.org/licenses/by-sa/3.0/>; rel='license'; title='CC-BY-SA 3.0'"
 +
</Location>
 +
    
<Directory "/home/stephane/product-opener/html">
 
<Directory "/home/stephane/product-opener/html">
Line 398: Line 407:  
RewriteCond  %{REQUEST_URI}  !^/data/
 
RewriteCond  %{REQUEST_URI}  !^/data/
 
RewriteCond  %{REQUEST_URI}  !^/files/
 
RewriteCond  %{REQUEST_URI}  !^/files/
 +
RewriteCond  %{REQUEST_URI}  !^/resources/
 +
RewriteCond  %{REQUEST_URI}  !^/foundation/
 
RewriteRule  ^(.*)$ http://localhost:8001/cgi/display.pl?${escape:$1} [P,L,QSA]
 
RewriteRule  ^(.*)$ http://localhost:8001/cgi/display.pl?${escape:$1} [P,L,QSA]
 
</VirtualHost>
 
</VirtualHost>

Navigation menu