From 3dabd858a125d50429b60aa6ee12a1d06f63d3df Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Tue, 7 Jan 2014 22:23:31 +0000 Subject: [PATCH] robots.txt, change top links, mail back to cgi --- index.mdwn | 5 ----- mail.cgi.c | 2 +- robots.txt | 0 template.html.m4 | 3 +-- woozle.mk | 1 + 5 files changed, 3 insertions(+), 8 deletions(-) create mode 100644 robots.txt diff --git a/index.mdwn b/index.mdwn index 9e11e52..c8d3db6 100644 --- a/index.mdwn +++ b/index.mdwn @@ -7,8 +7,3 @@ held by folks who know the right person to ask. - -November 4: Webmail Back ------------------------- - -It was too difficult to live without it. diff --git a/mail.cgi.c b/mail.cgi.c index de6b60b..292cf11 100644 --- a/mail.cgi.c +++ b/mail.cgi.c @@ -35,7 +35,7 @@ main(int argc, char *argv[]) if (0 == strcmp(ext, ".php")) { setenv("SCRIPT_FILENAME", filename, 1); setenv("REDIRECT_STATUS", "fuck me", 1); - execl("/usr/bin/cgi-fcgi", "cgi-fcgi", "-bind", "-connect", ":8823", NULL); + execl("/usr/bin/php-cgi", filename, NULL); } else if (strstr(filename, "/config/") || strstr(filename, "/logs/") || strstr(filename, "/temp/")) { diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..e69de29 diff --git a/template.html.m4 b/template.html.m4 index 9ec0c13..120e195 100644 --- a/template.html.m4 +++ b/template.html.m4 @@ -11,8 +11,7 @@ divert(1) diff --git a/woozle.mk b/woozle.mk index eb2b875..efc881d 100644 --- a/woozle.mk +++ b/woozle.mk @@ -3,6 +3,7 @@ COPY += icon.png style.css style-black.css lists.cgi wishlist.cgi set.cgi $(TEMP COPY += mail.cgi ilohamail.cgi l.cgi COPY += google7f698b9893809122.html HTML += people.html +COPY += robots.txt $(DESTDIR)/people.html: people.sh template.html.m4 sh $< | $(MDWNTOHTML) > $@