Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3773578
D1564.id3990.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
613 B
Referenced Files
None
Subscribers
None
D1564.id3990.diff
View Options
diff --git a/roles/saas-mediawiki/software/files/mw.sh.jinja b/roles/saas-mediawiki/software/files/mw.sh.jinja
--- a/roles/saas-mediawiki/software/files/mw.sh.jinja
+++ b/roles/saas-mediawiki/software/files/mw.sh.jinja
@@ -68,6 +68,8 @@
exit $HTTP_HOST_EXIT_CODE
fi
+SERVER_NAME=$HTTP_HOST
+
# -------------------------------------------------------------
# Determine script path
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@@ -95,6 +97,7 @@
export DB_HOST
export DB_USER
export HTTP_HOST
+export SERVER_NAME
export MW_INSTALL_PATH
rlwrap php "$FULL_SCRIPT_PATH" "$@"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 07:43 (21 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2261981
Default Alt Text
D1564.id3990.diff (613 B)
Attached To
Mode
D1564: Set SERVER_NAME environment variable for mw
Attached
Detach File
Event Timeline
Log In to Comment