Mathopd Configuration Help

Scott Ullrich <[email protected]>
Newsgroups gmane.network.mathopd
Message-ID <[email protected]>
Hi!  I've been trying to configure Mathopd to automatically run on my host
without having to enter the host's ip address in the virtual root file.  The
reason I do not want to use the ip address is because I plan on running
mathopd from automated scripts on a machine that has its filesystem
read-only.  Here is the configuration file that I am currently using but it
does not work.  Note, if I replace NoHost with Host <MYIPADDRESS> it works
as expected but each server will automatically generate it's IP address at
bootup and the rest of the system is completely automated (hence I do not
wish to edit the configuration files by hand on each one).

Umask 026

Tuning {
        NumConnections 120
        BufSize 12288
}

User mathopd
StayRoot On

PIDFile /tmp/mathopd/pid
Log /tmp/mathopd/log.%Y%m%d
ErrorLog /tmp/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 { index.cgi home.cgi index.html default.html home.html
index.
htm index.html redirect.url }
}

DefaultName localhost

Server {
        Port 80
        Virtual {
                NoHost
                Control {
                        Alias /
                        Location /usr/local/www
                        Specials {
                                CGI { * }
                        }
                }
        }
}

* * * NOTICE * * *
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify your system manager
or the sender at [email protected].
Scott Ullrich.vcf (application/octet-stream, 467 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.