2015-01-22 22:05:35 +00:00
<!DOCTYPE html>
< html >
< head >
< meta charset = "utf-8" >
< meta http-equiv = "X-UA-Compatible" content = "IE=edge,chrome=1" >
2016-02-03 18:23:38 +00:00
< title > balkian.com - apache< / title >
2015-01-22 22:05:35 +00:00
< meta name = "viewport" content = "width=device-width" >
<!-- syntax highlighting CSS -->
2015-01-22 23:22:30 +00:00
< link rel = "stylesheet" href = "/theme/css/solarized.css" >
2015-01-22 22:05:35 +00:00
<!-- <link href="/css/bootstrap.css" rel="stylesheet"> -->
< link rel = "stylesheet" href = "/theme/font-awesome/css/font-awesome.min.css" >
<!-- <link rel="stylesheet" href="/css/bootstrap - responsive.min.css"> -->
<!-- Custom CSS -->
< link rel = "stylesheet" media = "only screen" href = "/theme/css/main.css" >
< link href = 'http://fonts.googleapis.com/css?family=Open+Sans:300|Comfortaa' rel = 'stylesheet' type = 'text/css' >
< / head >
< body >
< div id = "container" class = "container" >
< div id = "contentwrapper" >
< div id = "content" >
2019-01-08 17:22:33 +00:00
< header id = "header" >
< ul class = "navbar" id = "navbar" >
< a href = "/" >
< li >
< i class = "fa fa-home fa-large" > < / i >
< / li > < / a >
< a href = "/category/cheats.html" > < li >
Cheats
< / li > < / a >
< a href = "/category/misc.html" > < li >
Misc
< / li > < / a >
< a href = "/tags.html" > < li class = "active" >
Tags
< / li > < / a >
< a href = "/pages/projects.html" > < li >
Projects
< / li > < / a >
< a href = "//jfernando.es" target = "_blank" > < li >
CV
< / li > < / a >
< / ul >
< / header >
2015-01-22 22:05:35 +00:00
<!-- Body content -->
< div class = "pagination pag-top" >
< span class = "previouspage" style = "visibility:hidden;" > < i class = "icon-chevron-sign-left" > < / i > Newer Posts< / span >
2019-01-08 17:22:33 +00:00
<!-- <span class="page_number ">Page 1 of 1</span> -->
2015-01-22 22:05:35 +00:00
< span class = "nextpage" style = "visibility:hidden;" > Older Posts < i class = "icon-chevron-sign-right" > < / i > < / span >
< / div >
< h1 > Entries tagged: apache< / h1 >
<!-- This loops through the paginated posts -->
2019-01-08 17:22:33 +00:00
< div class = "article-entry" >
< div class = "posthead" >
< h2 > < a href = "/zotero.html" class = "title" > Zotero< / a > < / h2 >
< span class = "date" > 2014-12-09< / span >
< a class = "tag" href = "/tag/zotero.html" > < span class = "label" > zotero< / span > < / a >
< a class = "tag" href = "/tag/webdav.html" > < span class = "label" > webdav< / span > < / a >
< a class = "tag" href = "/tag/nginx.html" > < span class = "label" > nginx< / span > < / a >
< a class = "tag" href = "/tag/apache.html" > < span class = "label" > apache< / span > < / a >
2015-01-22 22:05:35 +00:00
< / div >
< div class = "excerpt" >
< p > < a class = "reference external" href = "https://www.zotero.org/" > Zotero< / a > is an Open Source tool that lets
you organise your bibliography, syncing it with the cloud. Unlike other
alternatives such as < a class = "reference external" href = "http://www.mendeley.com" > Mendeley< / a > , Zotero can
upload the attachments and data to a private cloud via WebDav.< / p >
2019-01-08 17:22:33 +00:00
< p > If you use nginx as your web server, know that even though it provides …< / p >
2015-01-22 22:05:35 +00:00
< / div >
2019-01-08 17:22:33 +00:00
< div class = "readmore" > < a href = "/zotero.html" > Read more...< / a > < / div >
< / div >
< div class = "article-entry" >
< div class = "posthead" >
< h2 > < a href = "/proxies-with-apache-and-python.html" class = "title" > Proxies with Apache and python< / a > < / h2 >
< span class = "date" > 2014-10-09< / span >
< a class = "tag" href = "/tag/python.html" > < span class = "label" > python< / span > < / a >
< a class = "tag" href = "/tag/apache.html" > < span class = "label" > apache< / span > < / a >
< a class = "tag" href = "/tag/proxy.html" > < span class = "label" > proxy< / span > < / a >
< a class = "tag" href = "/tag/gunicorn.html" > < span class = "label" > gunicorn< / span > < / a >
< a class = "tag" href = "/tag/uwsgi.html" > < span class = "label" > uwsgi< / span > < / a >
2015-01-22 22:05:35 +00:00
< / div >
< div class = "excerpt" >
< p > This is a quick note on proxying a local python application (e.g. flask)
to a subdirectory in Apache. This assumes that the file wsgi.py contains
a WSGI application with the name < em > application< / em > . Hence, wsgi:application.< / p >
< div class = "section" id = "gunicorn" >
< h2 > Gunicorn< / h2 >
< table class = "highlighttable" > < tr > < td class = "linenos" > < div class = "linenodiv" > < pre > 1
2
3
4
2016-09-28 18:27:26 +00:00
5< / pre > < / div > < / td > < td class = "code" > < div class = "highlight" > < pre > < span > < / span > < span class = "nt" > < Location< / span > < span class = "s" > /myapp/< / span > < span class = "nt" > > < / span >
2019-01-08 17:22:33 +00:00
< span class = "nb" > ProxyPass< / span > http://127.0.0 …< / pre > < / div > < / td > < / tr > < / table > < / div >
< / div >
< div class = "readmore" > < a href = "/proxies-with-apache-and-python.html" > Read more...< / a > < / div >
2015-01-22 22:05:35 +00:00
< / div >
< div class = "pagination pag-bottom" >
< span class = "previouspage" style = "display:none;" > < i class = "icon-chevron-sign-left" > < / i > Newer Posts< / span >
< span class = "page_number " > Page 1 of 1< / span >
< span class = "nextpage" style = "display:none;" > Older Posts < i class = "icon-chevron-sign-right" > < / i > < / span >
< / div >
< / div >
2019-01-08 17:22:33 +00:00
< div id = "sidebar" >
< div id = "badge" class = "flip-container" ontouchstart = "this.classList.toggle('hover');" >
< div class = "flipper sticky" >
< div class = "front" >
<!-- front content -->
< img id = "avatar" src = "/theme/img/me.png" >
< / div >
< div class = "back" >
<!-- back content -->
< img id = "picture" src = "/theme/img/me-bat.png" >
< / div >
< / div >
< / div >
< div class = "entries" >
< h2 class = "title" > Latest entries< / h2 >
< dl >
< dt > < a href = "/zotero.html" > Zotero< / a > < / dt >
< dd class = "tag" > < a class = "label" href = "/tag/zotero.html" > zotero< / a > < / dd >
< dd class = "tag" > < a class = "label" href = "/tag/webdav.html" > webdav< / a > < / dd >
< dd class = "tag" > < a class = "label" href = "/tag/nginx.html" > nginx< / a > < / dd >
< dd class = "tag" > < a class = "label" href = "/tag/apache.html" > apache< / a > < / dd >
< dt > < a href = "/proxies-with-apache-and-python.html" > Proxies with Apache and python< / a > < / dt >
< dd class = "tag" > < a class = "label" href = "/tag/python.html" > python< / a > < / dd >
< dd class = "tag" > < a class = "label" href = "/tag/apache.html" > apache< / a > < / dd >
< dd class = "tag" > < a class = "label" href = "/tag/proxy.html" > proxy< / a > < / dd >
< dd class = "tag" > < a class = "label" href = "/tag/gunicorn.html" > gunicorn< / a > < / dd >
< dd class = "tag" > < a class = "label" href = "/tag/uwsgi.html" > uwsgi< / a > < / dd >
< / dl >
< / div >
< div class = "about" style = "clear:both;" >
<!-- <h2 class="title">About me</h2> -->
< div class = "icons" >
< span class = "coolicon" > < span class = "fa fa-stack" > < i class = "fa fa-square-o fa-stack-2x" > < / i > < i class = "fa fa-stack-1x fa-linux" > < / i > < / span > < span class = "explanation" > Linux lover< / span > < / span >
< span class = "coolicon" > < span class = "fa fa-stack" > < i class = "fa fa-square-o fa fa-stack-2x" > < / i > < i class = "fa fa-android" > < / i > < / span > < span class = "explanation" > Android dev< / span > < / span >
< span class = "coolicon" > < span class = "fa fa-stack" > < i class = "fa fa-square-o fa fa-stack-2x" > < / i > < i class = "fa fa-github-alt" > < / i > < / span > < span class = "explanation" > GitHub user< / span > < / span >
< span class = "coolicon" > < span class = "fa fa-stack" > < i class = "fa fa-square-o fa fa-stack-2x" > < / i > < i class = "fa fa-stack-exchange" > < / i > < / span > < span class = "explanation" > StackExchange fan< / span > < / span >
< span class = "coolicon" > < span class = "fa fa-stack" > < i class = "fa fa-square-o fa fa-stack-2x" > < / i > < i class = "fa fa-music" > < / i > < / span > < span class = "explanation" > Music lover< / span > < / span >
< span class = "coolicon" > < span class = "fa fa-stack" > < i class = "fa fa-square-o fa fa-stack-2x" > < / i > < i class = "fa fa-film" > < / i > < / span > < span class = "explanation" > Movie fan< / span > < / span >
< span class = "coolicon" > < span class = "fa fa-stack" > < i class = "fa fa-square-o fa fa-stack-2x" > < / i > < i class = "fa fa-comments" > < / i > < / span > < span class = "explanation" > Always on IM< / span > < / span >
< span class = "coolicon" > < span class = "fa fa-stack" > < i class = "fa fa-square-o fa fa-stack-2x" > < / i > < i class = "fa fa-laptop" > < / i > < / span > < span class = "explanation" > Always on a PC< / span > < / span >
< span class = "coolicon" > < span class = "fa fa-stack" > < i class = "fa fa-square-o fa fa-stack-2x" > < / i > < i class = "fa fa-pencil" > < / i > < / span > < span class = "explanation" > Occassional writter< / span > < / span >
< span class = "coolicon" > < span class = "fa fa-stack" > < i class = "fa fa-square-o fa fa-stack-2x" > < / i > < i class = "fa fa-moon-o" > < / i > < / span > < span class = "explanation" > Night owl< / span > < / span >
< span class = "coolicon" > < span class = "fa fa-stack" > < i class = "fa fa-square-o fa fa-stack-2x" > < / i > < i class = "fa fa-terminal" > < / i > < / span > < span class = "explanation" > CLI user< / span > < / span >
< span class = "coolicon" > < span class = "fa fa-stack" > < i class = "fa fa-square-o fa fa-stack-2x" > < / i > < i class = "fa fa-flag" > < / i > < / span > < span class = "explanation" > Linguist wannabe< / span > < / span >
< span class = "coolicon" > < span class = "fa fa-stack" > < i class = "fa fa-square-o fa fa-stack-2x" > < / i > < i class = "fa fa-code" > < / i > < / span > < span class = "explanation" > Love to code< / span > < / span >
< span class = "coolicon" > < span class = "fa fa-stack" > < i class = "fa fa-square-o fa fa-stack-2x" > < / i > < i class = "fa fa-book" > < / i > < / span > < span class = "explanation" > Keen reader< / span > < / span >
< span class = "coolicon" > < span class = "fa fa-stack" > < i class = "fa fa-square-o fa fa-stack-2x" > < / i > < i class = "fa fa-quote-right" > < / i > < / span > < span class = "explanation" > Quotes on demand< / span > < / span >
< / div >
< / div >
<!-- Sidebar content -->
< / div > < div class = "clear" > < / div >
2015-01-22 22:05:35 +00:00
< / div >
< footer role = "contentinfo" >
< div class = "contact" >
< p >
J. Fernando Sánchez Rada | balkian
< / p >
< / div >
< ul id = "social" >
2015-12-08 16:13:36 +00:00
< li > < a href = "http://github.com/balkian" > < i class = "fa fa-github" > < / i > < / a > < / li >
< li > < a href = "http://bitbucket.com/balkian" > < i class = "fa fa-bitbucket" > < / i > < / a > < / li >
< li > < a href = "http://twitter.com/balkian" > < i class = "fa fa-twitter" > < / i > < / a > < / li >
< li > < a href = "https://plus.google.com/u/0/111897020957944410316" > < i class = "fa fa-google-plus" > < / i > < / a > < / li >
< li > < a href = "http://linkedin.com/in/jfsanchezrada" > < i class = "fa fa-linkedin" > < / i > < / a > < / li >
< li > < a href = "http://facebook.com/balkian" > < i class = "fa fa-facebook" > < / i > < / a > < / li >
2015-01-22 22:05:35 +00:00
< / ul >
< p >
2015-12-10 14:44:33 +00:00
< i class = "fa fa-creative-commons" > < / i > Creative Commons A-SA-NC
2015-01-22 22:05:35 +00:00
< / p >
< / footer >
< / div >
< script src = "/theme/js/jquery-2.0.2.min.js" > < / script >
2015-12-08 13:57:44 +00:00
<!-- Piwik -->
< script type = "text/javascript" >
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//piwik.sinpapel.es/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 2]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
< / script >
< noscript > < p > < img src = "//piwik.sinpapel.es/piwik.php?idsite=2" style = "border:0;" alt = "" / > < / p > < / noscript >
<!-- End Piwik Code -->
2015-01-22 22:05:35 +00:00
<!-- <script src="/js/bootstrap.min.js"></script> -->
< / body >
< / html >