Tomtom
12-30-2005, 12:51 AM
My provider updated from php 4.3 to php 5.0.5, now
Mod-Rewrite doesn't work anymore. When I turn it on and click on a category, the address changes the way it has to (www.mydomain.com/category) but I get the front page again without the css file included, since it changes all the links in the page to the chosen directory, also for the include files.
The link to the css file then looks like this:
http://www.mydomain/Categorie_i_chose/cssfile.css
Instead of
http://www.mydomain/cssfile.css
My htacces file looks like this
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php [QSA,L]
This worked fine so far.
Any ideas???
Mod-Rewrite doesn't work anymore. When I turn it on and click on a category, the address changes the way it has to (www.mydomain.com/category) but I get the front page again without the css file included, since it changes all the links in the page to the chosen directory, also for the include files.
The link to the css file then looks like this:
http://www.mydomain/Categorie_i_chose/cssfile.css
Instead of
http://www.mydomain/cssfile.css
My htacces file looks like this
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php [QSA,L]
This worked fine so far.
Any ideas???