Skip to content

Commit

Permalink
Use alphanumeric name for session cookie to help restricted clients. (#…
Browse files Browse the repository at this point in the history
…98)

* Use alphanumeric name for session cookie to help restricted clients.

* Singular session dammit.
  • Loading branch information
apathor authored and cvicente committed Jan 8, 2018
1 parent 1fefa4d commit 691c431
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions etc/netdot_apache24_local.conf
Expand Up @@ -94,6 +94,10 @@ PerlSetVar NetdotTemporarySessionExpires +2h
# Apache 2.4 Authorization
PerlAddAuthzProvider user Apache2::SiteControl->authz_handler

# Setting the cookie name here to prevent RFC 6265 compliant clients
# from choking on the the default. See Apache2::AuthCookie::Base->cookie_name
PerlSetVar NetdotCookieName NetdotSession

<Directory <<Make:PREFIX>>/htdocs/>
# Other applications may have attempted to override how .html files are
# interpreted. We need to reset this so that HTML::Mason can work
Expand Down
4 changes: 4 additions & 0 deletions etc/netdot_apache2_krb5.conf
Expand Up @@ -89,6 +89,10 @@ PerlSetVar NetdotCache 1
# NetdotExpires in a typical AuthCookie setup.
PerlSetVar NetdotTemporarySessionExpires +2h

# Setting the cookie name here to prevent RFC 6265 compliant clients
# from choking on the the default. See Apache2::AuthCookie::Base->cookie_name
PerlSetVar NetdotCookieName NetdotSession

<Directory /usr/local/netdot/htdocs/>
Order Deny,Allow
Allow from all
Expand Down
4 changes: 4 additions & 0 deletions etc/netdot_apache2_ldap.conf
Expand Up @@ -90,6 +90,10 @@ PerlSetVar NetdotCache 1
# NetdotExpires in a typical AuthCookie setup.
PerlSetVar NetdotTemporarySessionExpires +2h

# Setting the cookie name here to prevent RFC 6265 compliant clients
# from choking on the the default. See Apache2::AuthCookie::Base->cookie_name
PerlSetVar NetdotCookieName NetdotSession

<Directory <<Make:PREFIX>>/htdocs/>
Order Deny,Allow
Allow from all
Expand Down
4 changes: 4 additions & 0 deletions etc/netdot_apache2_local.conf
Expand Up @@ -90,6 +90,10 @@ PerlSetVar NetdotCache 1
# NetdotExpires in a typical AuthCookie setup.
PerlSetVar NetdotTemporarySessionExpires +2h

# Setting the cookie name here to prevent RFC 6265 compliant clients
# from choking on the the default. See Apache2::AuthCookie::Base->cookie_name
PerlSetVar NetdotCookieName NetdotSession

<Directory <<Make:PREFIX>>/htdocs/>
Order Deny,Allow
Allow from all
Expand Down
4 changes: 4 additions & 0 deletions etc/netdot_apache2_radius.conf
Expand Up @@ -89,6 +89,10 @@ PerlSetVar NetdotCache 1
# NetdotExpires in a typical AuthCookie setup.
PerlSetVar NetdotTemporarySessionExpires +2h

# Setting the cookie name here to prevent RFC 6265 compliant clients
# from choking on the the default. See Apache2::AuthCookie::Base->cookie_name
PerlSetVar NetdotCookieName NetdotSession

<Directory <<Make:PREFIX>>/htdocs/>
Order Deny,Allow
Allow from all
Expand Down

0 comments on commit 691c431

Please sign in to comment.