Hello,
I want to deploy martview on one of the research server (unix). Due to other
applications running on the apache server I had to change the directory
structure of the martview. I am new to perl so having problem figuring it
out.
Following are the changes I have done -
cgi-bin folder contents are copied to - /www/bmart-cgi-bin
and rest of the folders are copied to - /www/html/web/biomart ie
/www/html/web/biomart/htdocs
/www/html/web/biomart/bin
/www/html/web/biomart/lib
/www/html/web/biomart/conf
/www/html/web/biomart/das
/www/html/web/biomart/script
/www/html/web/biomart/t
/www/html/web/biomart/logs
hence the basic application is URL on apache is hostname.org/biomart
Following are the changes i have done in the configuration file to reflect
this directory structure -
*1] conf/settings.conf*
apacheBinary=/usr/sbin/httpd
serverHost=hostname.org
port=80
proxy=
apxs=
location=TryBiomart
*2] bin/configureBiomart.pl*
$OPTIONS{htdocs} = Cwd::cwd() . "/htdocs";
$OPTIONS{cgibin} = Cwd::cwd() . "/./../../../bmart-cgi-bin";
$OPTIONS{lib} = Cwd::cwd() . "/lib";
with this i should be able to access martview as *
hostname.org/biomart/TryBiomart/martview *but I am not able to do so.
This is what is happening
1]
I am executing *perl bin/configure.pl -r conf/registryURLPointer.xml* under
/www/html/web/biomart/
so when I open *hostname.org/biomart/ * it shows me the diectory
structure under that ( as index.html is not directly available its under
htdocs folder)
so how should I tell apache server that when it first opens this URL its
should open *hostname.org/biomart/htdocs/index.html *( like welcome files
in java)
2] As I have mentioned in settings.conf serverHost = hostname.org and
location= TryBiomart
I think the configuration is trying to make URL as *
hostname.org/TryBiomart*/martview but this is conflicting with
my actual URL on the server (*hostname.org/biomart)*
Can you please guide me on how can I resolve this isssue. are there any
other changes to be done?
FYI : I cannot chnage the base URL *hostname.org/biomart* (as my
professor has not given me access to anything else)
The cgi-bin content has to be in the /www/bmart-cgi-bin ( I
only have access permissions for /www/html/web/biomart and
/www/bmart-cgi-bin folders)
Thank you !
Anu