Jump to content

[Solved] Forms take two attempts to submit, possibly related to writing files


mabass

Recommended Posts

True. Very odd.

 

Could you do me a favor and do the same for public_html/audax-abc ? I mirrored the specific app in it's own folder. That way I can provide a stable version while still testing.

 

Anyway, thanks for all your help. For now I've run out of ideas, maybe stackoverflow has an idea.

 

 

 

Edit: One thing I have not tried is profiling the app using werkzeug. However, do that I need to wrap the wsgi app and I'm not sure how to do that with your infrastructure.

A basic example to deploy the profiler is provided here (under section "Profiling for Perfomance") - however the example code uses now deprecated imports.

Edited by mabass
Link to comment
Share on other sites

No sorry, I was unclear.

I added a new subdomain audax-abc.mabass.heliohost.org, with /audax-abc/ as root.

Basically the same app is now running twice, once via the sandbox (accessed by mabass.tk) and as standalone (audax-abc).

 

I just wanted to use the standalone the same httpd conf method.

Edited by mabass
Link to comment
Share on other sites

That looks like something you would need a VPS for. https://www.heliohost.org/vps/ Now is a great time to signup. We're offering an extra 1 GB of memory with any VPS sale, and we're also offering 10% off when you signup for 6 months. So combining both sales you can get 2 GB memory, 2 CPUs, and 50 GB hard drive for $3.60 per month. If you need any help setting up apache or mod_wsgi I'd be glad to help. You could also run flask as a constant process on a port, and then have apache proxy requests to that internal port which is much easier to set up than mod_wsgi. Those sales are only good until we reach the goal of our current fundraiser.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...