Okay, so I think I found out what to do.
I made a virtual host with something I found on the internet
[code]
<VirtualHost Localhost:80>
DocumentRoot "PHYSICAL_PATH_TO_ROOT_FOLDER"
ServerName COMPUTER_NAME
RewriteEngine off
<Location />
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !\.(pdf|php|js|ico|txt|gif|jpg|png|css|rss|zip|tar \.gz)$ /index.php
</Location>
</VirtualHost>
[code]
after I did this it rewrote the URL's correctly and gave the correct errors.
I don't know if this might help somebody or if it's even clear at all
Last edited by Filip : 04-01-2008 at 11:57 AM.
Reason: added code tags
|