<p dir="ltr">I would say any really. There's a lot of guides for Ubuntu, so I'd go with them if you aren't familiar with Linux. </p>
<p dir="ltr">As for the raspberry Pi, I'd say go for it. If it's a fairly straightforward site, it shouldn't be a problem. If your supporting a few hundred users per minute it might be a problem, but that doesn't sound like your case. </p>
<p dir="ltr">I've had issues with sd card corruption, but that's usually only with power instability. But once you get things configured, it's easy to clone the sd card. This works great if your db isn't on the pi (which it sounds like it isn't). Then there shouldn't be any issues with keeping things backed up.</p>
<p dir="ltr">But any system can potentially be a good Linux box. I ran my webserver and remote file server off an old Pentium 4 laptop running Debian for like 4 years.</p>
<p dir="ltr">-- Anthony Ford </p>
<div class="gmail_quote">On Apr 20, 2016 9:21 PM, "Alex Hall" <<a href="mailto:ahall@autodist.com">ahall@autodist.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">So, Apache on Windows isn't the best idea, and it's not just that I'm missing something? That's good to know. Well, it's frustrating, but at least I know it's not me missing the obvious. I'm considering a Raspberry Pi, so it can always be on. My test machine sleeps at night and isn't the most capable--an old Dell--so a dedicated, small device seems a good option. This is an intranet-only site for my work, so it has to be up as much as possible but won't see heavy traffic. Is the Raspi a valid option for hosting Flask? Is there a Linux distort that can do the job better, running in a VM? Or will any Linux do the job?<br><div><blockquote type="cite"><div>On Apr 20, 2016, at 17:25, Anthony Ford <<a href="mailto:ford.anthonyj@gmail.com" target="_blank">ford.anthonyj@gmail.com</a>> wrote:</div><br><div><div dir="ltr">Nginx is an option, but it's preferred approach is to run your app in uwsgi, which is not windows friendly.<div><br></div><div>Perhaps with some effort you could get it running?</div><div><br></div><div>How about a VM? Could you prop up a really light linux VM on the machine in question? Then you could run Apache or Nginx on a more widely supported platform. You could simply port-bind the required ports (80 & whatever your DB needs) and it would be nearly seamless to the outside.</div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr">Anthony Ford,<br>KF5IBN,<div><a href="mailto:ford.anthonyj@gmail.com" target="_blank">ford.anthonyj@gmail.com</a></div></div></div></div>
<br><div class="gmail_quote">On Wed, Apr 20, 2016 at 5:10 PM, Alex Hall <span dir="ltr"><<a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thanks. I'd looked on that page, but couldn't remember why it failed. Now, having tried it again, I do. I'm on 64-bit Windows, which the readme for Windows (linked to on the page you sent) says is problematic. I followed the instructions, but when Apache starts, it gives me an error that mod_wsgi.so is not a valid win32 application. Plus, the Windows readme is full of warnings, caviats, and the like.<br><br></div>Is there a web server that is as robust as Apache, but that is more friendly to Flask? I've never had so much trouble getting Python to work, and that counts trying to use Py2Exe on an app that uses WX. :)<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 20, 2016 at 4:48 PM, David Lord <span dir="ltr"><<a href="mailto:davidism@gmail.com" target="_blank">davidism@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div><p style="margin:0px 0px 1.2em!important">The <a href="http://modwsgi.readthedocs.org/en/develop/installation.html" target="_blank">docs</a>
        link to <a href="https://github.com/GrahamDumpleton/mod_wsgi/blob/638ac9efa49cb119a0a7016e069780efeca9f3e9/win32/README.rst#using-the-pre-compiled-binaries" target="_blank">this</a>:</p>
      <blockquote style="margin:1.2em 0px;border-left:4px solid rgb(221,221,221);padding:0px 1em;color:rgb(119,119,119);quotes:none"><p style="margin:0px 0px 1.2em!important">Occassionally
          precompiled binaries will be made available for mod_wsgi.
          These may not be updated on every release because more often
          than not code changes are being made which relate only to
          mod_wsgi daemon mode, or mod_wsgi-express, neither of which
          are available for Windows.</p><p style="margin:0px 0px 1.2em!important">When pre-compiled
          mod_wsgi binaries are made available they will be downloadable
          from the github release page for the mod_wsgi project at <a href="https://github.com/GrahamDumpleton/mod_wsgi/releases" target="_blank"></a><a href="https://github.com/GrahamDumpleton/mod_wsgi/releases" target="_blank">https://github.com/GrahamDumpleton/mod_wsgi/releases</a>.</p><p style="margin:0px 0px 1.2em!important">Look back at older
          releases if the most current version doesn’t have them
          associated with it.</p>
      </blockquote><p style="margin:0px 0px 1.2em!important">Looking at the
        latest release on the linked page shows that the last Windows
        builds needed generating for the <a href="https://github.com/GrahamDumpleton/mod_wsgi/releases/tag/4.4.12" target="_blank">4.4.12
          release</a>, which has a Windows download link. Within that
        archive you would extract <code style="font-size:0.85em;font-family:Consolas,Inconsolata,Courier,monospace;margin:0px 0.15em;padding:0px 0.3em;white-space:pre-wrap;border:1px solid rgb(234,234,234);background-color:rgb(248,248,248);border-radius:3px;display:inline">/Apache24-win32-VC9/modules/mod_wsgi-py27-VC9.so</code>.
        (Assuming you’re using the 32-bit install which is the default
        on Windows.)</p><div><div><p style="margin:0px 0px 1.2em!important">On 04/20/2016 01:31
        PM, Alex Hall wrote:</p><div style="margin:0px 0px 1.2em!important"><br></div>
      </div></div><div><div><br></div>
        <blockquote type="cite"><div><div>
          <div dir="ltr">
            <div>
              <div>
                <div>Hello list,<br>
                </div>
                The other major difficulty I'm running into is getting
                Apache to host my Flask project. I have WAMP installed
                on Windows 7 64-bit, which gives me Apache2.4<br>
                <br>
              </div>
              The instructions from Flask's site say to use Mod_WSGI,
              and offer a link to setup instructions. However, the Flask
              docs then state that the linked page is Unix-only, and
              offer nothing for Windows. I went to the page on the off
              chance that I could gleen something useful, and found that
              it's only for Apache 2.2 or below. I've searched out how
              to install Mod_WSGI on Apache2.4, and only been able to
              find confusing instructions. For instance, one page said
              I'd need to know the version, not of Apache, but of the MS
              compiler that was used to generate my version of Apache.
              Others point me to download pages, but I'm never able to
              find installers or scripts for Apache2.4 and Python2.7.<br>
              <br>
            </div>
            What's the trick to getting Flask hosted by Apache2.4 under
            Windows 7? I can't use a shared or cloud server, because
            this project is an intranet one that must be on my work's
            local network to talk to the databases I'm querying. It'll
            have to be hosted under either IIS or Apache, and I really
            dislike IIS. Hopefully this is possible and I've just
            managed to miss the instructions that will reveal the
            secrets. If anyone has any suggestions, I'd greatly
            appreciate hearing them. Thanks in advance!<br clear="all">
            <div>
              <div>
                <div>
                  <div><br>
                    -- <br>
                    <div>
                      <div dir="ltr">
                        <div>
                          <div>Alex Hall<br>
                          </div>
                          Automatic Distributors, IT department<br>
                        </div>
                        <a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a><br>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <br>
          <fieldset></fieldset>
          <br>
          </div></div><pre>_______________________________________________
Flask mailing list
<a href="mailto:Flask@python.org" target="_blank">Flask@python.org</a>
<a href="https://mail.python.org/mailman/listinfo/flask" target="_blank">https://mail.python.org/mailman/listinfo/flask</a>
</pre>
        </blockquote><div><br></div>
      </div><div style="margin:0px 0px 1.2em!important"><br></div>
      <div title="MDH:VGhlIFtkb2NzXVsxXSBsaW5rIHRvwqAgW3RoaXNdWzJdOjxicj48YnI+Jmd0OyBPY2Nhc3Npb25hbGx5IHByZWNvbXBpbGVkIGJpbmFyaWVzIHdpbGwgYmUgbWFkZSBhdmFpbGFibGUgZm9yIG1vZF93
c2dpLiBUaGVzZSBtYXkgbm90IGJlIHVwZGF0ZWQgb24gZXZlcnkgcmVsZWFzZSBiZWNhdXNlIG1v
cmUgb2Z0ZW4gdGhhbiBub3QgY29kZSBjaGFuZ2VzIGFyZSBiZWluZyBtYWRlIHdoaWNoIHJlbGF0
ZSBvbmx5IHRvIG1vZF93c2dpIGRhZW1vbiBtb2RlLCBvciBtb2Rfd3NnaS1leHByZXNzLCBuZWl0
aGVyIG9mIHdoaWNoIGFyZSBhdmFpbGFibGUgZm9yIFdpbmRvd3MuPGJyPiZndDsgPGJyPiZndDsg
V2hlbiBwcmUtY29tcGlsZWQgbW9kX3dzZ2kgYmluYXJpZXMgYX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gcG9zc2libGUgYW5kIEkndmUganVzdCBtYW5h
Z2VkIHRvIG1pc3MgdGhlIGluc3RydWN0aW9ucyB0aGF0IHdpbGwgcmV2ZWFsIHRoZSBzZWNyZXRz
LiBJZiBhbnlvbmUgaGFzIGFueSBzdWdnZXN0aW9ucywgSSdkIGdyZWF0bHkgYXBwcmVjaWF0ZSBo
ZWFyaW5nIHRoZW0uIFRoYW5rcyBpbiBhZHZhbmNlITxiciBjbGVhcj0iYWxsIj48ZGl2PjxkaXY+
PGRpdj48ZGl2Pjxicj4tLSA8YnI+PGRpdiBjbGFzcz0iZ21haWxfc2lnbmF0dXJlIj48ZGl2IGRp
cj0ibHRyIj48ZGl2PjxkaXY+QWxleCBIYWxsPGJyPjwvZGl2PkF1dG9tYXRpYyBEaXN0cmlidXRv
cnMsIElUIGRlcGFydG1lbnQ8YnI+PC9kaXY+PGEgbW96LWRvLW5vdC1zZW5kPSJ0cnVlIiBocmVm
PSJtYWlsdG86YWhhbGxAYXV0b2Rpc3QuY29tIiB0YXJnZXQ9Il9ibGFuayI+YWhhbGxAYXV0b2Rp
c3QuY29tPC9hPjxicj48L2Rpdj48L2Rpdj4KPC9kaXY+PC9kaXY+PC9kaXY+PC9kaXY+PC9kaXY+
Cgo8YnI+PGZpZWxkc2V0IGNsYXNzPSJtaW1lQXR0YWNobWVudEhlYWRlciI+PC9maWVsZHNldD48
YnI+PHByZSB3cmFwPSIiPl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fCkZsYXNrIG1haWxpbmcgbGlzdApGbGFza0BweXRob24ub3JnCmh0dHBzOi8vbWFpbC5w
eXRob24ub3JnL21haWxtYW4vbGlzdGluZm8vZmxhc2sKPC9wcmU+Cgo8L2Jsb2NrcXVvdGU+PGJy
        Pg==" style="min-height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0">​</div>
    </div>
  </div>

<br>_______________________________________________<br>
Flask mailing list<br>
<a href="mailto:Flask@python.org" target="_blank">Flask@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/flask" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/flask</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div><div dir="ltr"><div><div>Alex Hall<br></div>Automatic Distributors, IT department<br></div><a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a><br></div></div>
</div>
</div></div><br>_______________________________________________<br>
Flask mailing list<br>
<a href="mailto:Flask@python.org" target="_blank">Flask@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/flask" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/flask</a><br>
<br></blockquote></div><br></div>
</div></blockquote></div><br></div></blockquote></div>