I am currently setting up a server to give our company a test server (2 man operation).
I am trying to achieve the exact same behavior between the test server and the live server but I am running into a very weird issue and cannot seem to find the cause.
The rewrite rule that I am using is:
RewriteRule ^contact index.php?pageid=11
However it gives an Internal server (500) error. When I change the 'contact' to 'constact' everything works, but I want to use 'contact' of course..
I have the same problem with a rule that tries to redirect 'sitemap'.
Does apache have some kind of reserved words when working with multiple vhosts?
index.php?pageid=11 directly works perfectly.
I am running Ubuntu Server 10.10, the server is also the SVN server and test server for 6 other virtual hosts. All of those are working just like they should. Other vhosts are using a similar rewriterule (only an extra trailing slash) and are working. Could the port (85) have anything to do with it?
Output of apache2 -v
Server version: Apache/2.2.16 (Ubuntu) Server built: Nov 18 2010 21:17:29
And output of php -v
PHP 5.3.3-1ubuntu9.3 with Suhosin-Patch (cli) (built: Jan 12 2011 16:08:14) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies