[IIAB] Error log related to a single apache wsgi access
George Hunt
georgejhunt at gmail.com
Thu Jul 11 08:57:07 PDT 2013
Thanks James,
We tried your suggestion, and switched to using firefox as a browser (I was
using chrome before).
We seem to have proper function. CSS is good.
The perception is that wsgi is much slower than the stand alone server.
After a reboot, the first page takes about 33 seconds to render. The world
map took a very long time the first time, but then came right up on second
access -- our hypothesis was that it was fetched from squid cache.
Small steps, but progress.
George
On Thu, Jul 11, 2013 at 10:33 AM, James McDuffie <mcduffie at pitfall.org>wrote:
> **
> You might want to try changing your iiab.conf to point directly to the
> knowledge directory:
>
> [DEFAULT]
> knowledge_dir = /mnt/usb0/knowledge
> search_for_knowledge_dir = False
>
> I think the search_for_knowledge_dir only works is if there is a knowledge
> directory in a subdirectory under where the IIAB software is installed.
>
> On Thu, Jul 11, 2013, at 06:57 AM, George Hunt wrote:
>
> The first error in the following log shows a sqlite url which I followed,
> and verified executable for all directories, and world readable for all
> files.
>
> Does the pattern of failures suggest something to test/try?
>
> Braddock -- can you post your config files, that are working for apache on
> your system.
>
> I have included our config files after the log file.
>
> George
>
> <humanReadableId>' (HEAD, OPTIONS, GET) -> zim_views.zim_main_page_view>])
> [Thu Jul 11 13:14:56.943664 2013] [:error] [pid 3910] SQLALCHEMY_URI
> sqlite:////mnt/usb0/knowledge/modules/gutenberg/gutenberg.db
> [Thu Jul 11 13:14:56.994776 2013] [:error] [pid 3911] SQLALCHEMY_URI
> sqlite:////mnt/usb0/knowledge/modules/gutenberg/gutenberg.db
> [Thu Jul 11 13:14:57.004316 2013] [:error] [pid 3909] SQLALCHEMY_URI
> sqlite:////mnt/usb0/knowledge/modules/gutenberg/gutenberg.db
> [Thu Jul 11 13:14:57.017759 2013] [:error] [pid 3908] SQLALCHEMY_URI
> sqlite:////mnt/usb0/knowledge/modules/gutenberg/gutenberg.db
> [Thu Jul 11 13:14:57.162184 2013] [:error] [pid 3910] URL MAP: Map([<Rule
> '/books/autocomplete' (HEAD, OPTIONS, GET) -> gutenberg.autocomplete>,
> [Thu Jul 11 13:14:57.162364 2013] [:error] [pid 3910] <Rule
> '/video/khanjson/' (HEAD, OPTIONS, GET) -> video_views.khan_json_view>,
> [Thu Jul 11 13:14:57.162411 2013] [:error] [pid 3910] <Rule
> '/books/authors' (HEAD, OPTIONS, GET) -> gutenberg.by_author>,
> [Thu Jul 11 13:14:57.162450 2013] [:error] [pid 3910] <Rule
> '/books/search' (HEAD, OPTIONS, GET) -> gutenberg.search>,
> [Thu Jul 11 13:14:57.162485 2013] [:error] [pid 3910] <Rule
> '/books/titles' (HEAD, OPTIONS, GET) -> gutenberg.by_title>,
> [Thu Jul 11 13:14:57.162514 2013] [:error] [pid 3910] <Rule
> '/video/khan/' (HEAD, OPTIONS, GET) -> video_views.khan_view>,
> [Thu Jul 11 13:14:57.162548 2013] [:error] [pid 3910] <Rule '/wikipedia/'
> (HEAD, OPTIONS, GET) -> wikipedia_views.wikipedia_view>,
> [Thu Jul 11 13:14:57.162581 2013] [:error] [pid 3910] <Rule '/redirect'
> (HEAD, OPTIONS, GET) -> top_views.redirect_view>,
> [Thu Jul 11 13:14:57.162613 2013] [:error] [pid 3910] <Rule '/software'
> (HEAD, OPTIONS, GET) -> software_view>,
> [Thu Jul 11 13:14:57.162646 2013] [:error] [pid 3910] <Rule '/detect'
> (HEAD, OPTIONS, GET) -> top_views.detect_view>,
> [Thu Jul 11 13:14:57.162676 2013] [:error] [pid 3910] <Rule '/books/'
> (HEAD, OPTIONS, GET) -> gutenberg.index>,
> [Thu Jul 11 13:14:57.162708 2013] [:error] [pid 3910] <Rule '/video/'
> (HEAD, OPTIONS, GET) -> video_views.khan_view>,
> [Thu Jul 11 13:14:57.162736 2013] [:error] [pid 3910] <Rule '/test'
> (HEAD, OPTIONS, GET) -> top_views.test>,
> [Thu Jul 11 13:14:57.162764 2013] [:error] [pid 3910] <Rule '/' (HEAD,
> OPTIONS, GET) -> top_views.index>,
> [Thu Jul 11 13:14:57.162796 2013] [:error] [pid 3910] <Rule
> '/maps/tile/<z>/<x>/<y>.png' (HEAD, OPTIONS, GET) -> map_views.tile>,
> [Thu Jul 11 13:14:57.162832 2013] [:error] [pid 3910] <Rule
> '/zim/iframe/<humanReadableId>/<namespace>/<url>' (HEAD, OPTIONS, GET) ->
> zim_views.iframe_view>,
> [Thu Jul 11 13:14:57.162866 2013] [:error] [pid 3910] <Rule
> '/video/khanvideo/<khanpath>.webm' (HEAD, OPTIONS, GET) ->
> video_views.khan_webm_view>,
> [Thu Jul 11 13:14:57.162900 2013] [:error] [pid 3910] <Rule
> '/video/khanvideo/<khanpath>.m4v' (HEAD, OPTIONS, GET) ->
> video_views.khan_h264_view>,
> [Thu Jul 11 13:14:57.162933 2013] [:error] [pid 3910] <Rule
> '/books/text/<textId>/details' (HEAD, OPTIONS, GET) -> gutenberg.text>,
> [Thu Jul 11 13:14:57.162966 2013] [:error] [pid 3910] <Rule
> '/books/text/<textId>/<textIndex>' (HEAD, OPTIONS, GET) -> gutenberg.read>,
> [Thu Jul 11 13:14:57.162999 2013] [:error] [pid 3910] <Rule
> '/zim/<humanReadableId>/<namespace>/<url>' (HEAD, OPTIONS, GET) ->
> zim_views.zim_view>,
> [Thu Jul 11 13:14:57.163032 2013] [:error] [pid 3910] <Rule
> '/video/khanvideo/<filename>' (HEAD, OPTIONS, GET) -> video_views.static>,
> [Thu Jul 11 13:14:57.163062 2013] [:error] [pid 3910] <Rule
> '/video/khanjson/<khanpath>/' (HEAD, OPTIONS, GET) ->
> video_views.khan_json_view>,
> [Thu Jul 11 13:14:57.163095 2013] [:error] [pid 3910] <Rule
> '/books/author/<authorId>' (HEAD, OPTIONS, GET) -> gutenberg.author>,
> [Thu Jul 11 13:14:57.163129 2013] [:error] [pid 3910] <Rule
> '/books/mirror/<filename>' (HEAD, OPTIONS, GET) ->
> gutenberg.gutenberg_mirror>,
> [Thu Jul 11 13:14:57.163163 2013] [:error] [pid 3910] <Rule
> '/htmlz/static/<filename>' (HEAD, OPTIONS, GET) -> htmlz_views.static>,
> [Thu Jul 11 13:14:57.163196 2013] [:error] [pid 3910] <Rule
> '/video/khan/<khanpath>/' (HEAD, OPTIONS, GET) -> video_views.khan_view>,
> [Thu Jul 11 13:14:57.163229 2013] [:error] [pid 3910] <Rule
> '/htmlz/<pgid>/<path>' (HEAD, OPTIONS, GET) -> htmlz_views.htmlz>,
> [Thu Jul 11 13:14:57.163262 2013] [:error] [pid 3910] <Rule
> '/maps/static/<filename>' (HEAD, OPTIONS, GET) -> map_views.static>,
> [Thu Jul 11 13:14:57.163295 2013] [:error] [pid 3910] <Rule
> '/zim/iframe/<humanReadableId>' (HEAD, OPTIONS, GET) ->
> zim_views.iframe_main_page_view>,
> [Thu Jul 11 13:14:57.163379 2013] [:error] [pid 3910] <Rule
> '/zim/search/<humanReadableId>' (HEAD, OPTIONS, GET) -> zim_views.search>,
> [Thu Jul 11 13:14:57.163413 2013] [:error] [pid 3910] <Rule
> '/zim/static/<filename>' (HEAD, OPTIONS, GET) -> zim_views.static>,
> [Thu Jul 11 13:14:57.163448 2013] [:error] [pid 3910] <Rule
> '/__autoindex__/<filename>' (HEAD, OPTIONS, GET) -> __autoindex__.static>,
> [Thu Jul 11 13:14:57.163481 2013] [:error] [pid 3910] <Rule
> '/__icons__/<filename>' (HEAD, OPTIONS, GET) -> silkicon>,
> [Thu Jul 11 13:14:57.163514 2013] [:error] [pid 3910] <Rule
> '/software/<path>' (HEAD, OPTIONS, GET) -> software_view>,
> [Thu Jul 11 13:14:57.163543 2013] [:error] [pid 3910] <Rule
> '/static/<filename>' (HEAD, OPTIONS, GET) -> static>,
> [Thu Jul 11 13:14:57.163571 2013] [:error] [pid 3910] <Rule
> '//static/<filename>' (HEAD, OPTIONS, GET) -> top_views.static>,
> [Thu Jul 11 13:14:57.163667 2013] [:error] [pid 3910] <Rule
> '/zim/<humanReadableId>' (HEAD, OPTIONS, GET) ->
> zim_views.zim_main_page_view>])
> [Thu Jul 11 13:14:57.180903 2013] [:error] [pid 3911] URL MAP: Map([<Rule
> '/books/autocomplete' (HEAD, OPTIONS, GET) -> gutenberg.autocomplete>,
> [Thu Jul 11 13:14:57.181071 2013] [:error] [pid 3911] <Rule
> '/video/khanjson/' (HEAD, OPTIONS, GET) -> video_views.khan_json_view>,
> [Thu Jul 11 13:14:57.181118 2013] [:error] [pid 3911] <Rule
> '/books/authors' (HEAD, OPTIONS, GET) -> gutenberg.by_author>,
> [Thu Jul 11 13:14:57.181151 2013] [:error] [pid 3911] <Rule
> '/books/search' (HEAD, OPTIONS, GET) -> gutenberg.search>,
> [Thu Jul 11 13:14:57.181182 2013] [:error] [pid 3911] <Rule
> '/books/titles' (HEAD, OPTIONS, GET) -> gutenberg.by_title>,
> [Thu Jul 11 13:14:57.181210 2013] [:error] [pid 3911] <Rule
> '/video/khan/' (HEAD, OPTIONS, GET) -> video_views.khan_view>,
> [Thu Jul 11 13:14:57.181240 2013] [:error] [pid 3911] <Rule '/wikipedia/'
> (HEAD, OPTIONS, GET) -> wikipedia_views.wikipedia_view>,
> [Thu Jul 11 13:14:57.181272 2013] [:error] [pid 3911] <Rule '/redirect'
> (HEAD, OPTIONS, GET) -> top_views.redirect_view>,
> [Thu Jul 11 13:14:57.181305 2013] [:error] [pid 3911] <Rule '/software'
> (HEAD, OPTIONS, GET) -> software_view>,
> [Thu Jul 11 13:14:57.181335 2013] [:error] [pid 3911] <Rule '/detect'
> (HEAD, OPTIONS, GET) -> top_views.detect_view>,
> [Thu Jul 11 13:14:57.181363 2013] [:error] [pid 3911] <Rule '/books/'
> (HEAD, OPTIONS, GET) -> gutenberg.index>,
> [Thu Jul 11 13:14:57.181390 2013] [:error] [pid 3911] <Rule '/video/'
> (HEAD, OPTIONS, GET) -> video_views.khan_view>,
> [Thu Jul 11 13:14:57.181418 2013] [:error] [pid 3911] <Rule '/test'
> (HEAD, OPTIONS, GET) -> top_views.test>,
> [Thu Jul 11 13:14:57.181445 2013] [:error] [pid 3911] <Rule '/' (HEAD,
> OPTIONS, GET) -> top_views.index>,
> [Thu Jul 11 13:14:57.181477 2013] [:error] [pid 3911] <Rule
> '/maps/tile/<z>/<x>/<y>.png' (HEAD, OPTIONS, GET) -> map_views.tile>,
> [Thu Jul 11 13:14:57.181513 2013] [:error] [pid 3911] <Rule
> '/zim/iframe/<humanReadableId>/<namespace>/<url>' (HEAD, OPTIONS, GET) ->
> zim_views.iframe_view>,
> [Thu Jul 11 13:14:57.181547 2013] [:error] [pid 3911] <Rule
> '/video/khanvideo/<khanpath>.webm' (HEAD, OPTIONS, GET) ->
> video_views.khan_webm_view>,
> [Thu Jul 11 13:14:57.181582 2013] [:error] [pid 3911] <Rule
> '/video/khanvideo/<khanpath>.m4v' (HEAD, OPTIONS, GET) ->
> video_views.khan_h264_view>,
> [Thu Jul 11 13:14:57.181616 2013] [:error] [pid 3911] <Rule
> '/books/text/<textId>/details' (HEAD, OPTIONS, GET) -> gutenberg.text>,
> [Thu Jul 11 13:14:57.181645 2013] [:error] [pid 3911] <Rule
> '/books/text/<textId>/<textIndex>' (HEAD, OPTIONS, GET) -> gutenberg.read>,
> [Thu Jul 11 13:14:57.181678 2013] [:error] [pid 3911] <Rule
> '/zim/<humanReadableId>/<namespace>/<url>' (HEAD, OPTIONS, GET) ->
> zim_views.zim_view>,
> [Thu Jul 11 13:14:57.181712 2013] [:error] [pid 3911] <Rule
> '/video/khanvideo/<filename>' (HEAD, OPTIONS, GET) -> video_views.static>,
> [Thu Jul 11 13:14:57.181745 2013] [:error] [pid 3911] <Rule
> '/video/khanjson/<khanpath>/' (HEAD, OPTIONS, GET) ->
> video_views.khan_json_view>,
> [Thu Jul 11 13:14:57.181825 2013] [:error] [pid 3911] <Rule
> '/books/author/<authorId>' (HEAD, OPTIONS, GET) -> gutenberg.author>,
> [Thu Jul 11 13:14:57.181862 2013] [:error] [pid 3911] <Rule
> '/books/mirror/<filename>' (HEAD, OPTIONS, GET) ->
> gutenberg.gutenberg_mirror>,
> [Thu Jul 11 13:14:57.181896 2013] [:error] [pid 3911] <Rule
> '/htmlz/static/<filename>' (HEAD, OPTIONS, GET) -> htmlz_views.static>,
> [Thu Jul 11 13:14:57.181930 2013] [:error] [pid 3911] <Rule
> '/video/khan/<khanpath>/' (HEAD, OPTIONS, GET) -> video_views.khan_view>,
> [Thu Jul 11 13:14:57.181963 2013] [:error] [pid 3911] <Rule
> '/htmlz/<pgid>/<path>' (HEAD, OPTIONS, GET) -> htmlz_views.htmlz>,
> [Thu Jul 11 13:14:57.181996 2013] [:error] [pid 3911] <Rule
> '/maps/static/<filename>' (HEAD, OPTIONS, GET) -> map_views.static>,
> [Thu Jul 11 13:14:57.182026 2013] [:error] [pid 3911] <Rule
> '/zim/iframe/<humanReadableId>' (HEAD, OPTIONS, GET) ->
> zim_views.iframe_main_page_view>,
> [Thu Jul 11 13:14:57.182058 2013] [:error] [pid 3911] <Rule
> '/zim/search/<humanReadableId>' (HEAD, OPTIONS, GET) -> zim_views.search>,
> [Thu Jul 11 13:14:57.182090 2013] [:error] [pid 3911] <Rule
> '/zim/static/<filename>' (HEAD, OPTIONS, GET) -> zim_views.static>,
> [Thu Jul 11 13:14:57.182123 2013] [:error] [pid 3911] <Rule
> '/__autoindex__/<filename>' (HEAD, OPTIONS, GET) -> __autoindex__.static>,
> [Thu Jul 11 13:14:57.182151 2013] [:error] [pid 3911] <Rule
> '/__icons__/<filename>' (HEAD, OPTIONS, GET) -> silkicon>,
> [Thu Jul 11 13:14:57.182179 2013] [:error] [pid 3911] <Rule
> '/software/<path>' (HEAD, OPTIONS, GET) -> software_view>,
> [Thu Jul 11 13:14:57.182207 2013] [:error] [pid 3911] <Rule
> '/static/<filename>' (HEAD, OPTIONS, GET) -> static>,
> [Thu Jul 11 13:14:57.182238 2013] [:error] [pid 3911] <Rule
> '//static/<filename>' (HEAD, OPTIONS, GET) -> top_views.static>,
> [Thu Jul 11 13:14:57.182332 2013] [:error] [pid 3911] <Rule
> '/zim/<humanReadableId>' (HEAD, OPTIONS, GET) ->
> zim_views.zim_main_page_view>])
> [Thu Jul 11 13:14:57.205371 2013] [:error] [pid 3909] URL MAP: Map([<Rule
> '/books/autocomplete' (HEAD, OPTIONS, GET) -> gutenberg.autocomplete>,
> [Thu Jul 11 13:14:57.205523 2013] [:error] [pid 3909] <Rule
> '/video/khanjson/' (HEAD, OPTIONS, GET) -> video_views.khan_json_view>,
> [Thu Jul 11 13:14:57.205570 2013] [:error] [pid 3909] <Rule
> '/books/authors' (HEAD, OPTIONS, GET) -> gutenberg.by_author>,
> [Thu Jul 11 13:14:57.205610 2013] [:error] [pid 3909] <Rule
> '/books/search' (HEAD, OPTIONS, GET) -> gutenberg.search>,
> [Thu Jul 11 13:14:57.205645 2013] [:error] [pid 3909] <Rule
> '/books/titles' (HEAD, OPTIONS, GET) -> gutenberg.by_title>,
> [Thu Jul 11 13:14:57.205676 2013] [:error] [pid 3909] <Rule
> '/video/khan/' (HEAD, OPTIONS, GET) -> video_views.khan_view>,
> [Thu Jul 11 13:14:57.205710 2013] [:error] [pid 3909] <Rule '/wikipedia/'
> (HEAD, OPTIONS, GET) -> wikipedia_views.wikipedia_view>,
> [Thu Jul 11 13:14:57.205744 2013] [:error] [pid 3909] <Rule '/redirect'
> (HEAD, OPTIONS, GET) -> top_views.redirect_view>,
> [Thu Jul 11 13:14:57.205777 2013] [:error] [pid 3909] <Rule '/software'
> (HEAD, OPTIONS, GET) -> software_view>,
> [Thu Jul 11 13:14:57.205810 2013] [:error] [pid 3909] <Rule '/detect'
> (HEAD, OPTIONS, GET) -> top_views.detect_view>,
> [Thu Jul 11 13:14:57.205839 2013] [:error] [pid 3909] <Rule '/books/'
> (HEAD, OPTIONS, GET) -> gutenberg.index>,
> [Thu Jul 11 13:14:57.205871 2013] [:error] [pid 3909] <Rule '/video/'
> (HEAD, OPTIONS, GET) -> video_views.khan_view>,
> [Thu Jul 11 13:14:57.205899 2013] [:error] [pid 3909] <Rule '/test'
> (HEAD, OPTIONS, GET) -> top_views.test>,
> [Thu Jul 11 13:14:57.205927 2013] [:error] [pid 3909] <Rule '/' (HEAD,
> OPTIONS, GET) -> top_views.index>,
> [Thu Jul 11 13:14:57.205958 2013] [:error] [pid 3909] <Rule
> '/maps/tile/<z>/<x>/<y>.png' (HEAD, OPTIONS, GET) -> map_views.tile>,
> [Thu Jul 11 13:14:57.205994 2013] [:error] [pid 3909] <Rule
> '/zim/iframe/<humanReadableId>/<namespace>/<url>' (HEAD, OPTIONS, GET) ->
> zim_views.iframe_view>,
> [Thu Jul 11 13:14:57.206028 2013] [:error] [pid 3909] <Rule
> '/video/khanvideo/<khanpath>.webm' (HEAD, OPTIONS, GET) ->
> video_views.khan_webm_view>,
> [Thu Jul 11 13:14:57.206120 2013] [:error] [pid 3909] <Rule
> '/video/khanvideo/<khanpath>.m4v' (HEAD, OPTIONS, GET) ->
> video_views.khan_h264_view>,
> [Thu Jul 11 13:14:57.206158 2013] [:error] [pid 3909] <Rule
> '/books/text/<textId>/details' (HEAD, OPTIONS, GET) -> gutenberg.text>,
> [Thu Jul 11 13:14:57.206190 2013] [:error] [pid 3909] <Rule
> '/books/text/<textId>/<textIndex>' (HEAD, OPTIONS, GET) -> gutenberg.read>,
> [Thu Jul 11 13:14:57.206224 2013] [:error] [pid 3909] <Rule
> '/zim/<humanReadableId>/<namespace>/<url>' (HEAD, OPTIONS, GET) ->
> zim_views.zim_view>,
> [Thu Jul 11 13:14:57.206254 2013] [:error] [pid 3909] <Rule
> '/video/khanvideo/<filename>' (HEAD, OPTIONS, GET) -> video_views.static>,
> [Thu Jul 11 13:14:57.206287 2013] [:error] [pid 3909] <Rule
> '/video/khanjson/<khanpath>/' (HEAD, OPTIONS, GET) ->
> video_views.khan_json_view>,
> [Thu Jul 11 13:14:57.206320 2013] [:error] [pid 3909] <Rule
> '/books/author/<authorId>' (HEAD, OPTIONS, GET) -> gutenberg.author>,
> [Thu Jul 11 13:14:57.206349 2013] [:error] [pid 3909] <Rule
> '/books/mirror/<filename>' (HEAD, OPTIONS, GET) ->
> gutenberg.gutenberg_mirror>,
> [Thu Jul 11 13:14:57.206382 2013] [:error] [pid 3909] <Rule
> '/htmlz/static/<filename>' (HEAD, OPTIONS, GET) -> htmlz_views.static>,
> [Thu Jul 11 13:14:57.206414 2013] [:error] [pid 3909] <Rule
> '/video/khan/<khanpath>/' (HEAD, OPTIONS, GET) -> video_views.khan_view>,
> [Thu Jul 11 13:14:57.206444 2013] [:error] [pid 3909] <Rule
> '/htmlz/<pgid>/<path>' (HEAD, OPTIONS, GET) -> htmlz_views.htmlz>,
> [Thu Jul 11 13:14:57.206476 2013] [:error] [pid 3909] <Rule
> '/maps/static/<filename>' (HEAD, OPTIONS, GET) -> map_views.static>,
> [Thu Jul 11 13:14:57.206510 2013] [:error] [pid 3909] <Rule
> '/zim/iframe/<humanReadableId>' (HEAD, OPTIONS, GET) ->
> zim_views.iframe_main_page_view>,
> [Thu Jul 11 13:14:57.206544 2013] [:error] [pid 3909] <Rule
> '/zim/search/<humanReadableId>' (HEAD, OPTIONS, GET) -> zim_views.search>,
> [Thu Jul 11 13:14:57.206577 2013] [:error] [pid 3909] <Rule
> '/zim/static/<filename>' (HEAD, OPTIONS, GET) -> zim_views.static>,
> [Thu Jul 11 13:14:57.206609 2013] [:error] [pid 3909] <Rule
> '/__autoindex__/<filename>' (HEAD, OPTIONS, GET) -> __autoindex__.static>,
> [Thu Jul 11 13:14:57.206639 2013] [:error] [pid 3909] <Rule
> '/__icons__/<filename>' (HEAD, OPTIONS, GET) -> silkicon>,
> [Thu Jul 11 13:14:57.206667 2013] [:error] [pid 3909] <Rule
> '/software/<path>' (HEAD, OPTIONS, GET) -> software_view>,
> [Thu Jul 11 13:14:57.206695 2013] [:error] [pid 3909] <Rule
> '/static/<filename>' (HEAD, OPTIONS, GET) -> static>,
> [Thu Jul 11 13:14:57.206728 2013] [:error] [pid 3909] <Rule
> '//static/<filename>' (HEAD, OPTIONS, GET) -> top_views.static>,
> [Thu Jul 11 13:14:57.206825 2013] [:error] [pid 3909] <Rule
> '/zim/<humanReadableId>' (HEAD, OPTIONS, GET) ->
> zim_views.zim_main_page_view>])
> [Thu Jul 11 13:14:57.225809 2013] [:error] [pid 3908] URL MAP: Map([<Rule
> '/books/autocomplete' (HEAD, OPTIONS, GET) -> gutenberg.autocomplete>,
> [Thu Jul 11 13:14:57.225959 2013] [:error] [pid 3908] <Rule
> '/video/khanjson/' (HEAD, OPTIONS, GET) -> video_views.khan_json_view>,
> [Thu Jul 11 13:14:57.226006 2013] [:error] [pid 3908] <Rule
> '/books/authors' (HEAD, OPTIONS, GET) -> gutenberg.by_author>,
> [Thu Jul 11 13:14:57.226040 2013] [:error] [pid 3908] <Rule
> '/books/search' (HEAD, OPTIONS, GET) -> gutenberg.search>,
> [Thu Jul 11 13:14:57.226071 2013] [:error] [pid 3908] <Rule
> '/books/titles' (HEAD, OPTIONS, GET) -> gutenberg.by_title>,
> [Thu Jul 11 13:14:57.226105 2013] [:error] [pid 3908] <Rule
> '/video/khan/' (HEAD, OPTIONS, GET) -> video_views.khan_view>,
> [Thu Jul 11 13:14:57.226140 2013] [:error] [pid 3908] <Rule '/wikipedia/'
> (HEAD, OPTIONS, GET) -> wikipedia_views.wikipedia_view>,
> [Thu Jul 11 13:14:57.226169 2013] [:error] [pid 3908] <Rule '/redirect'
> (HEAD, OPTIONS, GET) -> top_views.redirect_view>,
> [Thu Jul 11 13:14:57.226202 2013] [:error] [pid 3908] <Rule '/software'
> (HEAD, OPTIONS, GET) -> software_view>,
> [Thu Jul 11 13:14:57.226231 2013] [:error] [pid 3908] <Rule '/detect'
> (HEAD, OPTIONS, GET) -> top_views.detect_view>,
> [Thu Jul 11 13:14:57.226317 2013] [:error] [pid 3908] <Rule '/books/'
> (HEAD, OPTIONS, GET) -> gutenberg.index>,
> [Thu Jul 11 13:14:57.226349 2013] [:error] [pid 3908] <Rule '/video/'
> (HEAD, OPTIONS, GET) -> video_views.khan_view>,
> [Thu Jul 11 13:14:57.226378 2013] [:error] [pid 3908] <Rule '/test'
> (HEAD, OPTIONS, GET) -> top_views.test>,
> [Thu Jul 11 13:14:57.226406 2013] [:error] [pid 3908] <Rule '/' (HEAD,
> OPTIONS, GET) -> top_views.index>,
> [Thu Jul 11 13:14:57.226434 2013] [:error] [pid 3908] <Rule
> '/maps/tile/<z>/<x>/<y>.png' (HEAD, OPTIONS, GET) -> map_views.tile>,
> [Thu Jul 11 13:14:57.226471 2013] [:error] [pid 3908] <Rule
> '/zim/iframe/<humanReadableId>/<namespace>/<url>' (HEAD, OPTIONS, GET) ->
> zim_views.iframe_view>,
> [Thu Jul 11 13:14:57.226508 2013] [:error] [pid 3908] <Rule
> '/video/khanvideo/<khanpath>.webm' (HEAD, OPTIONS, GET) ->
> video_views.khan_webm_view>,
> [Thu Jul 11 13:14:57.226539 2013] [:error] [pid 3908] <Rule
> '/video/khanvideo/<khanpath>.m4v' (HEAD, OPTIONS, GET) ->
> video_views.khan_h264_view>,
> [Thu Jul 11 13:14:57.226572 2013] [:error] [pid 3908] <Rule
> '/books/text/<textId>/details' (HEAD, OPTIONS, GET) -> gutenberg.text>,
> [Thu Jul 11 13:14:57.226606 2013] [:error] [pid 3908] <Rule
> '/books/text/<textId>/<textIndex>' (HEAD, OPTIONS, GET) -> gutenberg.read>,
> [Thu Jul 11 13:14:57.226639 2013] [:error] [pid 3908] <Rule
> '/zim/<humanReadableId>/<namespace>/<url>' (HEAD, OPTIONS, GET) ->
> zim_views.zim_view>,
> [Thu Jul 11 13:14:57.226673 2013] [:error] [pid 3908] <Rule
> '/video/khanvideo/<filename>' (HEAD, OPTIONS, GET) -> video_views.static>,
> [Thu Jul 11 13:14:57.226706 2013] [:error] [pid 3908] <Rule
> '/video/khanjson/<khanpath>/' (HEAD, OPTIONS, GET) ->
> video_views.khan_json_view>,
> [Thu Jul 11 13:14:57.226739 2013] [:error] [pid 3908] <Rule
> '/books/author/<authorId>' (HEAD, OPTIONS, GET) -> gutenberg.author>,
> [Thu Jul 11 13:14:57.226771 2013] [:error] [pid 3908] <Rule
> '/books/mirror/<filename>' (HEAD, OPTIONS, GET) ->
> gutenberg.gutenberg_mirror>,
> [Thu Jul 11 13:14:57.226804 2013] [:error] [pid 3908] <Rule
> '/htmlz/static/<filename>' (HEAD, OPTIONS, GET) -> htmlz_views.static>,
> [Thu Jul 11 13:14:57.226837 2013] [:error] [pid 3908] <Rule
> '/video/khan/<khanpath>/' (HEAD, OPTIONS, GET) -> video_views.khan_view>,
> [Thu Jul 11 13:14:57.226870 2013] [:error] [pid 3908] <Rule
> '/htmlz/<pgid>/<path>' (HEAD, OPTIONS, GET) -> htmlz_views.htmlz>,
> [Thu Jul 11 13:14:57.226900 2013] [:error] [pid 3908] <Rule
> '/maps/static/<filename>' (HEAD, OPTIONS, GET) -> map_views.static>,
> [Thu Jul 11 13:14:57.226932 2013] [:error] [pid 3908] <Rule
> '/zim/iframe/<humanReadableId>' (HEAD, OPTIONS, GET) ->
> zim_views.iframe_main_page_view>,
> [Thu Jul 11 13:14:57.226965 2013] [:error] [pid 3908] <Rule
> '/zim/search/<humanReadableId>' (HEAD, OPTIONS, GET) -> zim_views.search>,
> [Thu Jul 11 13:14:57.226998 2013] [:error] [pid 3908] <Rule
> '/zim/static/<filename>' (HEAD, OPTIONS, GET) -> zim_views.static>,
> [Thu Jul 11 13:14:57.227028 2013] [:error] [pid 3908] <Rule
> '/__autoindex__/<filename>' (HEAD, OPTIONS, GET) -> __autoindex__.static>,
> [Thu Jul 11 13:14:57.227057 2013] [:error] [pid 3908] <Rule
> '/__icons__/<filename>' (HEAD, OPTIONS, GET) -> silkicon>,
> [Thu Jul 11 13:14:57.227085 2013] [:error] [pid 3908] <Rule
> '/software/<path>' (HEAD, OPTIONS, GET) -> software_view>,
> [Thu Jul 11 13:14:57.227114 2013] [:error] [pid 3908] <Rule
> '/static/<filename>' (HEAD, OPTIONS, GET) -> static>,
> [Thu Jul 11 13:14:57.227145 2013] [:error] [pid 3908] <Rule
> '//static/<filename>' (HEAD, OPTIONS, GET) -> top_views.static>,
> [Thu Jul 11 13:14:57.227241 2013] [:error] [pid 3908] <Rule '/zim/
>
> Our /etc/iiab.conf:
> [DEFAULT]
> search_knowledge_dir = True
>
> our /etc/httpd/conf.d/iiab.conf:
> XSendFile on
> XSendFilePath /
> WSGIScriptAlias /iiab /var/www/iiab.wsgi
>
> our /var/www/iiab.wsgi:
> # WSGI interface file for Apache's mod_wsgi
>
> # If you are using a virtualenv, set this path
> path_to_virtualenv = None
>
> ### NOTHING TO CONFIGURE BELOW THIS LINE ###
>
> import sys
> import os
>
> if path_to_virtualenv is not None:
> activate_this = os.path.join(path_to_virtualenv,
> 'bin/activate_this.py')
> execfile(activate_this, dict(__file__=activate_this))
>
> # Add iiab directory if we are running from the git sources
> parent_dir = os.path.dirname(os.path.dirname(__file__))
> sys.path.append(parent_dir)
>
> import iiab
> from iiab.webapp import create_app
> from iiab.config import load_config
>
> package_dir = os.path.dirname(iiab.__file__)
>
> config_files = [os.path.join(package_dir, 'wsgi.ini'),
> '/etc/iiab.conf',
> os.path.join(os.path.expanduser('~'), '.iiab.conf')]
> load_config(config_files)
>
> application = create_app()
> ~
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sgvhak.org/mailman/private/iiab/attachments/20130711/3175030a/attachment-0001.html>
More information about the IIAB
mailing list