Hi All,
I had to re-install the Apache, so did apt-get with apache and mod_wsgi.
nitin@nitin:/var/log/apache2$ apache2 -v
Server version: Apache/2.4.7 (Ubuntu)
Server built: Jul 22 2014 14:36:38
libapache2-mod-wsgi_3.4-4ubuntu2.1.14.04.2_amd64.deb
nitin@nitin:/var/log/apache2$ python
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
I am getting this in my apache error.log
[Tue Jan 20 14:17:16.128911 2015] [core:notice] [pid 7716] AH00094:
Command line: '/usr/sbin/apache2'
[Tue Jan 20 18:10:52.196255 2015] [mpm_prefork:notice] [pid 7716]
AH00169: caught SIGTERM, shutting down
[Tue Jan 20 18:10:53.206180 2015] [mpm_prefork:notice] [pid 8994]
AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.5 mod_wsgi/3.4
Python/2.7.6 configured -- resuming normal operations
[Tue Jan 20 18:10:53.206268 2015] [core:notice] [pid 8994] AH00094:
Command line: '/usr/sbin/apache2'
on the Browser code is getting dumped.
in my 000-default.conf the config lines are :
<VirtualHost 127.0.1.1:80>
ServerName www.healthcare.in
DocumentRoot "/home/nitin/wsgi-scripts"
<Directory "/home/nitin/wsgi-scripts">
Options +Indexes +FollowSymLinks +MultiViews +ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<IfModule dir_module>
DirectoryIndex index.html index.wsgi index.py
</IfModule>
ServerAlias healthcare.in
Redirect / http://www.healthcare.in/index.py
WSGIDaemonProcess healthcare.in processes=6 threads=15 display-name=%{GROUP}
WSGIProcessGroup healthcare.in
WSGIScriptAlias /wsgi-scripts/ /home/nitin/wsgi-scripts/index.py
<Directory /home/nitin/wsgi-scripts>
Options +Indexes +MultiViews +FollowSymLinks +ExecCGI
Order allow,deny
Allow from all
AddHandler wsgi-script .py
WSGIProcessGroup healthcare.in
</Directory>
ServerAdmin webmaster@localhost
#DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
--
You received this message because you are subscribed to the Google Groups
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/modwsgi.
For more options, visit https://groups.google.com/d/optout.