[gimp-web/oscp] testing.developer: change website root to html/.



commit a2856cc581e7e4548a7794bc2398d1c8adf49192
Author: Jehan <jehan girinstud io>
Date:   Sat Apr 2 17:00:38 2022 +0200

    testing.developer: change website root to html/.
    
    The webserver doesn't find the index and this seems to be the only
    subdomain where we use htdocs/ (except for the developer website, but
    since when hasn't it been run? Can it be trusted?). Could it be that
    something is hardcoded to lookup an html/ directory?

 testing.developer.gimp.org/Dockerfile                                 | 2 +-
 .../app_data/httpd-cfg/testing.developer.gimp.org.conf                | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/testing.developer.gimp.org/Dockerfile b/testing.developer.gimp.org/Dockerfile
index d59a9270..b5d234e1 100644
--- a/testing.developer.gimp.org/Dockerfile
+++ b/testing.developer.gimp.org/Dockerfile
@@ -9,7 +9,7 @@ FROM centos/httpd-24-centos7
 USER root
 
 COPY app_data /opt/app-root/src
-COPY --from=0 /html /opt/app-root/src/htdocs
+COPY --from=0 /html /opt/app-root/src/html
 RUN  chown -R 1000580000:1000580000 /opt/app-root/src
 
 EXPOSE 8080
diff --git a/testing.developer.gimp.org/app_data/httpd-cfg/testing.developer.gimp.org.conf 
b/testing.developer.gimp.org/app_data/httpd-cfg/testing.developer.gimp.org.conf
index fe5eeb5f..e2e50e4c 100644
--- a/testing.developer.gimp.org/app_data/httpd-cfg/testing.developer.gimp.org.conf
+++ b/testing.developer.gimp.org/app_data/httpd-cfg/testing.developer.gimp.org.conf
@@ -3,10 +3,10 @@
     ServerAlias testing-developer-gimp-web.openshift.gnome.org
 
     ServerAdmin webmaster gimp org
-    DocumentRoot /opt/app-root/src/htdocs
+    DocumentRoot /opt/app-root/src/html
 </VirtualHost>
 
-<Directory "/opt/app-root/src/htdocs">
+<Directory "/opt/app-root/src/html">
   Require all granted
 </Directory>
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]