Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55064 - webapp-config should support installing into a directory other than the default name of the webapp
Summary: webapp-config should support installing into a directory other than the defau...
Status: RESOLVED DUPLICATE of bug 55070
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Stuart Herbert (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-24 12:23 UTC by Mike Nerone
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Mike Nerone 2004-06-24 12:23:59 UTC
Currently, webapp-config always appends its idea of the application name to the directory when installing. This is one misfeature with two adverse effects:

1. If I want horde to be accessible at "www.example.com/tinkerbell", I should be able to do that. I shouldn't *have* to use "/horde" or "/tinkerbell/horde".

2. This is the one that's my main beef: I need to be able to specify that a webapp is at the document root. I *actually* want my horde to be accessible at horde.example.com. My docroot should be /var/www/horde.example.com/htdocs, into which I should be able to install horde (and not /var/www/horde.example.com/htdocs/horde). This is prevented by webapp-config's insistence on appending "horde."

(Yes, at the moment, I easily work around this by setting my docroot to /var/www/horde.example.com/htdocs/horde, but that is not a general solution.)

Some switch needs to be made available to either modify the effective app name (suffix?) or prevent it from being appended altogether.

Of course, some webapps have hardcoded web paths. Perhaps there should be something in the metadata that specifies whether an app supports relocation (it should still let you do it, though, with a warning).
Comment 1 Stuart Herbert (RETIRED) gentoo-dev 2004-06-24 12:37:10 UTC
If you don't have the vhosts USE flag set, it's policy for emerge (through the webapp eclass) to tell webapp-config to install the package into -h localhost -d <packagename>.

Just add USE=vhosts, and then you can run webapp-config manually to install as many copies of the package into whatever directories you want.

Best regards,
Stu
Comment 2 Mike Nerone 2004-06-24 12:48:29 UTC
vhosts is already in my USE flags. I'm referring to manual webapp-config installations (emerge didn't do one automatically since "vhosts" was already there).
Comment 3 Stuart Herbert (RETIRED) gentoo-dev 2004-06-24 12:52:04 UTC
This isn't a webapp-config bug.  It's a problem with horde.  If you look in /usr/share/webapps/horde/*/htdocs, I bet you'll find a 'horde' directory under there.  That's your problem.

Best regards,
Stu
Comment 4 Mike Nerone 2004-06-24 12:59:20 UTC
Aha! I get it now. So when spanky fixes Bug #55070, this will be fixed at the same time. Thanks...sorry for missing which package caused the problem.
Comment 5 Mike Nerone 2004-06-24 13:53:04 UTC
Marking as duplicate of 55070.
Comment 6 Mike Nerone 2004-06-24 13:53:17 UTC

*** This bug has been marked as a duplicate of 55070 ***