Help!

[gentoo-user] webapp-config, soft-link & config

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> User RSS
Next:  Bug#554880: global zshrc should source /etc/zsh_c..  
Author Message
gibboris
External


Since: Nov 07, 2009
Posts: 1



PostPosted: Fri Nov 06, 2009 9:10 pm    Post subject: [gentoo-user] webapp-config, soft-link & config
Archived from groups: linux>gentoo>user (more info?)

Hello,
I just tried the soft-linking mode of
webapp-config (like if apache followed XDG).
The problem is that some web apps use
realpath(dirname(__FILE__)) to ease config include.
(ampache is one of them)
I don't know if all apps do right to do so...
But to solve that webapp_hook_script may be very powerful
but ... it doesn't provide the $vhost_link_type
variable so no conditionnal hooking is possible.
I guess the following should not be written in a
hook script (neither in an ebuild)
sed -n '/^vhost_link_type/{s/.*=//p;q}' ${WEBAPP_CONFIG}
Any other idea ?

Raph
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> User All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum