i have a simple mod_rewrite rule which allow me to re-direct any requests that are not actual files or directories to the index.php file
Options +SymLink
Solved i just added the folder to the .htaccess and remove Options +SymLinksIfOwnerMatch
RewriteBase /test/
A rewrite rule can be enabled through in httpd.conf or in .htaccess file.
Instructions on how to enable .htaccess mod_rewrite in wamp/xampp
Step 1: Go to the directory of installation :
C:\xampp>\apache\conf
or C:\wamp\bin\apache\Apache2.2.11\conf
Step 2: Open httpd.conf in a text editor
Step 3: Find the line which contains
#LoadModule rewrite_module modules/mod_rewrite.so
Step 4: Remove (#) from start of line to make module enable
Step 5: Now Change all occurrences of AllowOverride None
and replace to AllowOverride All
Step 6: Now restart wamp/xampp server
Below are the instructions on how to enable .htaccess mod_rewrite in xampp.
Open and edit C:\xampp\apache\conf\httpd.conf in a text editor
Find the line which contains
#LoadModule rewrite_module modules/mod_rewrite.so
and (uncomment) change to
LoadModule rewrite_module modules/mod_rewrite.so
Find all occurrences of
AllowOverride None
and change to
AllowOverride All
Restart xampp
That’s it you should be good to go.
Help: http://www.leonardaustin.com/blog/technical/enable-mod_rewrite-in-xampp/