[Dart] Problems in Settingup a Dart Server on Ubuntu Machine
Ammar Iqbal
ammar_iqbal at hotmail.com
Tue Jan 22 04:24:22 EST 2008
Hello,
I am trying to configure a Dart Server for the Slicer Image Gudied Navigator (SIGN), on www.matmed.no. The problem which I am facing is the transfer of proxy requests form local host:8083 to matmed.no:80.
I followed the manual documentation in the Dart source tree. ,but it is not working. I tried ProxyPass and Proxy ReversePass ,and have also written rules using mod_rewrite.so.
I am not figuring out why it is not working.
I am using apache2 web server, and I am making changes in apache2.conf in /etc/apache2 directory and proxy.conf in /etc/apache2/mods-enabled/.
Following are the changes which I have made in Proxy.conf
#turning ProxyRequests on and allowing proxying from all may allow
#spammers to use your proxy to send email.
ProxyRequests Off
Order deny,allow
Deny from all
Allow from 127.0.0.1
ProxyPass matmed.no/dashboard/ http://localhost:8083/
ProxyPassReverse matmed.no/dashboard/ http://localhost:8083/
# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via: headers)
# Set to one of: Off | On | Full | Block
ProxyVia On
# To enable the cache as well, edit and uncomment the following lines:
# (no cacheing without CacheRoot)
CacheRoot "/var/cache/apache2/proxy"
CacheSize 5
CacheGcInterval 4
CacheMaxExpire 24
CacheLastModifiedFactor 0.1
CacheDefaultExpire 1
# Again, you probably should change this.
#NoCache a_domain.com another_domain.edu joes.garage_sale.com
As there is no configuration file for rewriting rules ,so I have included then in the apache2 configuraton file:
RewriteEngine on
RewriteRule ˆ/Matmed_Dart/(.*)$ http://localhost:8083/Sign/$1 [P]
RewriteRule ˆ/Matmed_Dart/(.*)$ http://localhost:8083/Sign/$1 [P]
AccessFileName .htaccess
Order allow,deny
Deny from all
allow from 127.0.0.1
UseCanonicalName On
--------------------------------------------------------------------------------------------------------------------------------------------------
Apart from this ,I have created a user dart on theUbuntu Machine.,and I have installed the Dart Source tree after logging in from this user. Eventually the Dart source treee is in /home/dart/Dart. I start the Dart server from here,,..More importantly the Dart server is started in the terminal window:
I want to visualize the dart server on www.matmed.no/dashboard. Despite doing all the above settings,,and starting of Dart server in the terminal window, I am unable to link it with www.matmed.no/dashboard.
I would be grateful, if any one can give me the clue in setting up a dart server on matmed.no/dashboard. (This server has been set on a ubuntu machine). I would like to install it like the slicer dashboard on the harward server. I am facing these problems ,because i am unable to find the relvant help from even the internet.
Best Regards,
Ammar Iqbal
Intervention Center,RicksHospitalet
Oslo, Norway
Cell:00 47-9044785
_________________________________________________________________
Connect and share in new ways with Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008
More information about the Dart
mailing list