Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 231584

Summary: New root directory option for webapp-config
Product: Gentoo Linux Reporter: Knut Krause <soa2ii>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED OBSOLETE    
Severity: enhancement CC: jmbsvicetto, webapps-request, ziga.boehm
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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?