s/cgi/cgi-bin/g

This commit is contained in:
Neale Pickett 2015-05-26 10:14:30 -06:00
parent 5ac606be09
commit e30d00ad23
9 changed files with 9 additions and 9 deletions

View File

@ -53,7 +53,7 @@ EOF
cat <<EOF cat <<EOF
<section id="form"> <section id="form">
<form id="puzzler" action="../../cgi/puzzler.cgi" method="get" accept-charset="utf-8" autocomplete="off"> <form id="puzzler" action="../../cgi-bin/puzzler.cgi" method="get" accept-charset="utf-8" autocomplete="off">
<input type="hidden" name="c" value="$cat"> <input type="hidden" name="c" value="$cat">
<input type="hidden" name="p" value="$points"> <input type="hidden" name="p" value="$points">
<div>Team hash:<input name="t" size="8"></div> <div>Team hash:<input name="t" size="8"></div>

View File

@ -24,7 +24,7 @@ find state/points.new -type f | while read fn; do
done done
# Generate new puzzles.html # Generate new puzzles.html
if www/cgi/puzzles.cgi > www/puzzles.new; then if www/cgi-bin/puzzles.cgi > www/puzzles.new; then
mv www/puzzles.new www/puzzles.html mv www/puzzles.new www/puzzles.html
fi fi

View File

@ -45,7 +45,7 @@ setup() {
echo "Figuring out web user..." echo "Figuring out web user..."
for www in www-data http _; do for www in www-data http tc _; do
id $www && break id $www && break
done done
if [ $www = _ ]; then if [ $www = _ ]; then

View File

@ -1,6 +1,6 @@
#! /usr/bin/lua #! /usr/bin/lua
package.path = "?.lua;cgi/?.lua;www/cgi/?.lua" package.path = "?.lua;cgi-bin/?.lua;www/cgi-bin/?.lua"
local cgi = require "cgi" local cgi = require "cgi"
local koth = require "koth" local koth = require "koth"

View File

@ -1,6 +1,6 @@
#! /usr/bin/lua #! /usr/bin/lua
package.path = "?.lua;cgi/?.lua;www/cgi/?.lua" package.path = "?.lua;cgi-bin/?.lua;www/cgi-bin/?.lua"
local koth = require "koth" local koth = require "koth"

View File

@ -1,6 +1,6 @@
#! /usr/bin/lua #! /usr/bin/lua
package.path = "?.lua;cgi/?.lua;www/cgi/?.lua" package.path = "?.lua;cgi-bin/?.lua;www/cgi-bin/?.lua"
local cgi = require "cgi" local cgi = require "cgi"

View File

@ -24,7 +24,7 @@
you don't need to do it again. you don't need to do it again.
</p> </p>
<form method="get" action="cgi/register.cgi"> <form method="get" action="cgi-bin/register.cgi">
<label>Team Hash:</label> <label>Team Hash:</label>
<input type="text" name="h"> <input type="text" name="h">
<br> <br>