Hi there,
I wasn't sure if this went through the first time I sent it, so I appologise
if you get this twice.
I just can't seem to figure out what's wrong with my setup, I'm using my
laptop as a testbed incase you wonder why Host is Laptop.
I'm using Debian Linux and have configured my mathopd server to run on port
81 but it always comes up 404, not found.
I have checked "daemon" has ownership for the appropriate files and folders
(e.g. /tmp/mathopd.pid, /var/log/mathopd and /var/server-conf).
The log file itself reads:
Wed Jul 16 09:41:23 2003 [516] *** Mathopd/1.3pl7 starting
Wed Jul 16 09:41:26 2003 [516] No such virtual server: 192.168.2.10:81
Wed Jul 16 09:41:43 2003 [516] No such virtual server: 192.168.2.10:81
My config file looks like:
# Mathopd.conf Start
Umask 026
Tuning {
NumConnections 120
BufSize 12288
}
User daemon
StayRoot Off
PIDFile /tmp/mathopd.pid
Log /var/log/mathopd/log.%Y%m%d
ErrorLog /var/log/mathopd/errors.%Y%m
Control {
Symlinks On
Types {
text/plain { * }
text/css { css }
application/octet-stream { zip gz tgz exe class }
application/futuresplash { spl }
model/vrml { wrl }
application/pdf { pdf }
text/html { html htm }
image/gif { gif }
image/jpeg { jpg }
}
Specials {
Imagemap { map }
CGI { cgi }
Redirect { url }
}
External {
/usr/bin/perl { pl }
}
IndexNames { home.html index.htm index.html redirect.url }
}
DefaultName localhost
Server {
Port 81
Virtual {
Host laptop
Control {
Alias /
Location /var/server-conf/htdocs
}
Control {
Alias /cgi-bin
Location /var/server-conf/cgi-bin
Specials {
CGI { * }
}
}
}
}
# Mathopd.conf finish