[Booki-dev] Problems with spellchecker
James Simmons
nicestep at gmail.com
Wed Feb 9 15:13:19 PST 2011
Tuukka,
When I added spell-check-logic.php to the <Locations> I stopped
getting requests to download it. Putting info.php in <Locations> made
it work for port 46 as well as port 80. So far so good. However,
when I run the spell checker it finds that NO words were misspelled
using the selected dictionary. I was expecting it to find some
errors. Also, the Dictionary pull-down is not populated.
I thought I'd try booki.flossmanuals.net for a sanity check and Lo!,
it too has EXACTLY THE SAME ISSUE. I can deliberately misspell words
and it won't find them, and the Dictionary pulldown is empty.
Thanks,
James Simmons
On Wed, Feb 9, 2011 at 4:28 PM, Tuukka Hastrup <Tuukka.Hastrup at iki.fi> wrote:
> James Simmons wrote:
>> These are my virtual host entries in httpd.conf:
>
> Ok, I'm not well-versed in these matters, but I can always suggest
> something. See below:
>
>> <VirtualHost 10.239.17.123:86>
>> # ServerName booki.walgreens.com
>> ServerAdmin jim.simmons at walgreens.com
>>
>> DocumentRoot /home/jds/src/booki/
>>
>> <Directory /usr/share/pyshared/django/contrib/admin/media/>
>> Order allow,deny
>> Allow from all
>> </Directory>
>>
>
> Ok. This tells all paths should go to Python/Django/Booki:
>
>> <Location "/">
>>
>> SetHandler python-program
>> PythonHandler django.core.handlers.modpython
>> SetEnv DJANGO_SETTINGS_MODULE booki.settings
>> PythonDebug On
>> PythonPath "['/home/jds/src/booki/lib'] + sys.path"
>>
>> </Location>
>
> The following sets exceptions; these will not got to
> Python/Django/Booki. Instead, they are served as static files.
>
> Perhaps you need to add this:
>
> <Location "/info.php">
> SetHandler application/x-httpd-php
> </Location>
>
>> <Location "/favicon.ico">
>> SetHandler None
>> </Location>
>> <Location "/media">
>> SetHandler None
>> </Location>
>
> If the following line is redundant with respect to the DocumentRoot
> directive above, you can just put info.php in /home/jds/src/booki and it
> should work. If it's not, you need to add a similar line for info.php:
>
> Alias /info.php /home/jds/src/booki/info.php
>
>> Alias /favicon.ico /home/jds/src/booki/favicon.ico
>> Alias /media/ /usr/share/pyshared/django/contrib/admin/media/
>>
>> ErrorLog /var/log/apache2/booki-error.log
>>
>> # Possible values include: debug, info, notice, warn, error, crit,
>> # alert, emerg.
>> LogLevel warn
>>
>> CustomLog /var/log/apache2/booki-access.log combined
>> ServerSignature On
>>
>> </VirtualHost>
>>
>> <VirtualHost 10.239.17.123:80>
>> ServerAdmin webmaster at localhost
>> #XXX set server name
>> #ServerName objavi.halo.gen.nz
>> # limit MEM to 800 million bytes
>> RLimitMEM 800000000
>>
>> #Sometimes it takes a while. Wait.
>> TimeOut 600
>>
>> DocumentRoot /home/jds/src/objavi2/htdocs
>> <Directory />
>> Options FollowSymLinks
>> AllowOverride None
>> </Directory>
>> <Directory /home/jds/src/objavi2/>
>> Options +All +ExecCGI
>> AllowOverride None
>> Order allow,deny
>> Allow from all
>> AddHandler cgi-script .cgi
>> # Remove output filters in case mod_deflate is being used.
>> RemoveOutputFilter .cgi
>> </Directory>
>>
>> DirectoryIndex index.html objavi.cgi
>> ErrorLog /var/log/apache2/objavi-error.log
>>
>> # Possible values include: debug, info, notice, warn, error, crit,
>> # alert, emerg.
>> LogLevel debug
>>
>> CustomLog /var/log/apache2/objavi-access.log combined
>> #ScriptLog /tmp/objavi-cgi.log
>>
>> </VirtualHost>
>
> _______________________________________________
> Booki-dev mailing list
> Booki-dev at lists.flossmanuals.net
> http://lists.flossmanuals.net/listinfo.cgi/booki-dev-flossmanuals.net
>
More information about the Booki-dev
mailing list