我想使用相同的域和端口(443)在httpd-vhosts.conf中使用php设置mod_wsgi。下面是httpd-vhosts.conf设置:
<VirtualHost *:443>
ServerName ctest.lock.com:443
DocumentRoot "/home/service/card"
Alias /card "/home/service/card"
<Directory "/home/service/card">
Options FollowSymLinks Includes ExecCGI
Require all granted
</Directory>
<IfModule mime_module>
AddType 'text/html; charset=UTF-8' .html
</IfModule>
</VirtualHost>
<VirtualHost *:443>
ServerName ctest.lock.com:443
#mod-wsgi : webtest
WSGIScriptAlias /webtest /home/service/was/webtest/app.wsgi
WSGIDaemonProcess webtest processes=4 threads=4 display-name=%{GROUP}
<Directory /home/service/was/webtest/ >
WSGIProcessGroup webtest
Require all granted
</Directory>
</VirtualHost>
https://ctest.lock.com/card
没问题,但https://ctest.lock.com/webwas
未找到404。怎么设置?