Hi Hugo,
I just compiled your latest 6.14 and using the httpd.conf I had from 6.11 I now get an error:
# hiawatha -c /etc/hiawatha
Syntax error in httpd.conf on line 121.
line 121 is the FastCGI = PHP5 line in the snippet below:
VirtualHost {
Hostname = localhost
WebsiteRoot = /root/httpd/hiawatha
StartFile = index.php
AccessLogfile = /var/log/hiawatha/access.log
ErrorLogfile = /var/log/hiawatha/error.log
FastCGI = PHP5
}
the FastCGIid = PHP5 is defined higher up the conf file as:
FastCGIserver {
FastCGIid = PHP5
ConnectTo = 127.0.0.1:2005
Extension = php
SessionTimeout = 60
}
netstat -l shows the daemons to be listening on localhost:2005
of course localhost is on 127.0.0.1 as normal and php-cgi daemon processes are running
Why won't hiawatha start with this config.... the entire config for your info is:
ServerId = nobody
ConnectionsTotal = 150
ConnectionsPerIP = 10
SystemLogfile = /var/log/hiawatha/system.log
GarbageLogfile = /var/log/hiawatha/garbage.log
Binding {
Port = 80
MaxRequestSize = 512
}
MimetypeConfig = /etc/mime.types
CGIhandler = /usr/bin/perl:pl
TimeForCGI = 60
FastCGIserver {
FastCGIid = PHP5
ConnectTo = 127.0.0.1:2005
Extension = php
SessionTimeout = 60
}
Hostname = 127.0.0.1
WebsiteRoot = /root/httpd/hiawatha
StartFile = index.php
AccessLogfile = /var/log/hiawatha/access.log
ErrorLogfile = /var/log/hiawatha/error.log
VirtualHost {
Hostname = localhost
WebsiteRoot = /root/httpd/hiawatha
StartFile = index.php
AccessLogfile = /var/log/hiawatha/access.log
ErrorLogfile = /var/log/hiawatha/error.log
FastCGI = PHP5
}
When I run wigwam to check the config all is well...
# wigwam -c /etc/hiawatha
Using /etc/hiawatha
Reading httpd.conf
No non-fatal errors found in the Hiawatha configuration.
Appreciate any ideas?
Phil
Hiawatha version: 6.14
Operating System: puppylinux