Permalink
Browse files

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

produces.
  • Loading branch information...
1 parent 7ae1347 commit 67fedf20d10b35d5111bc26410c80f5a36422508 douglas committed Jul 5, 2009
Showing with 14 additions and 3 deletions.
  1. +2 −2 apache-config-objavi2
  2. +1 −1 config.py
  3. BIN font-list.py → font-list.cgi.pdf
  4. +11 −0 setup.sh
View
@@ -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
@@ -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',
File renamed without changes.
View
@@ -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

0 comments on commit 67fedf2

Please sign in to comment.