我正在尝试在端口8080中打开我的网站,并且可以在http://和https://
中访问但是我只能使用https://打开网站,每当我使用http://
打开它时总是会收到错误400这是我的apache配置:
Listen 8080
<VirtualHost *:8080>
DocumentRoot C:/xampp/htdocs
ServerName xyz.net:8080
ServerAdmin email@xyz.net
SSLEngine on
SSLCertificateFile "conf/ssl.crt/server.crt"
SSLCertificateKeyFile "conf/ssl.key/server.key"
</VirtualHost>
<VirtualHost *:8080>
DocumentRoot C:/xampp/htdocs
ServerName xyz.net:8080
ServerAdmin email@xyz.net
</VirtualHost>
以下是访问http://
时遇到的错误Bad request!
Your browser (or proxy) sent a request that this server could not understand.
If you think this is a server error, please contact the webmaster.
Error 400
有没有办法可以在http和https协议中访问端口8080?