omero web not working on Apache
Posted: Thu Nov 14, 2013 6:27 pm
Can any one help me on troubleshooting this? Or is anyone aware if there are any issues with running omero and omero web server in Centos6/RHEL6?
While browsing omero.****.edu, I am getting :
NOT Found: The requested URL /omero/ was not found on this server.
Apache/2.2.15 (Red Hat) Server at omero.****.edu Port 80
I was able to start omero web server in development mode but NOT in through apache with fastcgi.
I got the mod_fastcgi installed from RPMforge as it is not available in RHN/EPEL.
Here are the configs I have:
[root@omero conf.d]# httpd -M | grep cgi
Syntax OK
cgi_module (shared)
fastcgi_module (shared)
[root@omero conf.d]# service httpd status
httpd (pid 4054) is running...
Here is my vhsot conf:
<VirtualHost *:80>
ServerName omero.****.edu
ServerAlias omero
RewriteEngine on
RewriteRule ^/?$ /omero/ [R]
FastCGIExternalServer "/omero/OMERO.server-4.4.9-ice35-b98/var/omero.fcgi" -host 0.0.0.0:4080
<Directory "/omero/OMERO.server-4.4.9-ice35-b98/var">
Options -Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
<Directory "/omero/OMERO.server-4.4.9-ice35-b98/lib/python/omeroweb/static">
Options -Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
Alias /static /omero/OMERO.server-4.4.9-ice35-b98/lib/python/omeroweb/static
Alias /omero "/omero/OMERO.server-4.4.9-ice35-b98/var/omero.fcgi/"
</VirtualHost>
[omero@omero log]$ omero config get
omero.data.dir=/omero/omero.data.dir
omero.db.name=******
omero.db.pass=********
omero.db.user=******
omero.web.application_host=http://omero.*****.edu:80
[omero@omero log]$ netstat -na | grep 4080
tcp 0 0 0.0.0.0:4080 0.0.0.0:* LISTEN
However, If I start omero as development (omero config set omero.web.application_server development), then I could get login page using http://localhost:4080
I guess I have some misconfiguration in apache that it is not able to communicate with fastcgiexternal server ? Appreeciate any help.
Thanks.
While browsing omero.****.edu, I am getting :
NOT Found: The requested URL /omero/ was not found on this server.
Apache/2.2.15 (Red Hat) Server at omero.****.edu Port 80
I was able to start omero web server in development mode but NOT in through apache with fastcgi.
I got the mod_fastcgi installed from RPMforge as it is not available in RHN/EPEL.
Here are the configs I have:
[root@omero conf.d]# httpd -M | grep cgi
Syntax OK
cgi_module (shared)
fastcgi_module (shared)
[root@omero conf.d]# service httpd status
httpd (pid 4054) is running...
Here is my vhsot conf:
<VirtualHost *:80>
ServerName omero.****.edu
ServerAlias omero
RewriteEngine on
RewriteRule ^/?$ /omero/ [R]
FastCGIExternalServer "/omero/OMERO.server-4.4.9-ice35-b98/var/omero.fcgi" -host 0.0.0.0:4080
<Directory "/omero/OMERO.server-4.4.9-ice35-b98/var">
Options -Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
<Directory "/omero/OMERO.server-4.4.9-ice35-b98/lib/python/omeroweb/static">
Options -Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
Alias /static /omero/OMERO.server-4.4.9-ice35-b98/lib/python/omeroweb/static
Alias /omero "/omero/OMERO.server-4.4.9-ice35-b98/var/omero.fcgi/"
</VirtualHost>
[omero@omero log]$ omero config get
omero.data.dir=/omero/omero.data.dir
omero.db.name=******
omero.db.pass=********
omero.db.user=******
omero.web.application_host=http://omero.*****.edu:80
[omero@omero log]$ netstat -na | grep 4080
tcp 0 0 0.0.0.0:4080 0.0.0.0:* LISTEN
However, If I start omero as development (omero config set omero.web.application_server development), then I could get login page using http://localhost:4080
I guess I have some misconfiguration in apache that it is not able to communicate with fastcgiexternal server ? Appreeciate any help.
Thanks.