Pretty url doenst work very well

Permalink
Hello i have installed a website locally on my pc

When i visited the page through the linkhttp://localhost/Website/index.php/contact/... i get my contact page,

but when i visit the link through my navigation bar he is redirected byhttp://localhost/Website/contact/... the page won''t show up.

I have turned on pretty url's i have also added this line in site.php
define('URL_REWRITING_ALL', true);


and put this in my .htacces file.
# -- concrete5 urls start --
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /Website/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]
</IfModule>
# -- concrete5 urls end --


What am i doing wrong ?

 
citytech2 replied on at Permalink Best Answer Reply
citytech2
The .htaccess should be like:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /website/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>


Citytech
Redzor replied on at Permalink Reply
Hello,

Thanks for the quick respons, But it won't help me.
The situation is now as following

Localhost/ ( root of website )

i get the errors
admin login gives the error : The requested URL /login/do_login/ was not found on this server.

If i open my localhost i get my index page at

The browser giveshttp://localhost/
when i press a navigation button for example tohttp://localhost/Contact/ it gives the same error as above.

When i typ in the browserhttp://localhost/index.php/Contact/...
It shows the page.

If i alter the .htacces in the root nothing changed i cleared my cache.
Redzor replied on at Permalink Reply
Sorry,

i was stupid, i havent had the rewrite-module not turned on in the apache server.

stupid, thanks for the fast reply