thttpd-2.29-changes.txt



#	*****These files are in: cd ~/freedom/Acme.com/thttpd-2.29/ #*****


#	The first change in "thttpd-2.29" is in "Makefile.in" by adding the directory "man1", without this a fresh install will fail! In "Makefile.in" copy line 116 and paste it before, and change man8 to man1, and save the file. The result will be: (This file is: "Makefile.in".)
#
#		114 
#
#		115 install-man:
#
#		116	-mkdir -p $(DESTDIR)$(MANDIR)/man1
#
#		117	-mkdir -p $(DESTDIR)$(MANDIR)/man8
#
#		118	$(INSTALL) -m 444 -o bin -g bin thttpd.8 $(DESTDIR)$(MANDIR)/man8
#
#		119
#
#
#
#	The second change in "thttpd-2.29" is in "config.h" where we want to be able to use the "makeweb" program. Here it is making "users" active by copying line 127, adding some extra lines at 130 and pasting the "users" line on line 131, then saving the file. The result will be: (This file is: "config.h".)
#
#		126 #ifdef notdef
#
#		127 #define TILDE_MAP_1 "users"
#
#		128 #define TILDE_MAP_2 "public_html"
#
#		129 #endif
#
#		130 
#
#		131 #define TILDE_MAP_1 "users"
#
#		132 
#
#
#
#	The third change in "thttpd-2.29" is in "configure" and is to change where all of the data is written from: "/usr/local" to "/home/local" since the only directory that can be saved when changing operating systems (OS's) is the "/home/" directory, all of the others get over written! This change is in "configure" where line 12 is changed from "/usr/local" to "/home/local", giving the following result, then save the file. (This file is: "configure".)
#
#		 9 
#
#		10 # Defaults:
#
#		11 ac_help=
#
#		12 ac_default_prefix=/home/local
#
#		13 # Any additions from configure.in:
#
#		14 
#
#
#
#	This is the end of the changes in "thttpd-2.29"
#
#
#
#	*****************************
#
#
#	The "manpage path" is different from "$PATH" so that will be taken care of by just: sudo cp -iav /home/local/man/ /usr/local/man/ which will be done after "thttpd" is up and running, also if one is changing OS's. It seems that Raspberry Pi OS does not have a problem here, but Ubuntu still has a problem!
#
#
#
#	If one does an OS change, the other files that need to be changed in "/etc/" are:
#
#		sudo cp -iav /home/local/sbin/thttpd-extras/thttpd-rotate /etc/cron.daily/thttpd-rotate
#
#				# or if you are using the os-debug version,
#
#		sudo cp -iav /home/local/sbin/os-debug/thttpd-rotate  /etc/cron.daily/thttpd-rotate     # this file needs other programs found in "os-debug" see: "readme.txt" in "os-debug".
#
#
#
#		sudo cp -iav /home/local/sbin/thttpd-extras/rc.local /etc/rc.local     # Make sure you don't wipe out a file that might already be there!
#
#
#
#		sudo cp -iav /home/local/sbin/thttpd-extras/thttpd.sh /etc/thttpd.sh     # This file pulls in the "thttpd_wrapper" which restarts "thttpd" in 10 seconds.
#
#
#
#	I think that covers all of the changes, and the ones that one would have to make if changing OS's.
#
#
#
#	*****************************
#
#
