From 02f2535b55cf31cf075cb874d16eb2d250256682 Mon Sep 17 00:00:00 2001 From: Andrew McNab Date: Fri, 28 Mar 2008 14:58:07 +0000 Subject: [PATCH] Sync --- org.gridsite.core/doc/httpd-storage.conf | 69 +++++++++++++++++++------------- org.gridsite.core/interface/gridsite.h | 6 +-- org.gridsite.core/src/grst_admin_main.c | 2 +- org.gridsite.core/src/grst_err.c | 1 - org.gridsite.core/src/make-gridsite-spec | 2 +- org.gridsite.core/src/mod_gridsite.c | 31 +++++++++----- 6 files changed, 66 insertions(+), 45 deletions(-) diff --git a/org.gridsite.core/doc/httpd-storage.conf b/org.gridsite.core/doc/httpd-storage.conf index 1e3db9d..636e05a 100644 --- a/org.gridsite.core/doc/httpd-storage.conf +++ b/org.gridsite.core/doc/httpd-storage.conf @@ -93,6 +93,9 @@ LoadModule alias_module /usr/lib/httpd/modules/mod_alias.so LoadModule cgi_module /usr/lib/httpd/modules/mod_cgi.so LoadModule env_module /usr/lib/httpd/modules/mod_env.so +LoadModule php4_module modules/libphp4.so +AddType application/x-httpd-php .php + TypesConfig /etc/mime.types # User and group who will own files created by Apache @@ -100,6 +103,7 @@ User apache Group apache DocumentRoot "/var/www/html" +DirectoryIndex index.html AllowOverride None @@ -124,32 +128,6 @@ Listen 80 Listen 777 NameVirtualHost 127.0.0.1:80 - -ServerName login.www.printenv.localdomain - - - GridSiteIndexes on - GridSiteAuth on - GridSiteDNlists /etc/grid-security/dn-lists/ - - -ScriptAliasMatch / /var/www/cgi-bin/login.printenv.sh - - - - -ServerName www.printenv.localdomain - - - GridSiteIndexes on - GridSiteAuth on - GridSiteDNlists /etc/grid-security/dn-lists/ - - -ScriptAliasMatch / /var/www/cgi-bin/printenv.sh - - - GridSiteGridHTTP on @@ -159,6 +137,7 @@ GridSiteCastAlias http://sitecast.domain:777/ /var/www/html/ GridSiteIndexes on GridSiteAuth on GridSiteDNlists /etc/grid-security/dn-lists/ + GridSiteHtmlFormat on @@ -171,8 +150,10 @@ Listen 488 SSLSessionCacheTimeout 300 SSLSessionCache shm:/var/cache/mod_ssl/shm_cache - + +ServerName pc63.hep.man.ac.uk + SSLEngine on SSLCertificateFile /etc/grid-security/hostcert.pem SSLCertificateKeyFile /etc/grid-security/hostkey.pem @@ -186,6 +167,7 @@ GridSiteGridHTTP on GridSiteCastAlias https://sitecast.domain:488/ /var/www/html/ + SetEnv GRST_FOOTER_BLOB '