On Mon, 27 Aug 2001 16:51:29 -0400, L.D. Best wrote:
> I have an idea what a .php file might be, but Arachne doesn't.
> I tried adding .php as an alias for HTM but may have screwed that up.
> Can Arachne handle the page; if so, what change needs to be made?
In order to "alias" a file in mime.cfg....
You must use the same "content-type" which is being used by the server
in question. (press the equals key to find this info)
example:
<TITLE>Page information for
http://www.angelfire.com/id/glenndoom/wstrn-ar.zbm</TITLE><PRE>
HTTP/1.1 200 OK
Date: Mon, 27 Aug 2001 22:41:17 GMT
Server: Apache/1.3.9 (Unix) FrontPage/4.0.4.3
Set-Cookie: CookieStatus=COOKIE_OK; path=/; domain=.lycos.com; expires=Tue,
27-Aug-2002 22:41:17 GMT
Set-Cookie: CookieStatus=COOKIE_OK; path=/; domain=.lycos.com; expires=Tue,
27-Aug-2002 22:41:17 GMT
Last-Modified: Wed, 15 Aug 2001 01:20:45 GMT
ETag: "802b94-59a6-3b79ce6d"
Accept-Ranges: bytes
Content-Length: 22950
Connection: close
Content-Type: text/plain
</PRE>
<HR>URL: <A
HREF="http://www.angelfire.com/id/glenndoom/wstrn-ar.zbm">http://www.angelfire.com/id/glenndoom/wstrn-ar.zbm</A><BR
Local: <A HREF="file:98963361.TXT">\arachne\cache\98963361.TXT</A><HR>
The "aliasing":
image/x-zbitmap >BMP|[150]md $a\\zbm \n pkunzip -o $1 $azbm \n
copy /b $azbm\\*.bmp $2 \n del $azbm\\*.bmp
text/plain >BMP|[150]md $a\\zbm \n pkunzip -o $1 $azbm \n
copy /b $azbm\\*.bmp $2 \n del $azbm\\*.bmp
(lines broken for eMail)
--
Glenn
http://arachne.cz/
http://freedos-32.sourceforge.net/
http://www.delorie.com/listserv/mime/
http://www.angelfire.com/id/glenndoom/download.htm