Commit 7452cd6e authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

+CORS

parent f783bdef
...@@ -36,6 +36,7 @@ IMAGE_INSTALL_append += " \ ...@@ -36,6 +36,7 @@ IMAGE_INSTALL_append += " \
lighttpd \ lighttpd \
lighttpd-module-fastcgi \ lighttpd-module-fastcgi \
lighttpd-module-cgi \ lighttpd-module-cgi \
lighttpd-module-setenv \
apache2 \ apache2 \
perl \ perl \
php-cgi \ php-cgi \
......
...@@ -308,6 +308,8 @@ cgi.assign = ( ".py" => "/usr/bin/python", ...@@ -308,6 +308,8 @@ cgi.assign = ( ".py" => "/usr/bin/python",
#setenv.add-request-header = ( "TRAV_ENV" => "mysql://user@host/db" ) #setenv.add-request-header = ( "TRAV_ENV" => "mysql://user@host/db" )
#setenv.add-response-header = ( "X-Secret-Message" => "42" ) #setenv.add-response-header = ( "X-Secret-Message" => "42" )
#setenv.add-response-header = ( "Access-Control-Allow-Origin" => "*" )
## for mod_trigger_b4_dl ## for mod_trigger_b4_dl
# trigger-before-download.gdbm-filename = "/home/weigon/testbase/trigger.db" # trigger-before-download.gdbm-filename = "/home/weigon/testbase/trigger.db"
# trigger-before-download.memcache-hosts = ( "127.0.0.1:11211" ) # trigger-before-download.memcache-hosts = ( "127.0.0.1:11211" )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment