<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ArcGIS cannot run on Apache 2.4 + CGI in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152878#M11811</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why is this posted under "ArcGis Pro SKD" ?&lt;/P&gt;&lt;P&gt;your question isn't related to the .NET SDK.&amp;nbsp;Maybe you should move it to &lt;A _jive_internal="true" href="https://community.esri.com/community/developers/gis-developers/python"&gt;Python&lt;/A&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Nov 2017 13:09:25 GMT</pubDate>
    <dc:creator>GwenRoyakkers</dc:creator>
    <dc:date>2017-11-14T13:09:25Z</dc:date>
    <item>
      <title>ArcGIS cannot run on Apache 2.4 + CGI</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152877#M11810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;I try to&amp;nbsp;use Arcpy on Apache 2.4 and CGI that is basic example. But I can't, It always display error message like "&lt;SPAN style="color: #000000;"&gt;Not signed into Portal&lt;/SPAN&gt;".&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 22px;"&gt;&lt;STRONG&gt;Although I signed in&lt;/STRONG&gt;&lt;/SPAN&gt;.&amp;nbsp;&lt;BR /&gt;&lt;IMG alt="I signed in" class="image-1 jive-image j-img-centered j-img-original" src="https://puu.sh/ylM9k.png" style="width: 620px; height: 598px; display: block; margin-left: auto; margin-right: auto;" /&gt;&lt;/P&gt;&lt;P&gt;And then, I check about Licensing&lt;BR /&gt;&lt;IMG alt="Authorize ArcGIS Pro to work offline" class="jive-image image-2 j-img-centered j-img-original" src="https://puu.sh/ylMc3.png" style="width: 620px; height: 618px; display: block; margin-left: auto; margin-right: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, ArcGIS configuration is ok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 22px;"&gt;&lt;STRONG&gt;Now I show you see what Apache configuration&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;- httpd.conf, I have enabled&amp;nbsp;LoadModule cgi_module modules/mod_cgi.so&lt;/P&gt;&lt;P&gt;- ViltualHost,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Apache Virtualhost configuration" class="jive-image image-3 j-img-centered j-img-original" src="https://puu.sh/ylMjr.png" style="height: auto; display: block; margin-left: auto; margin-right: auto;" /&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; I checked, VirtualHost works well without use Arcpy.&lt;/P&gt;&lt;P&gt;Apache Service is running&lt;BR /&gt;&lt;IMG alt="Apache 2.4 is running" class="jive-image image-5 j-img-centered j-img-original" src="https://puu.sh/ylMy6.png" style="height: auto; display: block; margin-left: auto; margin-right: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Python example&amp;nbsp;script&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Python script withou arcpy" class="image-6 jive-image j-img-centered j-img-original" src="https://puu.sh/ylMzo.png" style="width: 620px; height: 460px; display: block; margin-left: auto; margin-right: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;The result&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="It works well without arcpy" class="image-7 jive-image j-img-centered j-img-original" src="https://puu.sh/ylMBG.png" style="height: auto; display: block; margin-left: auto; margin-right: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 22px;"&gt;&lt;STRONG&gt;But When I import Arcpy in my Python script, It has the problem.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The bellowing is apache-cgi-example.py content&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #808080;"&gt;#!C:/Program Files/ArcGIS/Pro/bin/Python/envs/arcgispro-py3/python.exe
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;# coding: utf-8
&lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;print&lt;/SPAN&gt;(&lt;SPAN style="color: #008080; font-weight: bold;"&gt;"Content-type: text/html&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;\n\n&lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-weight: bold;"&gt;"&lt;/SPAN&gt;)
&lt;SPAN style="color: #000080;"&gt;print&lt;/SPAN&gt;(&lt;SPAN style="color: #008080; font-weight: bold;"&gt;""&lt;/SPAN&gt;)
&lt;SPAN style="color: #000080;"&gt;print&lt;/SPAN&gt;(&lt;SPAN style="color: #008080; font-weight: bold;"&gt;"&amp;lt;h2&amp;gt;ArcGIS runs on Apache 2.4 + CGI&amp;lt;/h2&amp;gt;"&lt;/SPAN&gt;)

&lt;SPAN style="color: #000080; font-weight: bold;"&gt;import &lt;/SPAN&gt;sys, os
&lt;SPAN style="color: #000080; font-weight: bold;"&gt;import &lt;/SPAN&gt;bottle

&lt;SPAN style="color: #000080; font-weight: bold;"&gt;import &lt;/SPAN&gt;cgitb
cgitb.enable()

realpath = os.path.dirname(os.path.realpath(__file__))
sys.path.append(realpath)

&lt;SPAN style="color: #000080;"&gt;print&lt;/SPAN&gt;(&lt;SPAN style="color: #008080; font-weight: bold;"&gt;"&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Project path&amp;lt;/b&amp;gt;: {}&amp;lt;/p&amp;gt;"&lt;/SPAN&gt;.format(&lt;SPAN style="color: #000080;"&gt;str&lt;/SPAN&gt;(realpath)))

app = bottle.default_app()
app.config.load_config(&lt;SPAN style="color: #008080; font-weight: bold;"&gt;"%s&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;\\&lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-weight: bold;"&gt;app.conf" &lt;/SPAN&gt;% realpath)

&lt;SPAN style="color: #000080; font-weight: bold;"&gt;try&lt;/SPAN&gt;:
&lt;SPAN style="color: #000080;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print&lt;/SPAN&gt;(&lt;SPAN style="color: #008080; font-weight: bold;"&gt;"&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Output path&amp;lt;/b&amp;gt;: {}&amp;lt;/p&amp;gt;"&lt;/SPAN&gt;.format(&lt;SPAN style="color: #000080;"&gt;str&lt;/SPAN&gt;(app.config[&lt;SPAN style="color: #008080; font-weight: bold;"&gt;'app.output_path'&lt;/SPAN&gt;])))

&lt;SPAN style="color: #000080; font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; import &lt;/SPAN&gt;arcpy

&lt;SPAN style="color: #808080;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Arcpy can overwrite output
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;arcpy.env.overwriteOutput = &lt;SPAN style="color: #000080; font-weight: bold;"&gt;True
&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;# set workspace dir
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;arcpy.env.workspace = app.config[&lt;SPAN style="color: #008080; font-weight: bold;"&gt;'app.output_path'&lt;/SPAN&gt;]

&lt;SPAN style="color: #808080;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # initiation for volume calculation
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;arcpy.CheckOutExtension(&lt;SPAN style="color: #008080; font-weight: bold;"&gt;"3D"&lt;/SPAN&gt;)
&amp;nbsp;&amp;nbsp;&amp;nbsp; arcpy.CheckOutExtension(&lt;SPAN style="color: #008080; font-weight: bold;"&gt;"spatial"&lt;/SPAN&gt;)

&lt;SPAN style="color: #000080; font-weight: bold;"&gt;except &lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;Exception &lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;as &lt;/SPAN&gt;error:
&lt;SPAN style="color: #000080;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; print&lt;/SPAN&gt;(&lt;SPAN style="color: #008080; font-weight: bold;"&gt;"&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Cannot import Arcpy. Error&amp;lt;/b&amp;gt;: {}&amp;lt;/p&amp;gt;"&lt;/SPAN&gt;.format(&lt;SPAN style="color: #000080;"&gt;str&lt;/SPAN&gt;(error)))&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000; font-size: 22px;"&gt;The problem is "Not signed into Portal"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The page content is&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="The problem" class="image-4 jive-image j-img-original" src="https://puu.sh/ylMtl.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Can your please help me?&lt;/P&gt;&lt;P&gt;Thank many help!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;- It has the same problem on IIS environment&lt;/P&gt;&lt;P&gt;- I am using ArcGIS Pro version 1.3 (Python version 3.4.4) 64bit&lt;/P&gt;&lt;P&gt;- I am using Apache 2.4.23&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;64bit&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:11:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152877#M11810</guid>
      <dc:creator>NghiepNeoLab</dc:creator>
      <dc:date>2021-12-11T08:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS cannot run on Apache 2.4 + CGI</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152878#M11811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why is this posted under "ArcGis Pro SKD" ?&lt;/P&gt;&lt;P&gt;your question isn't related to the .NET SDK.&amp;nbsp;Maybe you should move it to &lt;A _jive_internal="true" href="https://community.esri.com/community/developers/gis-developers/python"&gt;Python&lt;/A&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2017 13:09:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152878#M11811</guid>
      <dc:creator>GwenRoyakkers</dc:creator>
      <dc:date>2017-11-14T13:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS cannot run on Apache 2.4 + CGI</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152879#M11812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As suggested, your should probably move it Python &amp;nbsp; ...see &lt;A href="https://community.esri.com/docs/DOC-2258?sr=search&amp;amp;searchId=ba9cdc9d-b9e7-4a97-86b8-18c21f293f8c&amp;amp;searchIndex=5"&gt;https://community.esri.com/docs/DOC-2258?sr=search&amp;amp;searchId=ba9cdc9d-b9e7-4a97-86b8-18c21f293f8c&amp;amp;searchIndex=5&lt;/A&gt;‌&amp;nbsp; for help on that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I'll tag &lt;A href="https://community.esri.com/community/gis/web-gis/portal-for-arcgis?sr=search&amp;amp;searchId=6f14e1a1-b673-497a-84f5-1794b2968a07&amp;amp;searchIndex=3"&gt;https://community.esri.com/community/gis/web-gis/portal-for-arcgis?sr=search&amp;amp;searchId=6f14e1a1-b673-497a-84f5-1794b2968a07&amp;amp;searchIndex=3&lt;/A&gt;‌&amp;nbsp; &lt;A href="https://community.esri.com/community/gis/enterprise-gis?sr=search&amp;amp;searchId=4e398f00-945f-4d83-a81d-41a740650c16&amp;amp;searchIndex=4"&gt;https://community.esri.com/community/gis/enterprise-gis?sr=search&amp;amp;searchId=4e398f00-945f-4d83-a81d-41a740650c16&amp;amp;searchIndex=4&lt;/A&gt;‌&amp;nbsp; and &lt;A href="https://community.esri.com/community/gis/applications/arcgis-pro?sr=search&amp;amp;searchId=b217f6e1-e6c7-4280-b758-ead413565640&amp;amp;searchIndex=1"&gt;https://community.esri.com/community/gis/applications/arcgis-pro?sr=search&amp;amp;searchId=b217f6e1-e6c7-4280-b758-ead413565640&amp;amp;searchIndex=1&lt;/A&gt;‌&amp;nbsp; for more exposure.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2017 15:34:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152879#M11812</guid>
      <dc:creator>RebeccaStrauch__GISP</dc:creator>
      <dc:date>2017-11-14T15:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS cannot run on Apache 2.4 + CGI</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152880#M11813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What happens if you import arcpy within the Python window in Pro?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Nov 2017 17:57:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152880#M11813</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2017-11-14T17:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS cannot run on Apache 2.4 + CGI</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152881#M11814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank &lt;A href="https://community.esri.com/people/Gwen_roy"&gt;Gwen_roy&lt;/A&gt;‌. I moved&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 01:47:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152881#M11814</guid>
      <dc:creator>NghiepNeoLab</dc:creator>
      <dc:date>2017-11-15T01:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS cannot run on Apache 2.4 + CGI</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152882#M11815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank a lot @Rebecca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 01:48:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152882#M11815</guid>
      <dc:creator>NghiepNeoLab</dc:creator>
      <dc:date>2017-11-15T01:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS cannot run on Apache 2.4 + CGI</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152883#M11816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I try to import acrpy in another environment, It works well.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;C:\Users\Lab1-Python&amp;gt;python&lt;BR /&gt;Python 3.4.4 |Continuum Analytics, Inc.| (default, Feb 16 2016, 09:54:04) [MSC v.1600 64 bit (AMD64)] on win32&lt;BR /&gt;Type "help", "copyright", "credits" or "license" for more information.&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; import arcpy&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Also, I run my Python script by&amp;nbsp;&lt;SPAN style="background-color: #f6f6f6; color: #339966;"&gt;&lt;EM&gt;&lt;STRONG&gt;python apache-cgi-example.py&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="color: #000000;"&gt; =&amp;gt; It works&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;C:\Workspace\Arcpy\apache-env&amp;gt;python apache-cgi-example.py&lt;BR /&gt;Content-type: text/html&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;h2&amp;gt;ArcGIS runs on Apache 2.4 + CGI&amp;lt;/h2&amp;gt;&lt;BR /&gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Project path&amp;lt;/b&amp;gt;: C:\Workspace\Arcpy\apache-env&amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Output path&amp;lt;/b&amp;gt;: C:\Workspace\Arcpy\apache-env\Temporary&amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;lt;p&amp;gt;Arcpy has been imported.&amp;lt;/p&amp;gt;&lt;/P&gt;&lt;P&gt;C:\Workspace\Arcpy\apache-env&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It doesn't work on Apache + CGI or IIS + CGI, It looks like Arcpy doesn't work on the environment as Windows service&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://puu.sh/ymenv.png" style="width: 620px; height: 315px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally, If I use arcpy without Apache/IIS, It works&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;More info&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I am using bottle to start my project like web page, almost my function calculate on the raster within big data and a lot user connect&amp;nbsp;to request data. For example: I calculate CutFill of surface.&lt;/P&gt;&lt;P&gt;=&amp;gt; Sometime is suspended.&lt;/P&gt;&lt;P&gt;So, I need to&amp;nbsp;set up a web server&amp;nbsp;for my project. My script can run on Apache/Nginx, IIS or whatever.&lt;/P&gt;&lt;P&gt;----&lt;/P&gt;&lt;P&gt;I also have the problem when try to use Arcpy on Apache + mod_wsgi but I cannot use CutFill tool&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/message/728902-arcgis-pro-has-stopped-working-when-using-cutfill-tool?sr=search&amp;amp;searchId=72d467cb-3fb3-45db-9755-c66beacd112d&amp;amp;searchIndex=3"&gt;https://community.esri.com/message/728902-arcgis-pro-has-stopped-working-when-using-cutfill-tool?sr=search&amp;amp;searchId=72d467cb-3fb3-45db-9755-c66beacd112d&amp;amp;searchIndex=3&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really need any help to resolve it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;so If someone has another way please help me.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 02:14:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152883#M11816</guid>
      <dc:creator>NghiepNeoLab</dc:creator>
      <dc:date>2017-11-15T02:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS cannot run on Apache 2.4 + CGI</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152884#M11817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mention ArcGIS pro and arcpy in the same context.&amp;nbsp; I am under the impression that arcpy for pro is tied to the anaconda distribution.&amp;nbsp; Did you have evidence that it works elsewhere? &amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, version 1.3 is outdated and I see no reference in the &lt;A href="http://pro.arcgis.com/en/pro-app/get-started/arcgis-pro-system-requirements.htm"&gt;&lt;STRONG&gt;What's new section&lt;/STRONG&gt;&lt;/A&gt; going back that changes this.&amp;nbsp; Have you field a support request? &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 06:11:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152884#M11817</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-11-15T06:11:05Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS cannot run on Apache 2.4 + CGI</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152885#M11818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/3116"&gt;Dan Patterson&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;Yeah, I knew version 1.3 is very old but my customer is using that version. I cannot request they upgrade.&lt;/P&gt;&lt;P&gt;So I share to you about&amp;nbsp;arcpy works on another environment&amp;nbsp;via&amp;nbsp;video&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IFRAME class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FuammYJ6Aq1c%3Ffeature%3Doembed&amp;amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DuammYJ6Aq1c&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FuammYJ6Aq1c%2Fhqdefault.jpg&amp;amp;key=3b4b3cb34e044cb590554f889078322d&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="854" height="480" scrolling="no" frameborder="0" allowfullscreen=""&gt;&lt;/IFRAME&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I also use PyCharm to run my Python script. And It works well&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 09:52:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152885#M11818</guid>
      <dc:creator>NghiepNeoLab</dc:creator>
      <dc:date>2017-11-15T09:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS cannot run on Apache 2.4 + CGI</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152886#M11819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sounds like a Support call... nothing in there helped me point you in the right direction.,.. sorry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 10:27:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152886#M11819</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-11-15T10:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS cannot run on Apache 2.4 + CGI</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152887#M11820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/grin.png" /&gt;&amp;nbsp;,&amp;nbsp;2 videos are evidence explain more about what happened. Almost I write to explain on each step. We should not care&amp;nbsp;sound. anyways forget 2 videos. Actually 1st video can help you understand what the problem here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yeah,&amp;nbsp;I am sorry about my English, It is very bad. so sorry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will explain again.&lt;/P&gt;&lt;P&gt;For example: index.py has content below&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #808080; border: 0px; font-weight: inherit; font-size: 12px;"&gt;#!C:/Program Files/ArcGIS/Pro/bin/Python/envs/arcgispro-py3/python.exe
&lt;/SPAN&gt;&lt;SPAN style="color: #808080; border: 0px; font-weight: inherit; font-size: 12px;"&gt;# coding: utf-8
&lt;/SPAN&gt;&lt;SPAN style="color: #000080; border: 0px; font-weight: inherit; font-size: 12px;"&gt;print&lt;/SPAN&gt;(&lt;SPAN style="color: #008080; border: 0px; font-weight: bold; font-size: 12px;"&gt;"Content-type: text/html&lt;/SPAN&gt;&lt;SPAN style="color: #000080; border: 0px; font-weight: bold; font-size: 12px;"&gt;\n\n&lt;/SPAN&gt;&lt;SPAN style="color: #008080; border: 0px; font-weight: bold; font-size: 12px;"&gt;"&lt;/SPAN&gt;)
&lt;SPAN style="color: #000080; border: 0px; font-weight: inherit; font-size: 12px;"&gt;print&lt;/SPAN&gt;(&lt;SPAN style="color: #008080; border: 0px; font-weight: bold; font-size: 12px;"&gt;""&lt;/SPAN&gt;)
&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #000080; border: 0px; font-weight: bold; margin: 0px; padding: 0px;"&gt;import &lt;/SPAN&gt;arcpy&lt;/PRE&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I run index.py in Windows command prompt, It is ok. No message like "Not signed into Portal"&lt;/P&gt;&lt;P&gt;If I run index.py in Apache service, It doesn't work and display &lt;SPAN&gt;"Not signed into Portal"&lt;/SPAN&gt; message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you asked me,&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;Did you have evidence that it works elsewhere?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The video below is evidence and it will explain more what&amp;nbsp;the problem I have.&lt;BR /&gt;&lt;IFRAME class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FuammYJ6Aq1c%3Ffeature%3Doembed&amp;amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DuammYJ6Aq1c&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FuammYJ6Aq1c%2Fhqdefault.jpg&amp;amp;key=3b4b3cb34e044cb590554f889078322d&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="854" height="480" scrolling="no" frameborder="0" allowfullscreen=""&gt;&lt;/IFRAME&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know my mean?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:11:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152887#M11820</guid>
      <dc:creator>NghiepNeoLab</dc:creator>
      <dc:date>2021-12-11T08:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS cannot run on Apache 2.4 + CGI</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152888#M11821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't help since I see nothing obvious... As suggested, pass this on to Tech Support since no one else has chimed into the discussion, including several ESRI staff members&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 15:01:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152888#M11821</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-11-15T15:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS cannot run on Apache 2.4 + CGI</title>
      <link>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152889#M11822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, Thank a lot &lt;A href="https://community.esri.com/people/Dan_Patterson"&gt;Dan_Patterson&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2017 23:17:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/arcgis-cannot-run-on-apache-2-4-cgi/m-p/152889#M11822</guid>
      <dc:creator>NghiepNeoLab</dc:creator>
      <dc:date>2017-11-15T23:17:13Z</dc:date>
    </item>
  </channel>
</rss>

