I am trying to set up a distributed web farm using apache2. Before deploying the configuration to my other 3 servers, I wanted to get everything to work on the first one (designated P-WEB-01) at 10.0.2.1. I have multiple sites set up through virtual hosts, and the different domain names are all working properly.
However, my problem is with apache_mod_rewrite, where I'm attempting to set up a url that looks like this : http://example.com/firstvariable/secondvariable/thirdvaraible and have it read by the PHP script (index.php) as http://example.com/index.pp?a=firstvariable&b=secondvariable&c=thirdvariable. The system also has to be set up in a way where the mod_rewrite ignores internal file names and directories, as they are proxied to the external site (for security purposes) through the script.
I had this script running on an IIS7 server for a while, and it worked perfectly fine. Also, I have followed the whole a2enmod mod_rewrite, which outputted success. I enabled AllowOverride All in apache2.conf, and set up the sites .htaccess file in the site's root directory, and had it say:
RewriteEngine on RewriteRule ^index.php$ index.html
which still did nothing.