Hello guys,

I've installed aolserver-4.01 on RH AS 3

Everything is fine..

BUT!
The server is not recognizing the default extensions

So no page shows for http://server/index
While there is an http://server/index.html

And it reads it fine when I request http://server/

Also, It reads .tcl pages as text, even with the correct settings I used
before

Is there anything I missed up or this is a bug in my versions!

The config file:

ns_section "ns/parameters"
        ns_param   home            $homedir
        ns_param   debug           false
        ns_param   serverlog       ${homedir}/log/error.log
        ns_param   maxkeepalive    0
        ns_param   logroll         on
        ns_param   maxbackup       5
        ns_param   OutputCharset   utf-8
        ns_param   URLCharset      utf-8

ns_section "ns/mimetypes"
        ns_param   Default            text/plain
        ns_param   NoExtension        text/plain
        ns_param   .pcd               image/x-photo-cd
        ns_param   .prc               application/x-pilot
        ns_param   .xls               application/vnd.ms-excel
        ns_param   .doc               application/vnd.ms-word

ns_section "ns/threads"
        ns_param   mutexmeter         true
        ns_param   stacksize [expr 128*1024]

ns_section "ns/servers"
        ns_param   $servername     $serverdesc

ns_section "ns/server/${servername}"
        ns_param   directoryfile   $directoryfile
        ns_param   pageroot        $pageroot
        ns_param   maxconnections     5
        ns_param   maxdropped         0
        ns_param   maxthreads         5
        ns_param   minthreads         5
        ns_param   threadtimeout      120
        ns_param   globalstats        false
        ns_param   urlstats           false
        ns_param   maxurlstats        1000

ns_section "ns/server/${servername}/adp"
        ns_param        Map                     /*.adp
        ns_param        DefaultParser           fancy
        ns_param        enabledebug             false
        ns_param        threadcache             false

ns_section ns/server/${servername}/adp/parsers
        ns_param        fancy                   ".adp"

ns_section "ns/server/${servername}/module/nssock"
        ns_param   port            $httpport
        ns_param   hostname        $hostname
        ns_param   address         $address

ns_section "ns/server/${servername}/module/nslog"
        ns_param   rolllog         true
        ns_param   rollonsignal    true
        ns_param   rollhour        0
        ns_param   maxbackup       5
        ns_param   logreqtime      true

ns_section "ns/server/${servername}/modules"
        ns_param nsdb ${bindir}/nsdb.so
        ns_param nssock ${bindir}/nssock.so
        ns_param nslog ${bindir}/nslog.so
        ns_param nssha1 ${bindir}/nssha1.so
        ns_param nscache ${bindir}/nscache.so

ns_section ns/server/${servername}/tcl
        ns_param        Library                  $tcl_lib
        ns_param        autoclose               on
        ns_param        debug                   false


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to