Mod_rewrite should work, but it doesn't

New to mod_rewrite? This is a good place to start.

Mod_rewrite should work, but it doesn't

Postby aneczka » Thu Jun 25, 2009 1:17 pm

Hello,

my host supports mod_rewrite and I renamed the htaccess.txt file into .htaccess and turned the option on in global configuration, but then I get the internal 500 error.
Not even the normal SEF option works :/ The page which opens when SEF s enabled is a strongly misconfigured fronpage.

I use Joomla 1.5 with PHP5.

Any help with this issue much appreciated, thanks in advance,

Anna
aneczka
 
Posts: 2
Joined: Thu Jun 25, 2009 1:07 pm

Postby richardk » Thu Jun 25, 2009 1:21 pm

Try just
Code: Select all
RewriteEngine On

Do you get an error?
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am

Postby aneczka » Thu Jun 25, 2009 1:29 pm

Hi,

RewriteEngine was on all the time :(
aneczka
 
Posts: 2
Joined: Thu Jun 25, 2009 1:07 pm

Postby richardk » Fri Jun 26, 2009 8:45 am

I wasn't clear. What i want you to do is put
Code: Select all
RewriteEngine On

in your .htaccess file with nothing else. If you get a 500 error, the problem is that you don't have mod_rewrite/aren't allowed to use it. If you do not get an error the problem is something else.
richardk
 
Posts: 8800
Joined: Wed Dec 21, 2005 7:50 am


Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 96 guests

cron