Jump to content


sopython

Member Since 21 Mar 2019
Offline Last Active Jun 07 2019 07:08 PM
-----

Posts I've Made

In Topic: About the static file path

15 April 2019 - 03:30 AM

Oh, yes, that's the reason. It works after adding the exception. Thanks!


In Topic: [Solved] How to deploy different Django apps under different sub-domains on H...

30 March 2019 - 03:04 PM

Actually, there is no strong reason, I just want to organize the code. So forget about it, I think I can work on current directory tree. Thank you!


In Topic: [Solved] How to deploy different Django apps under different sub-domains on H...

29 March 2019 - 04:08 PM

Hi Krydos,

 

I did the following changes:

1) create a sub-folder pyStone under pyStone

2) move dispathc.wsgi , urls.py and settings.py into the new pyStone

3) update the .htaccess (add pyStone in the path)

 

Then the failure raised again, and the error info is:

[Fri Mar 29 15:57:40.169951 2019] [wsgi:error] [pid 27149:tid 140458021799680] [client 58.33.178.52:51715]   File "/home1/sopython/public_html/pyStone/pyStone/dispatch.wsgi", line 9, in <module>
[Fri Mar 29 15:57:40.169519 2019] [wsgi:error] [pid 27149:tid 140458021799680] [client 58.33.178.52:51715] mod_wsgi (pid=27149): Exception occurred processing WSGI script '/home1/sopython/public_html/pyStone/pyStone/dispatch.wsgi'.
[Fri Mar 29 15:57:40.169458 2019] [wsgi:error] [pid 27149:tid 140458021799680] [client 58.33.178.52:51715] mod_wsgi (pid=27149): Target WSGI script '/home1/sopython/public_html/pyStone/pyStone/dispatch.wsgi' cannot be loaded as Python module.
[Fri Mar 29 15:57:40.168364 2019] [wsgi:info] [pid 27149:tid 140458021799680] [client 58.33.178.52:51715] mod_wsgi (pid=27149, process='', application='pystone.sopython.heliohost.org|/pystone/dispatch.wsgi'): Loading WSGI script '/home1/sopython/public_html/pyStone/pyStone/dispatch.wsgi'.
 


In Topic: [Solved] How to deploy different Django apps under different sub-domains on H...

29 March 2019 - 02:54 PM

Thank you Krydos. I will try to change it gradually.


In Topic: [Solved] How to deploy different Django apps under different sub-domains on H...

28 March 2019 - 06:27 AM

I want the django app to exist at http://pystone.sopython.heliohost.org/