Commit 763b14ab authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

webproject: Disable APPEND_SLASH setting by default

parent e430a910
......@@ -60,9 +60,6 @@
## The default firewall profile that will be in effect if no tags are defined
#DEFAULT_FIREWALL_PROFILE = 'DISABLED'
#
## our REST API would prefer to be explicit about trailing slashes
#APPEND_SLASH = False
#
## Fixed mapping of user VMs to a specific backend.
## e.g. BACKEND_PER_USER = {'example@synnefo.org': 2}
#BACKEND_PER_USER = {}
......
......@@ -56,9 +56,6 @@ GANETI_FIREWALL_PROTECTED_TAG = 'synnefo:network:0:limited'
# The default firewall profile that will be in effect if no tags are defined
DEFAULT_FIREWALL_PROFILE = 'DISABLED'
# our REST API would prefer to be explicit about trailing slashes
APPEND_SLASH = False
# Fixed mapping of user VMs to a specific backend.
# e.g. BACKEND_PER_USER = {'example@synnefo.org': 2}
BACKEND_PER_USER = {}
......@@ -108,7 +105,7 @@ SECRET_ENCRYPTION_KEY = "Password Encryption Key"
# Astakos service token
# The token used for astakos service api calls (e.g. api to retrieve user email
# using a user uuid)
CYCLADES_SERVICE_TOKEN = ''
CYCLADES_SERVICE_TOKEN = ''
# Let cyclades proxy user specific api calls to astakos, via self served
# endpoints. Set this to False if you deploy cyclades-app/astakos-app on the
......
......@@ -24,3 +24,10 @@
## Set the url you want to redirect users to when they access the root path of
## your site.
#WEBPROJECT_ROOT_REDIRECT = None
#
##When set to True, if the request URL does not match any of the patterns in the
##URLconf and it doesn't end in a slash, an HTTP redirect is issued to the same
##URL with a slash appended. Note that the redirect may cause any data submitted
##in a POST request to be lost. Due to the REST nature of most of the registered
##Synnefo endpoints we prefer to disable this behaviour by default.
#APPEND_SLASH = False
......@@ -20,3 +20,11 @@ USE_X_FORWARDED_HOST = True
# Settings / cookies that should be 'cleansed'
HIDDEN_SETTINGS = 'SECRET|PASSWORD|PROFANITIES_LIST|SIGNATURE|AMQP_HOSTS|PRIVATE_KEY|DB_CONNECTION'
HIDDEN_COOKIES = 'password|_pithos2_a|token|sessionid|shibstate|shibsession|CSRF_COOKIE'
#When set to True, if the request URL does not match any of the patterns in the
#URLconf and it doesn't end in a slash, an HTTP redirect is issued to the same
#URL with a slash appended. Note that the redirect may cause any data submitted
#in a POST request to be lost. Due to the REST nature of most of the registered
#Synnefo endpoints we prefer to disable this behaviour by default.
APPEND_SLASH = False
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