Hi I had an odd gotcha for a while which I fixed now. In my .htaccess on debian I formerly had

<FilesMatch "\.(html|xml)$">
  PerlHandler AxKit
</FilesMatch>

but I changed it to just

PerlHandler AxKit

becuase I didn't need the restrictions any more. No problem. As a result I started having this problem with it on my OS X machine where I would get this error:

[Sat Jul 12 19:14:52 2003] [warn] [client 127.0.0.1] [AxKit] handler called for /
[Sat Jul 12 19:14:52 2003] [warn] [client 127.0.0.1] [AxKit] Content Provider Override: Apache::AxKit::Provider::File
[Sat Jul 12 19:14:52 2003] [warn] [client 127.0.0.1] [AxKit] decoding from UTF-8
[Sat Jul 12 19:14:52 2003] [warn] [client 127.0.0.1] [AxKit] [req] File Provider given $r: /Library/WebServer/Apache2
[Sat Jul 12 19:14:52 2003] [warn] [client 127.0.0.1] [AxKit] checking if we process this resource
[Sat Jul 12 19:14:52 2003] [warn] [client 127.0.0.1] [AxKit] '/Library/WebServer/Apache2' is a directory


and my browser (camino) would redirect me to http://localhost// (and keep adding /'s)

well, I don't mind adding the FilesMatch back in, but it's weird anyway. Here's httpd -V from both machines

debian:
% /usr/sbin/apache -V
Server version: Apache/1.3.27 (Unix) Debian GNU/Linux
Server built: Jun 26 2003 16:49:46
Server's Module Magic Number: 19990320:13
Server compiled with....
-D EAPI
-D HAVE_MMAP
-D HAVE_SHMGET
-D USE_SHMGET_SCOREBOARD
-D USE_MMAP_FILES
-D HAVE_FCNTL_SERIALIZED_ACCEPT
-D HAVE_SYSVSEM_SERIALIZED_ACCEPT
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D HARD_SERVER_LIMIT=4096
-D HTTPD_ROOT="/usr"
-D SUEXEC_BIN="/usr/lib/apache/suexec"
-D DEFAULT_PIDLOG="/var/run/apache.pid"
-D DEFAULT_SCOREBOARD="/var/run/apache.scoreboard"
-D DEFAULT_LOCKFILE="/var/run/apache.lock"
-D DEFAULT_ERRORLOG="/var/log/apache/error.log"
-D TYPES_CONFIG_FILE="/etc/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache/httpd.conf"
-D ACCESS_CONFIG_FILE="/etc/apache/access.conf"
-D RESOURCE_CONFIG_FILE="/etc/apache/srm.conf"
% xsltproc -V
Using libxml 20506, libxslt 10029 and libexslt 719
xsltproc was compiled against libxml 20506, libxslt 10029 and libexslt 719
libxslt 10029 was compiled against libxml 20506
libexslt 719 was compiled against libxml 20506


OS X:
% httpd -V
Server version: Apache/1.3.27 (Darwin)
Server built: 07/09/03 01:22:05
Server's Module Magic Number: 19990320:13
Server compiled with....
-D HAVE_MMAP
-D USE_MMAP_SCOREBOARD
-D USE_MMAP_FILES
-D HAVE_FCNTL_SERIALIZED_ACCEPT
-D HAVE_FLOCK_SERIALIZED_ACCEPT
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D HARD_SERVER_LIMIT=256
-D HTTPD_ROOT="/usr/local/apache"
-D SUEXEC_BIN="/usr/local/apache/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/httpd.scoreboard"
-D DEFAULT_LOCKFILE="logs/httpd.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
-D ACCESS_CONFIG_FILE="conf/access.conf"
-D RESOURCE_CONFIG_FILE="conf/srm.conf"
% xsltproc -V
Using libxml 20508, libxslt 10031 and libexslt 721
xsltproc was compiled against libxml 20508, libxslt 10031 and libexslt 721
libxslt 10031 was compiled against libxml 20508
libexslt 721 was compiled against libxml 20508



both are running AxKit 1.6.1


simon

--
www.simonwoodside.com -- 99% Devil, 1% Angel


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to