View previous topic :: View next topic |
Author |
Message |
stickboy2642 Tux's lil' helper


Joined: 21 Jan 2004 Posts: 129 Location: MT, USA
|
Posted: Tue Mar 14, 2006 7:00 pm Post subject: HTdig configuration question |
|
|
I installed htdig on a virtual host using webapp-config, and I am having problems with the config files. I have a config for the virtual host that I want to use, but htdig keeps pointing back to /usr/share/webapps/htdig/3.1.6-r7/hostroot/htdig/htdig.conf. If I create a symlink to the htdig.conf file I want to use, then it works fine, but this limits me to a single virtual host, and I would like to be able to use this on multiple sites down the road.
I am wondering if there is a way to use the config that I have with the virtual host. When I run any of the setup scripts (rundig, etc) I can specify the config file, but how can I specify this file for the cgi-bin/htsearch script when it is being called from apache? Is there a way in the apache configuration to pass in the -c parameter (cgi-bin/htsearch -c <path to config>/htdig.conf) for the script without having to put it in the url? Is there a parameter I can pass into apache or maybe an environment variable that will set the location of the config file? Any pointers would be greatly appreciated.
webapp-config:
Code: |
webapp-config -I -h domain.com -s apache htdig 3.1.6-r7
|
/etc/vhosts/webapp-config.conf (without comments to reduce post size)
Code: |
vhost_root="/home/www/html/${vhost_hostname}"
vhost_server="apache"
vhost_config_default_dirs="default-owned"
vhost_config_virtual_files="config-owned"
vhost_config_dir="${vhost_root}/conf"
vhost_default_uid="root"
vhost_default_gid="root"
vhost_htdocs_insecure="htdocs"
vhost_htdocs_secure="htdocs"
vhost_perms_serverowned_dir="0775"
vhost_perms_serverowned_file="0664"
vhost_perms_configowned_dir="0755"
vhost_perms_configowned_file="0644"
vhost_perms_defaultowned_dir="0755"
vhost_perms_defaultowned_dir="0755"
vhost_perms_virtualowned_file="o-w"
vhost_perms_installdir="0755"
WA_CONF_VERSION="7"
|
Thanks in advance! _________________ <?PHP
if ($desireToSolveProblem > 0){
solve($problem);
}else{
drink($beer);
} ?> |
|
Back to top |
|
 |
makenoob Apprentice

Joined: 19 Aug 2004 Posts: 272 Location: /Germany/Düsseldorf
|
Posted: Mon Nov 06, 2006 8:16 pm Post subject: |
|
|
hi stickboy, i want to do a similar conifguration like you have. did you solve this problem and got it working with webapp-config? i don't have any experience with webapp-config, do you have any suggestions for me?
TIA,
marc |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot 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
|
|