WSGIScriptAlias / "D:/project/ms_backend/ms_backend/wsgi.py"
WSGIPythonPath D:/project/ms_backend
<VirtualHost *:80>
<Directory D:/project/ms_backend/ms_backend>
<Files wsgi.py>
Require all granted
</Files>
</Directory>
Alias /static D:/project/ms_backend/static
<Directory D:/project/ms_backend/static>
AllowOverride None
Options None
Require all granted
</Directory>
ServerName api.tjyunshi.com
DocumentRoot "D:/project/ms_backend"
ErrorLog "logs/api.tjyunshi.com-error.log"
CustomLog "logs/api.tjyunshi.com-access.log" common
</VirtualHost>
WSGIScriptAlias / "C:/work/testbs/testbs/wsgi.py"
WSGIPythonPath C:/work/testbs
<VirtualHost *:80>
<Directory C:/work/testbs/testbs>
Options Indexes FollowSymLinks
allow from all
<Files wsgi.py>
Require all granted
</Files>
</Directory>
ServerName a.tjyunshi.com
DocumentRoot "C:/work/testbs"
ErrorLog "logs/a.tjyunshi.com-error.log"
CustomLog "logs/a.tjyunshi.com-access.log" common
</VirtualHost>
sys.path.append('C:/xampp/htdocs/advisory_portal/advisory_portal')
sys.path.append('C:/xampp/htdocs/advisory_portal')
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "advisory_portal.settings")
application = get_wsgi_application()