ImperialCollegeLondon/EpiCollectplus — Issue #1: Bad Request http error after initial setup
Author: chris-sleep
Created: 2012-02-24 16:15:09+00:00
State: open

I've pulled across and dropped the epicollect source into the docroot for a vhost here @ NHM but when I browse to the page, I get Bad Request error. Nothing registers in epicollect-error.log, only hits in access-log.

telnet directly offers up:

telnet epicollect.nhm.ac.uk 80

Connected to web-aegir.nhm.ac.uk.
Escape character is '^]'.
GET http://epicollect.nhm.ac.uk/index.html

400 Bad Request

Bad Request

Your browser sent a request that this server could not understand.

host is ubuntu linux/apache serving a few vhosts, one vhost dedicated to epicollect.

vhost configuration is as follows:

```

ServerAdmin ITSupport@................
DocumentRoot /var/www/vhosts/epicollect

Options FollowSymLinks
AllowOverride None

Options FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all

ErrorLog ${APACHE_LOG_DIR}/epicollect-error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog ${APACHE_LOG_DIR}/epicollect-access.log combined

RewriteEngine on
RewriteRule .* main.php

'''

If I move the Rewrite instructions inside the Directory block, I get a redirect loop
I'm sure I've missed something obvious in the setup, can you point me in the right direction?