Constant 404 with Basic Django Example IIS8
2 posts
• Page 1 of 1
Constant 404 with Basic Django Example IIS8
Hello,
I am new to the Zoo product and I was trying to get a sample project up and running and I can't seem to get past a constant 404. I've created a standard web application both using the web console as well as the regular server console and copying it into the root folder but it still gives me a 404. For reference, here is my Web.config file which seems pretty standard.
I am new to the Zoo product and I was trying to get a sample project up and running and I can't seem to get past a constant 404. I've created a standard web application both using the web console as well as the regular server console and copying it into the root folder but it still gives me a 404. For reference, here is my Web.config file which seems pretty standard.
- Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<heliconZoo>
<clear />
<application name="python.project" >
<environmentVariables>
<add name="VIRTUAL_ENV" value="%APPL_PHYSICAL_PATH%\venv" />
<add name="PATH" value="%APPL_PHYSICAL_PATH%\venv\Scripts;%PATH%" />
<add name="PYTHONPATH" value="%APPL_PHYSICAL_PATH%\venv\lib\site-packages;%APPL_PHYSICAL_PATH%\venv\lib;%APPL_PHYSICAL_PATH%;%APPL_PHYSICAL_PATH%\newproject" />
<!-- generic wsgi app -->
<!--<add name="WSGI_APP" value="welcome.application" />-->
<!-- django project -->
<add name="DJANGO_SETTINGS_MODULE" value="newproject.settings" />
<!-- tornado app -->
<!-- <add name="APP_WORKER" value="%APPL_PHYSICAL_PATH%\server.py" /> -->
<!-- web console -->
<!-- security rules for console are placed in /console/web.config -->
<add name="CONSOLE_URL" value="console" />
<!-- application deployment -->
<add name="DEPLOY_FILE" value="deploy.py" />
<!-- <add name="DEPLOY_LOG" value="deploy.log" /> -->
<!-- logging -->
<add name="ERROR_LOG_DIR" value="log" />
<!-- reload on files changes -->
<!-- <add name="WATCH_FILE_CHANGES_MASK" value="*.py" /> -->
</environmentVariables>
</application>
</heliconZoo>
<handlers>
<remove name="python.project#x86" />
<remove name="python.project#x64" />
<!-- Django or WSGI application over fastcgi -->
<add name="python.project#x86" scriptProcessor="python.2.7.wsgi" path="*" verb="*" modules="HeliconZoo_x86" preCondition="bitness32" resourceType="Unspecified" requireAccess="Script" />
<add name="python.project#x64" scriptProcessor="python.2.7.wsgi" path="*" verb="*" modules="HeliconZoo_x64" preCondition="bitness64" resourceType="Unspecified" requireAccess="Script" />
<!-- HTTP backend (Tornado) over http -->
<!--
<add name="python.project#x86" scriptProcessor="python.2.7.http" path="*" verb="*" modules="HeliconZoo_x86" preCondition="bitness32" resourceType="Unspecified" requireAccess="Script" />
<add name="python.project#x64" scriptProcessor="python.2.7.http" path="*" verb="*" modules="HeliconZoo_x64" preCondition="bitness64" resourceType="Unspecified" requireAccess="Script" />
-->
<!-- HTTP backend (Twisted) over http -->
<!--
<add name="python.project#x86" scriptProcessor="python.2.7.twisted" path="*" verb="*" modules="HeliconZoo_x86" preCondition="bitness32" resourceType="Unspecified" requireAccess="Script" />
<add name="python.project#x64" scriptProcessor="python.2.7.twisted" path="*" verb="*" modules="HeliconZoo_x64" preCondition="bitness64" resourceType="Unspecified" requireAccess="Script" />
-->
</handlers>
</system.webServer>
</configuration>
Re: Constant 404 with Basic Django Example IIS8
Hello!
Could you please show content of our web site directory?
Easy way to start new Django app on IIS is install Python project via Web Platform Installer with Helicon Zoo feed.
Could you please show content of our web site directory?
Easy way to start new Django app on IIS is install Python project via Web Platform Installer with Helicon Zoo feed.
- Attachments
-
- 1.png (65.72 KiB) Viewed 6367 times
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests