Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Rename font-list.py to look like a pdf, because that is what it

produces.
  • Loading branch information...
commit 67fedf20d10b35d5111bc26410c80f5a36422508 1 parent 7ae1347
douglas authored
View
4 apache-config-objavi2
@@ -15,7 +15,7 @@
AllowOverride None
Order allow,deny
Allow from all
- AddHandler cgi-script .py
+ AddHandler cgi-script .py .cgi
</Directory>
ErrorLog /var/log/apache2/objavi-error.log
@@ -25,6 +25,6 @@
LogLevel warn
CustomLog /var/log/apache2/objavi-access.log combined
- #ScriptLog /tmp/objavi-cgi.log
+ #ScriptLog /tmp/objavi-cgi.log
</VirtualHost>
View
2  config.py
@@ -122,7 +122,7 @@
}
FONT_LIST_INCLUDE = 'cache/font-list.inc'
-FONT_LIST_URL = '/font-list.py'
+FONT_LIST_URL = '/font-list.cgi.pdf'
# for the license field, with a view to making it a drop down.
LISENCES = ('GPL', 'GPLv2', 'GPLv2+', 'GPLv3', 'GPLv3+', 'LGPL', 'LGPLv2.1',
View
0  font-list.py → font-list.cgi.pdf
File renamed without changes
View
11 setup.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+# cobbled together from history
+
+mkdir tmp
+chmod 777 tmp
+mkdir books
+mkdir cache
+sudo chgrp www-data books
+sudo chgrp www-data cache
+sudo chmod 775 books cache
+sudo chmod g+s books cache
Please sign in to comment.
Something went wrong with that request. Please try again.