using nginx + Brython

32 views
Skip to first unread message

André

unread,
Aug 31, 2017, 9:50:50 PM8/31/17
to brython
To use Brython on the commercial server I use, (running Apache), I had to disable the normal interpretation of Python files by including the following in my .htaccess file:

</FilesMatch>
RemoveHandler .py

A user is trying to run a copy of my project on a different server using nginx and is encountering an error.  Does anyone know what would be the equivalent configuration setting?

André

Jonathan Verner

unread,
Sep 4, 2017, 2:14:20 AM9/4/17
to brython
What is the exact error he is encountering? I am running some Brython stuff with nginx without any special settings and I haven't encountered any problems...

Andre Roberge

unread,
Sep 4, 2017, 6:10:42 AM9/4/17
to bry...@googlegroups.com
On Mon, Sep 4, 2017 at 3:14 AM, Jonathan Verner <jona...@temno.eu> wrote:
What is the exact error he is encountering? I am running some Brython stuff with nginx without any special settings and I haven't encountered any problems...

Sorry, I should have posted a follow-up.  The cause of the error was an Apache handler issue and has apparently been resolved:


 André


On Friday, September 1, 2017 at 3:50:50 AM UTC+2, André wrote:
To use Brython on the commercial server I use, (running Apache), I had to disable the normal interpretation of Python files by including the following in my .htaccess file:

</FilesMatch>
RemoveHandler .py

A user is trying to run a copy of my project on a different server using nginx and is encountering an error.  Does anyone know what would be the equivalent configuration setting?

André

--
You received this message because you are subscribed to a topic in the Google Groups "brython" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/brython/W-DIh_-cD00/unsubscribe.
To unsubscribe from this group and all its topics, send an email to brython+unsubscribe@googlegroups.com.
To post to this group, send email to bry...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brython/311c22b2-1cc8-4729-b2e3-abd33de228c8%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages