Comments (5)
@hgirish solution worked for me as well, i.e., add the following to your web.3.4.config:
<system.web>
<compilation debug="true" targetFramework="4.0" />
</system.web>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
<handlers>
<remove name="Python27_via_FastCGI" />
<remove name="Python34_via_FastCGI" />
<add name="Python FastCGI"
path="handler.fcgi"
verb="*"
modules="FastCgiModule"
scriptProcessor="D:\Python34\python.exe|D:\Python34\Scripts\wfastcgi.py"
resourceType="Unspecified"
requireAccess="Script" />
</handlers>
<rewrite>
<rules>
<rule name="Static Files" stopProcessing="true">
<conditions>
<add input="true" pattern="false" />
</conditions>
</rule>
<rule name="Configure Python" stopProcessing="true">
<match url="(.*)" ignoreCase="false" />
<conditions>
<add input="{REQUEST_URI}" pattern="^/static/.*" ignoreCase="true" negate="true" />
</conditions>
<action type="Rewrite" url="handler.fcgi/{R:1}" appendQueryString="true" />
</rule>
</rules>
</rewrite>
</system.webServer>
from python-docs-hello-world.
Adding System.Web and System.WebServer block to web.3.4.config from https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/app-service-web/web-sites-python-configure.md worked for me
from python-docs-hello-world.
I'm having the same problem. I'd love to know how to fix it - seems like it should be straightforward.
from python-docs-hello-world.
not a solution to this problem - but I was able to workaround it by using the Azure SDK in visual studio and publishing to the web app from there.
from python-docs-hello-world.
Closing as an obsolete issue.
from python-docs-hello-world.
Related Issues (14)
- No code in this repo HOT 4
- Files missing? HOT 1
- Python Flask app on Azure Web App for Containers has no deployment instructions HOT 2
- Use python3 in devops pipeline example HOT 1
- "You do not have permission to view this directory or page" error HOT 1
- How to get the email of the authenticated user? HOT 1
- pip install -r requirements.txt Fails HOT 4
- HTTP Error 500 HOT 2
- Dash app by plotly HOT 3
- “Hello Mundo” HOT 1
- App crashes when trying to create MongoDB client HOT 1
- Repository Sample
- Update python and pip HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-docs-hello-world.