Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96576 - webapp-config --show-installed doesn't honor VHOST_HTDOCS_INSECURE, always uses htdocs
Summary: webapp-config --show-installed doesn't honor VHOST_HTDOCS_INSECURE, always us...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stuart Herbert (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-19 23:01 UTC by awk
Modified: 2005-11-20 09:48 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 awk 2005-06-19 23:01:16 UTC
I have VHOST_HTDOCS_INSECURE set to "pub". When I want to see what's installed for a certain host, I 
try, e.g.:

  webapp-config --show-installed -h example.com -d /

But it fails with:

  Fatal error: Nothing installed in /var/www/example.com/htdocs/
  Fatal error(s) - aborting

because the app is actually installed at /var/www/example.com/pub. All the other usual install/
upgrade commands work fine.

Reproducible: Always
Steps to Reproduce:
Comment 1 Wendall Cada 2005-06-23 15:33:52 UTC
I can confirm that this is a valid bug.

Wendall
Comment 2 Stuart Herbert (RETIRED) gentoo-dev 2005-06-23 15:45:33 UTC
Hi,

Thanks for the bug report.  The cause of the problem is the MY_HTDOCSBASE 
variable around line 214 in /etc/vhosts/webapp-config.  This completely 
ignores the VHOST_HTDOCS_INSECURE variable.  It also completely ignores 
whether we're in secure mode or not.

I've applied a fix for this in my local copy of webapp-config, and it should 
be included in the next release.

Best regards,
Stu
Comment 3 Renat Lumpau (RETIRED) gentoo-dev 2005-06-29 09:03:53 UTC
reassigning
Comment 4 Stuart Herbert (RETIRED) gentoo-dev 2005-11-20 09:48:27 UTC
Fixed in webapp-config v1.50.

Best regards,
Stu