Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231584 - New root directory option for webapp-config
Summary: New root directory option for webapp-config
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-12 13:08 UTC by Knut Krause
Modified: 2013-08-03 15:31 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 Knut Krause 2008-07-12 13:08:00 UTC
Hi,
I just tried out webapp-config and now I think it would be a really nice feature if you could enter a root directory on your file system wich is NOT specified through the host switch.

Example:
My website is at /srv/www/website and I want to have /srv/www/website/phpmyadmin then I neither can do smth like

webapp-config -I -h website -d phpmyadmin

because the phpmyadmin will link itself to www.website.com, no I can do smth like

webapp-config -I -h www.mydomain.com -d website/phpmyadmin

with the $host disabled in the /etc/vhosts/webapp-config because then phpmyadmin will link to www.mydomain.com/website/phpmyadmin.
The best way would be smth like

webapp-config -I -h www.mydomain.com -R /srv/www/website -d phpmyadmin

What do you think about this new feature?

Greetings Knut
Comment 1 Knut Krause 2008-07-12 13:18:33 UTC
(In reply to comment #0)

> The best way would be smth like
> 
> webapp-config -I -h www.mydomain.com -R /srv/www/website -d phpmyadmin

I haven't really thought about that sorry... you just need a new flag wich defines a file system name for you vhost of course. Smth like

ebapp-config -I -h www.mydomain.com --short-name website -d phpmyadmin

would be enough. Then you'll need a new variable in /etc/vhosts/webapp-config so that you could do smth like

vhost_root="/srv/www/${vhost_short_hostname}/"

greetings
Comment 2 Anthony Basile gentoo-dev 2011-12-30 15:58:20 UTC
Old bug, is still still a desired enhencment?