Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106759 - in webapp-config the VHOST_HOSTNAME variable is not set to --host value in hook scripts
Summary: in webapp-config the VHOST_HOSTNAME variable is not set to --host value in h...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stuart Herbert (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-21 00:15 UTC by Edward Middleton
Modified: 2005-11-20 10:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Edward Middleton 2005-09-21 00:15:50 UTC
The default value of VHOST_HOSTNAME is set for the hook script even when the
--host option is given to webapp-config

relivant line
--- /usr/sbin/webapp-config.orig  2005-09-21 16:11:42.000000000 +0900
+++ /usr/sbin/webapp-config       2005-09-21 16:11:23.000000000 +0900
@@ -2668,7 +2668,7 @@
        export VHOST_CONFDIR="${VHOST_ROOT}/${MY_CONFBASE}"
        export VHOST_ERRORSDIR="${VHOST_ROOT}/${MY_ERRORSBASE}"
        export VHOST_ICONSDIR="${VHOST_ROOT}/${MY_ICONSBASE}"
-       export VHOST_HOSTNAME
+       export VHOST_HOSTNAME="$G_HOSTNAME"
        export VHOST_SERVER="$G_SERVER"
        export VHOST_APPDIR="$G_ORIG_INSTALLDIR"
        export VHOST_CONFIG_UID


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Stuart Herbert (RETIRED) gentoo-dev 2005-11-20 10:11:32 UTC
Fixed in webapp-config v1.50.