######################## BioTLDR ##############################
#Listen 80

WSGISocketPrefix /mnt/volume-nyc1-02/project/BioTLDR/wsgi/wsgi
<VirtualHost *:80>
   ServerName www.biotldr.tabomics.cn
   ServerAlias biotldr.tabomics.cn www.biotldr.tk biotldr.tk
   ServerAdmin h...@biotldr.tk

   ErrorLog "logs/error_log_biotldr"
   #WSGISocketPrefix /mnt/volume-nyc1-02/project/BioTLDR/wsgi/wsgi
   Alias /static "/mnt/volume-nyc1-02/project/BioTLDR/static"

   <Directory "/mnt/volume-nyc1-02/project/BioTLDR/static">
       Require all granted
   </Directory>

   <Directory "/mnt/volume-nyc1-02/project/BioTLDR/BioTLDR">
      <Files wsgi.py>
          Require all granted
      </Files>
   </Directory>
   WSGIDaemonProcess BioTLDR 
python-home=/mnt/volume-nyc1-02/project/BioTLDR/vir_env_py3/ 
python-path=/mnt/volume-nyc1-02/project/BioTLDR:/mnt/volume-nyc1-02/project/BioTLDR/vir_env_py3/lib/python3.6/site-packages/
   WSGIProcessGroup BioTLDR
   WSGIScriptAlias / /mnt/volume-nyc1-02/project/BioTLDR/BioTLDR/wsgi.py
   #WSGIApplicationGroup %{GLOBAL}
</VirtualHost>


#k80
## 
https://stackoverflow.com/questions/29754226/how-to-configure-wsgisocketprefix
WSGISocketPrefix /mnt/volume-nyc1-02/project/pearDB/wsgi/wsgi
<VirtualHost *:80>
   ServerName www.peardb.tabomics.cn
   ServerAlias peardb.tabomics.cn
   ServerAdmin serverad...@mydomain.org
   #ProxyPass / http://tabomics.tk:8008/
   #ProxyPassReverse / http://tabomics.tk:8008/
   Alias /static "/mnt/volume-nyc1-02/project/pearDB/static"
   <Directory "/mnt/volume-nyc1-02/project/pearDB/static">
       Require all granted
   </Directory>

   <Directory "/mnt/volume-nyc1-02/project/pearDB/pearDB">
      <Files wsgi.py>
          Require all granted
      </Files>
   </Directory>
   WSGIDaemonProcess pearDB 
python-home=/mnt/volume-nyc1-02/project/pearDB/vir_django_py2.7 
python-path=/mnt/volume-nyc1-02/project/pearDB/:/mnt/volume-nyc1-02/project/pearDB/vir_django_py2.7/lib/python2.7/site-packages/
  WSGIProcessGroup pearDB
  WSGIScriptAlias / /mnt/volume-nyc1-02/project/pearDB/pearDB/wsgi.py
</VirtualHost>

#<VirtualHost *:80>
#   ServerName www.tabomics.cn
#   ServerAlias tabomics.cn
#   ServerAdmin h...@tabomics.cn
#   ErrorLog "logs/error_log_jbrowse"
   #CustomLog "logs/access_log_tabomics"

  ### The configure information below should be added.
  Alias /jbrowse "/mnt/volume-nyc1-02/project/pearDB/jbrowse-pearDB/"
  <Directory "/mnt/volume-nyc1-02/project/pearDB/jbrowse-pearDB/">
    Options Indexes FollowSymLinks
    AllowOverride None
    Require all granted
  </Directory>
#</VirtualHost>


##################TabOmics########################################
<VirtualHost *:80>
   ServerName www.tabomics.cn
   ServerAlias tabomics.cn
   ServerAdmin h...@tabomics.cn
   #ProxyPass / http://tabomics.tk:8008/
   #ProxyPassReverse / http://tabomics.tk:8008/
   ErrorLog "logs/error_log_tabomics"
   #CustomLog "logs/access_log_tabomics"
   Alias /static "/mnt/volume-nyc1-02/project/tabomics/static"
   <Directory "/mnt/volume-nyc1-02/project/tabomics/static">
       Require all granted
   </Directory>

   <Directory "/mnt/volume-nyc1-02/project/tabomics/tabomics">
      <Files wsgi.py>
          Require all granted
      </Files>
   </Directory>
   WSGIDaemonProcess tabomics 
python-home=/mnt/volume-nyc1-02/project/tabomics/vir_tabomics_py2 
python-path=/mnt/volume-nyc1-02/project/tabomics/:/mnt/volume-nyc1-02/project/tabomics/vir_tabomics_py2/lib/python2.7/site-packages/
  WSGIProcessGroup tabomics
  WSGIScriptAlias / /mnt/volume-nyc1-02/project/tabomics/tabomics/wsgi.py
</VirtualHost>


The above is the configuration file for three django projects. 
Currently only 'www..tabomics.cn' and 'www.peardb.tabomics.cn' are working. 
'www.biotldr.tabomics.cn' doesn't work. 
If I ping 'www.biotldr.tabomics.cn', here is what I got:

$ ping biotldr.tabomics.cn
PING biotldr.tabomics.cn (198.211.107.37) 56(84) bytes of data.
64 bytes from tabomics.cn (198.211.107.37): icmp_seq=1 ttl=64 time=0.026 ms
64 bytes from tabomics.cn (198.211.107.37): icmp_seq=2 ttl=64 time=0.056 ms
64 bytes from tabomics.cn (198.211.107.37): icmp_seq=3 ttl=64 time=0.060 ms
^C
--- biotldr.tabomics.cn ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.026/0.047/0.060/0.016 ms

Could someone tell me what the possible reasons are? Thanks in advance. 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/bdde099a-bf5d-4362-b5ee-feb643249622%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to