NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Apache 2.2.8 on NetBSD 4.0 serves nothing or garbled directory listings
matthew sporleder wrote:
> On Thu, May 15, 2008 at 10:58 PM, Frank Huddleston
> <fhuddles%gmail.com@localhost> wrote:
>
>> I'm running NetBSD 4.0, and recently upgraded my Apache server to
>> configured -- resuming normal operations
>>
>>
>
>
> That is pretty weird. Try starting with the smallest possible
> httpd.conf and going from there. It would appear that your server has
> some kind of weird file descriptor mix-up or something. (it's
> executing itself instead of reading a directory or something)
>
> Example small httpd.conf:
>
> #minimal httpd.conf
> Listen 80
> User nobody
> #optional stuff
> LoadModule log_config_module modules/mod_log_config.so
> ErrorLog /var/tmp/error_log
> LogLevel debug
> TransferLog /var/tmp/access_log
> DirectoryRoot /var/tmp
>
>
OK, I tried that, with exactly the same results. Here is the minimum
httpd.conf file I used:
#minimal httpd.conf
ServerRoot "/usr/pkg/etc/httpd"
Listen 80
User www
Group www
ServerName linden
#optional stuff
TypesConfig mime.types
#LoadModule log_config_module modules/mod_log_config.so
ErrorLog /var/tmp/error_log
LogLevel debug
TransferLog /var/tmp/access_log
DocumentRoot /var/tmp/www
I did notice that the number of entries in a directory listing does
correspond to the number of files in that directory, and that
non-existent directories get the 404 error,
so it's apparently reading the file system, just not serving it up
right. Error messages and status messages come up normally.
Home |
Main Index |
Thread Index |
Old Index