hide script name from outside

This commit is contained in:
fordprefect
2021-01-08 16:32:46 +01:00
parent dd52cdf281
commit 76db34d3e4
2 changed files with 3 additions and 1 deletions

View File

@@ -2,3 +2,5 @@
Use with fcgi.
Create httpd-writable db.txt as simple database
Make sure to put pin.run as index file. This makes even the script name invisible to the outside.

View File

@@ -89,7 +89,7 @@ if oversize:
print("neuer Eintrag derzeit nicht möglich, Datei voll.")
else:
print("""
<form action="pin.run" method="post" enctype="multipart/form-data">
<form action="https://augustiner-kantorei.de/pinnwand/" method="post" enctype="multipart/form-data">
<select name="day" size=1>
<option>1</option>
<option>2</option>