Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224859 - app-admin/webapp-config - Man page misleading when explaining the -d switch
Summary: app-admin/webapp-config - Man page misleading when explaining the -d switch
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-04 09:24 UTC by Christoph Eicke
Modified: 2011-12-30 16:35 UTC (History)
3 users (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 Christoph Eicke 2008-06-04 09:24:41 UTC
From the man page when concerned with the -d switch:
"The  webapp-config  tool allows you to create a virtual copy anywhere you want. You are no longer limited to installing a web-based app in  /home/httpd/htdocs/<package-name>/! Simply use the -d switch to tell webapp-config  where  you  want  to create your virtual copy."

This is misleading, it still places the webapp unter /var/www, so different places for installing webapps are not supported (some of my users want to have a webapp in their /home/*/public_html directory). From the -d switch manual it sounds that I can really place the webapp "anywhere". 

Reproducible: Always

Steps to Reproduce:
for example with twiki, placing it into /home/lgnh/public_html/

1. webapp-config -I -h www.lgnh.yfu.de -d /home/lgnh/public_html/ twiki 4.2.0

Actual Results:  
The twiki installation is placed into /var/www/www.lgnh.yfu.de/htdocs/home/lgnh/public_html

Expected Results:  
I would have expected the twiki installation be found unter /home/lgnh/public_html
Comment 1 Christoph Eicke 2008-06-04 09:32:55 UTC
I just found out that there is a config file in which I can specify the path.
Comment 2 Christoph Eicke 2008-06-04 10:05:14 UTC
Taking out the "/var/www" from the config file didn't solve the problem as I thought.
Comment 3 Anthony Basile gentoo-dev 2011-12-30 16:35:25 UTC
The files are always installed under vhost_root="/you/choose/pasth${vhost_hostname}" which is set in /etc/vhosts/webapp-config.  Its documented in man 5 webapp-config.

I'll think about updating man 8 webapp-config to alert the reader to this option.