[Zen Cart] .htacces automatically re-generated?

Magic SEO URLs for Zen Cart.
stoertebecker
Posts: 2
Joined: Thu Mar 01, 2012 5:27 am

[Zen Cart] .htacces automatically re-generated?

Postby stoertebecker » Mon Mar 05, 2012 2:26 am

:roll:

Hi Guys! ,)

I got a problem, hope you can help me:

I tried to add a rule for a 404-page in the .htacces file.
Now it seems that the file changes itself everytime i add this rule. :-S

The redirection works extactly 1 time, then the file is re-written without my rule and the "not found" screen shows instead of my 404-page....

When i upload the changed .htacces again, my 404-page appears , again just 1 time.....

Any idea how to fix this?

Thank you guys!

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [Zen Cart] .htacces automatically re-generated?

Postby inveo » Mon Mar 05, 2012 8:28 am

You can protect your changes in .htaccess file by a) setting chmod 666 to the .htaccess file or b) creating a file named "readonly-htaccess" within same directory.

stoertebecker
Posts: 2
Joined: Thu Mar 01, 2012 5:27 am

Re: [Zen Cart] .htacces automatically re-generated?

Postby stoertebecker » Thu Mar 08, 2012 12:54 am

I set CHMOD to 666 and it works fine!

Thank you!!! :)