Hi Simon,
Here is the requested configuration file content:
mod_fastcgi.conf:
LoadModule fastcgi_module modules/mod_fastcgi.so
php.conf:
#
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
#
<IfModule prefork.c>
LoadModule php5_module modules/libphp5.so
</IfModule>
<IfModule worker.c>
LoadModule php5_module modules/libphp5-zts.so
</IfModule>
#
# Cause the PHP interpreter to handle files with a .php extension.
#
AddHandler php5-script .php
AddType text/html .php
#
# Add index.php to the list of files that will be served as directory
# indexes.
#
DirectoryIndex index.php
#
# Uncomment the following line to allow PHP to pretty-print .phps
# files as PHP source code:
#
#AddType application/x-httpd-php-source .phps
welcome.conf:
#
# This configuration file enables the default "Welcome"
# page if there is no default index page present for
# the root URL. To disable the Welcome page, comment
# out all the lines below.
#
<LocationMatch "^/+$">
Options -Indexes
ErrorDocument 403 /error/noindex.html
</LocationMatch>
The content of the httpd.conf is large, therefore I pasted the OMERO section. In case you need more, let me know:
###
# apache config for omero
# this file should be loaded *after* ssl.conf
#
# -D options to control configurations
# OmeroWebClientRedirect - redirect / to /omero/webclient
# OmeroWebAdminRedirect - redirect / to /omero/webadmin
# OmeroForceSSL - redirect all http requests to https
###
### Example SSL stanza for OMERO.web created 2014-02-20 11:53:40.103155
###
# Eliminate overlap warnings with the default ssl vhost
# Requires SNI (
http://wiki.apache.org/httpd/NameBasedSSLVHostsWithSNI) support
# most later versions of mod_ssl and OSes will support it
# if you see "You should not use name-based virtual hosts in conjunction with SSL!!"
# or similar start apache with -D DISABLE_SNI and modify ssl.conf
#<IfDefine !DISABLE_SNI>
# NameVirtualHost *:443
#</IfDefine>
#
## force https/ssl
#<IfDefine OmeroForceSSL>
# RewriteEngine on
# RewriteCond %{HTTPS} !on
# RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L]
#</IfDefine>
#
#<VirtualHost _default_:443>
#
# ErrorLog logs/ssl_error_log
# TransferLog logs/ssl_access_log
# LogLevel warn
#
# SSLEngine on
# SSLProtocol all -SSLv2
# SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
# SSLCertificateFile /etc/pki/tls/certs/server.crt
# SSLCertificateKeyFile /etc/pki/tls/private/server.key
#
# # SSL Protocol Adjustments:
# SetEnvIf User-Agent ".*MSIE.*" # nokeepalive ssl-unclean-shutdown # downgrade-1.0 force-response-1.0
#
# # Per-Server Logging:
# CustomLog logs/ssl_request_log # "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x "%r" %b"
#
#</VirtualHost>
RewriteEngine on
RewriteRule ^/?$ /omero/ [R]
###
### Stanza for OMERO.web created 2014-02-20 11:53:40.103155
###
FastCGIExternalServer "/apps/test/omero/var/omero.fcgi" -host 0.0.0.0:4080
<Directory "/apps/test/omero/var">
Options -Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
<Directory "/apps/test/omero/lib/python/omeroweb/static">
Options -Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
Alias /static /apps/test/omero/lib/python/omeroweb/static
Alias /omero "/apps/test/omero/var/omero.fcgi/"
Thanks,
Andreas