[greenstone-users] changing configuration

From alen
DateWed, 18 May 2005 12:13:42 +0800
Subject [greenstone-users] changing configuration
hi,
up til now, i have been accessing the localhost url to see my
developments in greentsone. soon, i will be porting it to our server.
of course, i would like to test that on my local machine first. my
palan was to copy the whole gsdl directory (because i recompiled the
source code in my local machine), and then just change the config
files. do you think this will work? or do i have to recompile in the
server machine? if this would work...

would anyone know how to change the access url of the library? i've
tried to edit my httpd.conf file and the gsdlsite.cfg, but it's not
working...

could anyone help me out? it'd be greatly appreciated. :)

some snippets:

gsdlsite.cfg
# points to the GSDLHOME directory
gsdlhome /usr/local/gsdl

# this is the http address of GSDLHOME
# if your webservers DocumentRoot is set to $GSDLHOME
# then httpprefix can remain commented out
httpprefix http://pundit.pregi.net/gsdl

# this is the http address of the directory which
# contains the images for the interface.
# if your webservers DocumentRoot is set to $GSDLHOME
# then httpimg will be /images
httpimg http://pundit.pregi.net/gsdl/images

httpd.conf
ServerName pundit.pregi.net:80
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin allenbuenaflor&#64;gmail.com
DocumentRoot /usr/local/apache2/htdocs
Redirect /index.html http://pundit.pregi.net/cgi-bin/library
ServerName pundit.pregi.net
</VirtualHost>
--
Contact is crisis.