Configure gbrowse_apache2.conf

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Configure gbrowse_apache2.conf

Asma Riyaz

I am trying to set up GBrowse's apache configuration:

Here is the gbrowse_apache2.conf file:

Alias        "/gbrowse2/i/" "/var/cache/gbrowse/images/"
Alias        "/gbrowse2"    "/usr/share/gbrowse/htdocs"
ScriptAlias  "/gb2/gbrowse/"      "/usr/lib/cgi-bin/gb2/gbrowse"

<Directory "/usr/share/gbrowse/htdocs">
  AllowOverride Options
  Options -Indexes -MultiViews +FollowSymLinks
  Require all granted

<Directory "/usr/share/gbrowse/htdocs/tutorial">
  Options +Indexes

<Directory "/var/cache/gbrowse/images/">
  Require all granted

<Directory "/var/lib/gbrowse/databases">
  Require all granted

<Directory "/usr/lib/cgi-bin/gb2/gbrowse">

  Options ExecCGI
  SetEnv GBROWSE_CONF   "/etc/gbrowse2"

<IfModule mod_fcgid.c>
  Alias /fgb2 "/usr/lib/cgi-bin/gb2/gbrowse"
  <Location /fgb2>
    SetHandler   fcgid-script
  FcgidInitialEnv GBROWSE_CONF /etc/gbrowse2
  # these directives prevent idle/busy timeouts and may need to be
  # adjusted up or down
  FcgidMinProcessesPerClass 6
  FcgidIOTimeout   600
  FcgidBusyTimeout 600


<IfModule mod_fastcgi.c>
  Alias /fgb2 "/usr/lib/cgi-bin/gb2/gbrowse"
  <Location /fgb2>
    SetHandler   fastcgi-script
  # Note: you may need to increase -idle-timeout if file uploads are timing out and returning server
  # errors.
  FastCgiConfig -idle-timeout 600 -maxClassProcesses 20  -initial-env GBROWSE_CONF=/etc/gbrowse2
<IfModule mod_perl.c>
   Alias /mgb2 "/usr/lib/cgi-bin/gb2/gbrowse"

<IfModule mod_perl.c>
<Location /mgb2>
     SetHandler perl-script
     PerlResponseHandler ModPerl::Registry
     PerlOptions +ParseHeaders

My iframe is set in this way:
<iframe src="/gb2/gbrowse/{% if organismId %}organismId{{ organismId }}{% endif %}{% if uniquename %}?uniquename={{ uniquename }}{% else %}{% if name %}?name={{ name }}{% endif %}{% endif %}" style="border: none; margin: 0 auto;" width="100%" height="100%"></iframe>

All this ends up displaying the gbrowse script under gb2 itself rather that the browser itself, any inputs to change this?


Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
Gmod-gbrowse mailing list
[hidden email]