Hiawatha will not work with http://127.0.0.1/ either until you add another section
Code: Select all
VirtualHost {
Hostname = 127.0.0.1
WebsiteRoot = /root/httpd/hiawatha
StartFile = index.php
ExecuteCGI = yes
FastCGI = PHP5
}
Code: Select all
VirtualHost {
Hostname = 192.168.2.9
WebsiteRoot = /root/httpd/hiawatha
StartFile = index.php
ExecuteCGI = yes
FastCGI = PHP5
}
so that hiawatha will process urls using that http://myrealdomain.com
Another trap I learned was that you can only have one VirtualHost section for the same hostname - seems obvious now but a different configuration for the same hostname will not be processed - only the first listed VirtualHost section is used