]> SAFE projects GIT repository - jmp/mailleur/commitdiff
Starting to display html pages
authorJean-Marc Pigeon (Delson) <jmp@safe.ca>
Mon, 25 Aug 2025 17:01:54 +0000 (13:01 -0400)
committerJean-Marc Pigeon (Delson) <jmp@safe.ca>
Mon, 25 Aug 2025 17:01:54 +0000 (13:01 -0400)
Makefile
Makefile.dist
conf/mailleur-httpd.conf
support/do_httpd.sh
www/mailleur.php [new file with mode: 0644]

index 3e57cc11dbcf3589e766fa4ba0bdbb2ddb42f0d8..bf26ead86e181fea432cacbc0e88e1de97955c2e 100644 (file)
--- 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 =                                               \
index 0d0f8659e429bd26165a0062ca12c6b8087ed18e..135ad5cc0b955b14efa8a138659cb1a4997c5a95 100644 (file)
@@ -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
index 09d360d544dfd0f72944aec3a1e90bd413755337..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,7 +0,0 @@
-#mailleur configuration file
-#
-#
-#definition du mailleur serveur WEB
-<VirtualHost *:80>
-
-</VirtualHost>
index bccec60b0dc775a563fe52d84589706bda0f34b7..da6bb71b9e21333f3771c42c1daf08b9139a129e 100755 (executable)
@@ -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 <<!EOT
-#$APPNAME START
-#Done by the $APPNAME first start
-#NameVirtualHost *:80
-#NameVirtualHost *:443
-#$APPNAME STOP
-!EOT
 
 #to setup the IPV4 WEB interface
 if [ -n "$hostipv4" ] ; then
diff --git a/www/mailleur.php b/www/mailleur.php
new file mode 100644 (file)
index 0000000..523853a
--- /dev/null
@@ -0,0 +1,13 @@
+<HTML>    
+
+
+<HEAD>
+<TITLE>Mailleur</TITLE>
+<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
+</HEAD>
+
+<BODY="white">
+</BODY>
+
+
+<?HTML>