<p>Prueba de acceder a la app web poniendo en el navegador la Ip que tiene el pc con apache.<br>
Quieres hacer publica esa página en internet? </p>
<div class="gmail_quote">El 02/12/2011 17:48, &quot;(P@vel)&quot; &lt;<a href="mailto:pdlopez@uci.cu">pdlopez@uci.cu</a>&gt; escribió:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-family:Times New Roman;font-size:12pt;color:#000000">Hola te escribo para ver si me puedes ayudar a desplegar una aplicacion Django 
sobre apache, porque he seguido varias guias incluyendo las que 
dijeron en la lista de python y no me sale nada.<br><br>A ver este es el directorio de <span>mi</span> aplicacion: <strong>/home/pavel/hello </strong><br>Dentro de ese directorio tengo:  <strong>/home/pavel/hello/apache/django.wsgi</strong><br>
<br><span style="font-weight:bold">El archivo django.wsgi </span><span style="font-weight:bold">tiene</span><br><span style="background-color:rgb(170,170,170)">import os</span><br style="background-color:rgb(170,170,170)">
<span style="background-color:rgb(170,170,170)">import sys</span><br style="background-color:rgb(170,170,170)"><br style="background-color:rgb(170,170,170)"><span style="background-color:rgb(170,170,170)">sys.path.append(&#39;/home/pavel/hello&#39;)</span><br style="background-color:rgb(170,170,170)">
<br style="background-color:rgb(170,170,170)"><br style="background-color:rgb(170,170,170)"><span style="background-color:rgb(170,170,170)">os.environ[&#39;DJANGO_SETTINGS_MODULE&#39;] = &#39;settings&#39;</span><br style="background-color:rgb(170,170,170)">
<br style="background-color:rgb(170,170,170)"><span style="background-color:rgb(170,170,170)">import django.core.handlers.wsgi</span><br style="background-color:rgb(170,170,170)"><span style="background-color:rgb(170,170,170)">application = django.core.handlers.wsgi.WSGIHandler()</span><br>
<br><span style="font-weight:bold"><br>Este es <span>mi</span> virtualhost</span><br><br>&lt;VirtualHost *:80&gt;<br> <br>    ServerName hello.djangoserver<br>    DocumentRoot /home/pavel/hello<br> <br>    WSGIScriptAlias / /home/pavel/hello/apache/django.wsgi<br>
    &lt;Directory /home/pavel/hello&gt;<br>        Order allow,deny<br>        Allow from all<br>    &lt;/Directory&gt;<br> <br>&lt;/VirtualHost&gt;<br><br><span style="font-weight:bold">Ahora cuando yo corro </span><br><span><a href="http://hello.djangoserver/" target="_blank">http://hello.djangoserver/</a></span><br>
<br><span style="font-weight:bold;color:rgb(255,0,0)">me sale esto</span><br><h2>El URL solicitado no se ha podido conseguir</h2>
<hr noshade size="1px">
<p>
Mientras se intentaba traer el URL:
<span><a href="http://hello.djangoserver/" target="_blank">http://hello.djangoserver/</a></span>
</p><p>
Ha ocurrido el siguiente problema:
</p><blockquote>
Incapaz de determinar la dirección IP a partir
del nombre de la máquina:
<i>hello.djangoserver</i>
</blockquote>

<p>
El programa dnsserver ha devuelto el siguiente mensaje:
</p><blockquote>
Name Error: The domain name does not exist.
</blockquote>

<p>
Esto significa que:
</p><pre> El caché no ha sido capaz de resolver el nombre de máquina<br> presente en la URL.<br> Compruebe que la dirección sea correcta.<br></pre><br><br><br><br><br><br><br><hr><br></div>
<br>
<div>
<a href="http://www.antiterroristas.cu/" target="_blank">
<img src="http://cincoheroes.uci.cu/cinco.gif" width="792" height="52">
</a></div>


<br></div><br>_______________________________________________<br>
Python-es mailing list<br>
<a href="mailto:Python-es@python.org">Python-es@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-es" target="_blank">http://mail.python.org/mailman/listinfo/python-es</a><br>
FAQ: <a href="http://python-es-faq.wikidot.com/" target="_blank">http://python-es-faq.wikidot.com/</a><br>
<br></blockquote></div>