Setting up apache virtual host in redhat linux
After configuring httpd.conf, I restart httpd. But there is an error message:
[error] VirtualHost _default_:443 --mixing * ports and non_* ports with a NameVirtualHost address is not supported, proceeding with undefined results. When browing, There is also error message. Bad request! Your browser sent a request that this server could not understand. How can I solve this problem ? Thanks. |
Hi.
What do you have for ServerName * NameVirtualHost * And then the <VirtualHost *> ServerName domain.com </VirtualHost> Most likely you just have a definition already in place and are mucking it up a bit by confusing apache. hth |
the httpd.conf configuration
Quote:
httpd.conf NameVirtualHost * <VirtualHost *> ....... ServerName www.redhat.com.tw DocumentRoot /var/www </VirtualHost> <VirtualHost *> ....... ServerName Virtual.redhat.com.tw DocumentRoot /var/virtual </VirtualHost> |
I remember doing something similar with zimbra and apache since I was running a web server on the box. You can tell it somewhere in the httpd.conf file to listen on https port of 443 as well if that is what you are trying to do.
|
|
All times are GMT -5. The time now is 01:21 PM. |