2009/6/26 MSorin <[email protected]>:
>
> Hello,
>
> I installed mod_wsgi for Python 2.5 and Apache 2.2 and I'm trying to
> see if it's working. From the error it seems it does at the beginning:
>
> [Fri Jun 26 13:26:01 2009] [notice] Child 3476: Released the start
> mutex
> [Fri Jun 26 13:26:01 2009] [info] Child 3476: 64 threads blocked on
> the completion port
> [Fri Jun 26 13:26:01 2009] [warn] mod_wsgi: Compiled for Python/2.5.
> [Fri Jun 26 13:26:01 2009] [warn] mod_wsgi: Runtime using Python/
> 2.5.4.
> [Fri Jun 26 13:26:01 2009] [warn] mod_wsgi: Python module path 'C:\
> \WINDOWS\\system32\\python25.zip;C:\\Python25\\Lib;C:\\Python25\
> \DLLs;C:\\Python25\\Lib\\lib-tk;;C:\\Program Files\\Apache Software
> Foundation\\Apache2.2\\bin'.
> [Fri Jun 26 13:26:01 2009] [info] mod_wsgi: Initializing Python.
> [Fri Jun 26 13:26:01 2009] [notice] Child 2008: Child process is
> running
> [Fri Jun 26 13:26:01 2009] [info] Parent: Duplicating socket 192 and
> sending it to child process 2008
> [Fri Jun 26 13:26:01 2009] [info] mod_wsgi (pid=2008): Attach
> interpreter ''.
> [Fri Jun 26 13:26:01 2009] [notice] Child 2008: Acquired the start
> mutex.
> [Fri Jun 26 13:26:01 2009] [notice] Child 2008: Starting 64 worker
> threads.
> [Fri Jun 26 13:26:01 2009] [notice] Child 2008: Starting thread to
> listen on port 80.
> [Fri Jun 26 13:26:02 2009] [notice] Child 3476: All worker threads
> have exited.
> [Fri Jun 26 13:26:02 2009] [info] mod_wsgi (pid=3476): Cleanup
> interpreter ''.
> [Fri Jun 26 13:26:02 2009] [info] mod_wsgi (pid=3476): Terminating
> Python.
> [Fri Jun 26 13:26:02 2009] [notice] Child 3476: Child process is
> exiting
>
> The problem is that I don't know exactly what parameters to put for
> ServerName , ServerAlias in httpd.conf. I want to use this service
> locally (the URL for the test application described in the quick
> configuration guide I want to be something like http://localhost/myapp)
> .
>
> Do you have some suggestions?
If you are in a business network you should ask the admin to create a
domain in the DNS server. Something like "myapp.businnes_domain".
If it is at home you can create an entry in the hosts file:
10.1.1.100 myapp.my_home_domain another_app.my_home_domain
In the httpd config file:
NameVirtualHost 10.1.1.100:80
<VirtualHost 10.1.1.100:80>
ServerName myapp.my_home_domain
ServerAlias www.myapp.my_home_domain
</VirtualHost>
<VirtualHost 10.1.1.100:80>
ServerName another_app.my_home_domain
ServerAlias www.another_app.my_home_domain
</VirtualHost>
Regards, Clodoaldo
> Thanks,
> Eset
>
> Do you
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---