This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/steve.git
The following commit(s) were added to refs/heads/trunk by this push:
new a11e74c Update httpd.conf, be explicit about AcceptPathInfo On
a11e74c is described below
commit a11e74c38736cacbb3751dd5442be8afdc212199
Author: Daniel Gruno <[email protected]>
AuthorDate: Fri Feb 14 17:22:41 2025 +0100
Update httpd.conf, be explicit about AcceptPathInfo On
---
pysteve/httpd.conf | 3 +++
1 file changed, 3 insertions(+)
diff --git a/pysteve/httpd.conf b/pysteve/httpd.conf
index c1f414a..ccd6592 100644
--- a/pysteve/httpd.conf
+++ b/pysteve/httpd.conf
@@ -19,6 +19,9 @@ ScriptAlias /steve/voter
/var/www/steve/www/cgi-bin/rest_voter.py
ScriptAlias /steve/ballot /var/www/steve/www/cgi-bin/html_ballot.py
ScriptAlias /steve/election /var/www/steve/www/cgi-bin/html_election.py
+# AcceptPathInfo On ensures that /steve/admin/foo etc go to /steve/admin
+AcceptPathInfo On
+
<Location /steve/admin>
AuthType Basic
AuthName "STeVe administration"