1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/www/fhttpd/files/patch-ab
Steve Price 02cbdaa95a Adding fhttpd version 0.4.2.
A C++-based FTP/HTTP server that supports modules.

PR:		15804
Submitted by:	Will Andrews <andrews@technologist.com>
2000-01-29 07:15:20 +00:00

81 lines
2.4 KiB
Plaintext

--- http-root/root-fhttpd.conf Mon Apr 19 13:31:49 1999
+++ http-root/root-fhttpd.conf.new Fri Dec 24 19:29:00 1999
@@ -5,7 +5,7 @@
# HTTP root directory
#
-HTTPRoot /home/ftp
+HTTPRoot /usr/local/share/fhttpd
# honor Keep-Alive option
#
@@ -44,19 +44,19 @@
# access control
#
AccessRealm system /etc/passwd
-AccessRealm http_users /etc/passwd.http_users
-AccessRights /home/ftp/private* restrict
-AccessRights /home/ftp/private* http_users default
+#AccessRealm http_users /etc/passwd.http_users
+AccessRights /usr/local/share/fhttpd/private* restrict
+#AccessRights /usr/local/share/fhttpd/private* http_users default
# finger redirected to script
#
-PipeOutExec */fingerlocal /home/ftp/bin/finger-nohtml
-AbsPipeOutExec /home/ftp/fingerlocal.html\
- /home/ftp/cgi-bin/finger @localhost
+PipeOutExec */fingerlocal /usr/local/share/fhttpd/bin/finger-nohtml
+#AbsPipeOutExec /home/ftp/fingerlocal.html\
+# /home/ftp/cgi-bin/finger @localhost
# directories with executables
#
-ExecMask /home/ftp/cgi-bin/*
+ExecMask /usr/local/share/fhttpd/cgi-bin/*
# default header and footer
#
@@ -92,8 +92,8 @@
# CD-ROM
#
-AbsDirType /home/ftp/cdrom <DT><IMG_SRC="/icons/cdromicon.gif"\
-_ALIGN=TOP_ALT=""><B>_ _</B>
+#AbsDirType /home/ftp/cdrom <DT><IMG_SRC="/icons/cdromicon.gif"\
+#_ALIGN=TOP_ALT=""><B>_ _</B>
# "folder" icon for directory
#
@@ -287,11 +287,11 @@
# preloaded files
#
-PreLoad - /home/ftp/file_index.html
-PreLoad /icons/folder.gif /home/ftp/icons/folder.gif
-PreLoad /icons/html.gif /home/ftp/icons/html.gif
-PreLoad /icons/text.gif /home/ftp/icons/text.gif
-PreLoad /icons/image.gif /home/ftp/icons/image.gif
+#PreLoad - /home/ftp/file_index.html
+PreLoad /icons/folder.gif /usr/local/share/fhttpd/icons/folder.gif
+PreLoad /icons/html.gif /usr/local/share/fhttpd/icons/html.gif
+PreLoad /icons/text.gif /usr/local/share/fhttpd/icons/text.gif
+PreLoad /icons/image.gif /usr/local/share/fhttpd/icons/image.gif
# applications
#
@@ -305,11 +305,11 @@
# default application
#
Application fhttpd-file - ftp 3000,30 1 * \
-/usr/local/sbin/fhttpd-file -s -u 022 -c /etc/fhttpd.conf
+/usr/local/sbin/fhttpd-file -s -u 022 -c /usr/local/etc/fhttpd.conf
# log aplication
#
LogApplication log - ftp 1 1 - \
-/usr/local/sbin/fhttpd-log -u 022 -c /etc/fhttpd.conf -l /tmp/fhttpd-log.log
+/usr/local/sbin/fhttpd-log -u 022 -c /usr/local/etc/fhttpd.conf -l %%LOGFILE%%
# EOF