Apache2 CentOS 6
I am trying to work out how to make an Apache VHost send all of its requests to an index page as a kind of bootstrap. I do not wish to alter the look of URL, however all requests should call the same index.php file..
http://url.com/one http://url.com/ http://url.com/one/two/three
The above examples should all land on the index page..
Thanks for any help.. My brain is hurting from this..
EDIT: I seem to get somewhere until i surf to an existing directory.. At this point, the rewrite rules dont seem to work..
<VirtualHost *:80> ServerName project_boot DocumentRoot /var/www/html/project_boot <Directory "/var/www/html/project_boot"> AllowOverride None RewriteEngine On RewriteRule ^/.*$ /index.php [QSA,L] </Directory> </VirtualHost>