NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Apache 2.2.8 on NetBSD 4.0 serves nothing or garbled directory listings



  I'm running NetBSD 4.0, and recently upgraded my Apache server to
2.2.8. I did this originally through pkg_add, with a binary package,
but had segment fault errors, probably because mod_ssl is included and
I don't have SSL set up.
  I then downloaded the source from Apache and built it without
mod_ssl. It built,
installed (into /usr/local/apache2), and appeared to start fine, but
when it came to serving web pages, I got nothing: a blank page. I
would get output if I got a directory listing (of a directory with no
index.html file), but it was garbled: the link text was strange
characters like tildes, umlauts, crossed o's, mixed cases, etc. I
finally rebuilt from source using the apache22 package in pkgsrc, and
now I get similar behavior, the only difference being that the
directory listings are html of some kind: not interpreted, and not the
information requested.
A short sample is below:
Parent Directory
<li> <dl> <dt><samp>x_create_server_config()</samp></dt>
<dd><samp>[SVR()]</samp></dd> </dl> </li> <li> <dl>
<dt><samp>x_create_dir_config()</samp></dt> <dd><samp>[DIR()]</samp></
dd> </dl> </li> <li> <dl> <dt><samp>x_pre_config()</samp></dt>
<dd><samp>[nowhere]</samp></dd> </dl> </li> <li> <dl>
<dt><samp>x_open_logs()</samp></dt> <dd><samp>[nowhere]</samp></dd> </
dl> </li> <li> <dl> <dt><samp>x_post_config()</samp></dt>
<dd><samp>[nowhere]</samp></dd> </dl> </li> <li> <dl>
<dt><samp>x_child_init(linden)</samp></dt> <dd><samp>[nowhere]</samp></
dd> </dl> </li> <li> <dl> <dt><samp>x_quick_handler()</samp></dt>
<dd><samp>[DIR()]</samp></dd> </dl> </li>
That is actually the way it gets displayed in the browser, too.
I made an HTML page of it and looked at it: looks like a listing of
the modules (?) in the httpd executable itself (!)

Yes, I do have DocumentRoot set to what I want it to be.
As far as the access_log is concerned, everything is just fine: status
200.
I've got all the extra files commented out for now, including httpd-
ssl.conf, but there is a small error message in the error log upon
startup:
[Wed May 14 12:51:46 2008] [warn] Init: Session Cache is not
configured [hint: SSLSessionCache]
[Wed May 14 12:51:47 2008] [notice] Digest: generating secret for
digest authentication ...
[Wed May 14 12:51:47 20 08] [notice] Digest: done
[Wed May 14 12:51:47 2008] [notice] Apache/2.2.8 (Unix) mod_ssl/2.2.8
OpenSSL/0.9.8e DAV/2 configured -- resuming normal operations

What can y'all tell me?
thanks.



Home | Main Index | Thread Index | Old Index