Jump to content

Product Opener/Installation/Debian or Ubuntu: Difference between revisions

changes for foundation
(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>