From 9e6740ab6bec12b1b3d77a0dd1c1a9bc3fd423ac Mon Sep 17 00:00:00 2001 From: "Jean-Marc Pigeon (Delson)" Date: Mon, 25 Aug 2025 13:01:54 -0400 Subject: [PATCH] Starting to display html pages --- Makefile | 4 ++++ Makefile.dist | 2 ++ conf/mailleur-httpd.conf | 7 ------- support/do_httpd.sh | 16 +++++----------- www/mailleur.php | 13 +++++++++++++ 5 files changed, 24 insertions(+), 18 deletions(-) create mode 100644 www/mailleur.php diff --git a/Makefile b/Makefile index 3e57cc1..bf26ead 100644 --- a/Makefile +++ b/Makefile @@ -257,6 +257,10 @@ install : @ cp -a \ sql \ $(DESTDIR)/$(DATADIR)/$(APPN)/ + @ ln -s \ + $(DESTDIR)/www/mailleur.php \ + $(DESTDIR)/www/index.php + #-------------------------------------------------------------------- SUBDIR = \ diff --git a/Makefile.dist b/Makefile.dist index 0d0f865..135ad5c 100644 --- a/Makefile.dist +++ b/Makefile.dist @@ -39,6 +39,7 @@ tarfile : clean $(APLV)/sysconfig \ $(APLV)/support \ $(APLV)/tools \ + $(APLV)/www \ $(APLV) @ date > $(APLV)/$(APLV).build_date @ cp -a Makefile* $(APLV)/ @@ -58,6 +59,7 @@ tarfile : clean @ cp -a \ cron/ \ tools/ \ + www/ \ $(APLV)/ @ cp -a support/*.sh \ $(APLV)/support diff --git a/conf/mailleur-httpd.conf b/conf/mailleur-httpd.conf index 09d360d..e69de29 100644 --- a/conf/mailleur-httpd.conf +++ b/conf/mailleur-httpd.conf @@ -1,7 +0,0 @@ -#mailleur configuration file -# -# -#definition du mailleur serveur WEB - - - diff --git a/support/do_httpd.sh b/support/do_httpd.sh index bccec60..da6bb71 100755 --- a/support/do_httpd.sh +++ b/support/do_httpd.sh @@ -21,10 +21,11 @@ add_web() { #updating httpd.con -sed -i \ - -e "s:#LoadModule ssl_:LoadModule ssl_:" \ - -e "s:#LoadModule rewrite:LoadModule rewrite:"\ - $BASE/etc/httpd/httpd.conf +sed -i \ + -e "s:#LoadModule ssl_:LoadModule ssl_:" \ + -e "s:#LoadModule rewrite:LoadModule rewrite:" \ + -e "s:#LoadModule socache_shmcb_module:LoadModule socache_shmcb_module:" \ + /etc/httpd/httpd.conf #converting '.' to '\.' reldom=`echo $domain | sed -e "s/\\./\\\\\\./g"` @@ -91,13 +92,6 @@ SSLSessionCacheTimeout 300 #----------------------------------------------------------------- #setting name virtual -cat >> /etc/httpd/conf.d/$APPNAME.conf < + + + +Mailleur + + + + + + + + -- 2.47.3