Good to hear from you.
I am following this guide.
http://docs.djangoproject.com/en/dev/howto/deployment/modwsgi/
Using the mod_wsgi. Util now I got some empty django project works.
But my satchmo shop does not work. It turns out to download when open
the localhost.
My file structure looks like:
+store
 | + apache
 |         |----- django.wsgi
 |  ...
 |  ...
 | +templates
 | +static
--------------------
http.conf:
WSGISocketPrefix /tmp/wsgi
--------------------
/etc/apache2/sites-available/wab :
<VirtualHost *:80>
        ServerName waboba
        WSGIScriptAlias / /var/www/store/apache/django.wsgi
        Alias /media /var/www/store/static/

        <Directory /var/www/store/static/>
        Order deny,allow
        Allow from all
        </Directory>

        LogLevel info
        WSGIDaemonProcess waboba processes=2 threads=15 display-name=%{GROUP}

        <Directory /var/www/store/apache>
        WSGIApplicationGroup <user>
        WSGIProcessGroup store
        Order deny,allow
        Allow from all
        </Directory>
</VirtualHost>
---------------------
And /etc/hosts:
192.168.1.102   ubuntu  # Added by NetworkManager
127.0.0.1       localhost.localdomain   localhost
::1     ubuntu  localhost6.localdomain6 localhost6

192.168.1.102    wab
192.168.1.102    helloworld
-----------------------------

http://helloworld  works sometimes..
but http://wab will ask me download...
this is my situation.

On 4/6/11, Graham Dumpleton <graham.dumple...@gmail.com> wrote:
>
>
> On Wednesday, April 6, 2011 6:24:50 PM UTC+10, Charlie from china wrote:
>>
>> I have tried whole day. And I just got a new django project works.
>>
>> But I want my old project works too. Anyone could give me some info?
>>
>
> Depends on what WSGI hosting mechanism you are using and you don't mention
> that.
>
> Graham
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to