]> lifelog.hopto.org Git - LifeLog.git/commitdiff
updated with full instructions for install of thttpd web server.
authorMetabox <redacted>
Sat, 23 Mar 2019 20:27:53 +0000 (07:27 +1100)
committerMetabox <redacted>
Sat, 23 Mar 2019 20:27:53 +0000 (07:27 +1100)
.gitignore [new file with mode: 0644]
Installation.txt
run/thttpd.pid
startDevWebServer.sh
thttpd-2.29.tar.gz [new file with mode: 0644]
thttpd.conf

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..e27c0bd
--- /dev/null
@@ -0,0 +1,5 @@
+log/thttpd.log
+thttpd-2.29/
+thttpd-2.29/*
+startDevWebServer.sh
+thttpd.conf
index fbfc10f31784ea468539102b7d081de535f3efed..71dc94778281e7a6bfe0a8c5d05a79a1e06a492d 100644 (file)
@@ -2,6 +2,16 @@
 
 https://acme.com/software/thttpd/
 
+wget https://acme.com/software/thttpd/thttpd-2.29.tar.gz
+tar -xvzf thttpd-2.29.tar.gz
+cd thttpd-2.29/
+sudo groupadd www
+make
+make install
+
+#rm thttpd-2.29.tar.gz
+#rm -rf thttpd-2.29
+
 Create an mkdir ~/thttpd_dev directory.
 
 Run server using this config file, where {user} is your home login location.
@@ -22,8 +32,18 @@ host=0.0.0.0
 charset=utf-8
 cgipat=**.cgi
 
+After modifying the thttpd.conf
+you'll have to modify the startDevWebServer.sh to reflect your setup before running the script.
+
+The full URL to the LifeLog is the following link (if not working try without cgi-bin, and proceed with further installation):
+#
+#
+         http://localhost:8080/cgi-bin/
+#
+#
 
-#Install cpanm to make installing other modules easier (you'll thank us later). You need to type these commands into a Terminal emulator (Mac OS X, Win32, Linux)
+#Install cpanm to make installing other modules easier (you'll thank us later). 
+You need to type these commands into a Terminal emulator (Mac OS X, Win32, Linux)
 sudo apt install cpanminus
 
 #Install DBI module
index a222952fc1efb6891afbc5ffc7ca5d0c39790d2e..59b6a99a7df17cb1971228c5237700e11047104c 100644 (file)
@@ -1 +1 @@
-1507
+5775
index 7a20870ed9bec717d4595058de47ff30f2611496..c267228d211ac7598ff1b7ecf6cac027eb173e79 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/bash                                                                                        
 export DB_USER="db"
 export DB_PASS="db_pass"
-cd /home/will/thttpd_dev
+cd /home/will/dev/LifeLog
 thttpd -C thttpd.conf& 
diff --git a/thttpd-2.29.tar.gz b/thttpd-2.29.tar.gz
new file mode 100644 (file)
index 0000000..0e800c4
Binary files /dev/null and b/thttpd-2.29.tar.gz differ
index 674f79b9289d05966f27d3de4f3494785a63a88b..df281364eb6f043cbbd234c70c18fb1bb6979ff4 100644 (file)
@@ -1,8 +1,8 @@
 # This section overrides defaults
-dir=/home/will/thttpd_dev/htdocs
+dir=/home/will/dev/LifeLog/htdocs
 user=will
-logfile=/home/will/thttpd_dev/log/thttpd.log
-pidfile=/home/will/thttpd_dev/run/thttpd.pid
+logfile=/home/will/dev/LifeLog/log/thttpd.log
+pidfile=/home/will/dev/LifeLog/run/thttpd.pid
 # This section _documents_ defaults in effect
 port=8080
 nosymlinkcheck # default = !chroot