Log in

View Full Version : I do not no what is the error in this .htaccess


drnisre
Jun 8, 2007, 02:11 AM
Hi there
this is my first post here I have a new website I have played with my htaccess file but I have no backup for it and now it produce internal server Error I do not know what to do this the code of it please any help will be appreciated

#php_flag error_reporting 1
php_flag display_errors 0
RewriteEngine On
RewriteBase /
RewriteRule ^([0-9]+)/(.*)?$ /index.php?module=item&action=show_item_decr&item_id=$1

Thank you all...

BenReilly
Jun 8, 2007, 07:29 PM
Look at this site it has all the commands in your htaccess file described Apache module mod_rewrite (http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html)
If you delete the htaccess file everything should return to normal (note to make a backup before you do it)
Is there anything in particular, why you had to change the htaccess in the first place? What are you trying to accomplish?

drnisre
Jun 9, 2007, 05:01 AM
I have looked at this site but I didn't understand any this of this technical terms so I need a direct instructions please as I am not a technical hero.the method here is as the what is called permalinks in the wordpress blog but on other CMS.

braydond
Jun 14, 2007, 06:30 AM
Is it a Joomla/Mambo website? You'll need the .htacces if you're using SEO friendly pages... Let me know and I can help you correct it.