Use with Apache?

83 views
Skip to first unread message

Roland Sieker

unread,
Dec 10, 2013, 5:32:21 AM12/10/13
to anki-syn...@googlegroups.com
Hi.
This looks like application. Thanks for the code.

I already have an Apache web server running. So, is there a way (WSGI?) to use the server with Apache? (Idieally, an easy way? ^_^  ) Or do have to write that myself?
Cheers, ospalh

David Snopek

unread,
Dec 10, 2013, 8:19:18 AM12/10/13
to anki-syn...@googlegroups.com
Yes, it is possible to use with Apache!

Personally, on Bibliobird.com, I use "ProxyPass" to forward requests to the Anki server for a special anki.bibliobird.com virtual host. Here is an excerpt from my Apache config:

<VirtualHost *:80>
    ServerAdmin sup...@lingwo.org
    ServerName anki.bibliobird.com

    SetEnv no-gzip 1

    <Location />
        ProxyPass http://localhost:27701/
        ProxyPassReverse http://localhost:27701/
    </Location>
</VirtualHost>

I'll add this to the documentation when I have a chance!

It may also be possible to use mod_wsgi, but I don't have any experience with that.

I hope that helps!

Regards,
David.


2013/12/10 Roland Sieker <osp...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "Anki Sync Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to anki-sync-serv...@googlegroups.com.
To post to this group, send email to anki-syn...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/anki-sync-server/8eac2bfb-bdc7-4af0-b7bf-094df6f84dcf%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Roland Sieker

unread,
Dec 10, 2013, 9:05:22 AM12/10/13
to anki-syn...@googlegroups.com


Am Dienstag, 10. Dezember 2013 14:19:18 UTC+1 schrieb David Snopek:
Yes, it is possible to use with Apache!

Personally, on Bibliobird.com, I use "ProxyPass"  (...)
Thanks. I guess i will try that.

It may also be possible to use mod_wsgi, but I don't have any experience with that.

 To be honest, i don’t have either. It just seems to be the modern way to run Python web apps. (Afais it would cut out an intermediate step.) Maybe i will look into it myself whether it's possible/useful to do it this when i get around to it.

Thanks, ospalh
Reply all
Reply to author
Forward
0 new messages