| Include /home/dgaudet/ap/vhtest/conf/common.conf |
| |
| ## expect a warning about mixing * and non-* ports on vhost 127.0.0.1:8080 |
| NameVirtualHost 127.0.0.1:* |
| |
| <VirtualHost 127.0.0.1:8080> |
| ServerName vhost1 |
| DocumentRoot /home/dgaudet/ap/vhtest/docroot/vhost1 |
| </VirtualHost> |
| |
| ## expect a warning about mixing * and non-* ports on vhost 127.0.0.2:0 |
| NameVirtualHost 127.0.0.2:8081 |
| |
| <VirtualHost 127.0.0.2:*> |
| ServerName vhost2 |
| DocumentRoot /home/dgaudet/ap/vhtest/docroot/vhost2 |
| </VirtualHost> |
| |
| ## expect a warning about overlapping _default_ on port 8080 |
| <VirtualHost _default_> |
| ServerName default1 |
| DocumentRoot /home/dgaudet/ap/vhtest/docroot/default1 |
| </VirtualHost> |
| |
| <VirtualHost _default_:8080> |
| ServerName default2 |
| DocumentRoot /home/dgaudet/ap/vhtest/docroot/default2 |
| </VirtualHost> |
| |
| ## expect a warning about overlapping virtualhosts on 127.0.0.3:8080 |
| <VirtualHost 127.0.0.3> |
| ServerName vhost3 |
| DocumentRoot /home/dgaudet/ap/vhtest/docroot/vhost3 |
| </VirtualHost> |
| |
| <VirtualHost 127.0.0.3> |
| ServerName vhost4 |
| DocumentRoot /home/dgaudet/ap/vhtest/docroot/vhost4 |
| </VirtualHost> |
| |
| ## expect all warnings to be printed twice, and probably in the opposite |
| ## order mentioned here |