Forum Moderators: phranque

Message Too Old, No Replies

site gone .htaccess file

I did this

         

AjiNIMC

1:48 pm on Oct 22, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi all,

In morning I did this and copied to server using ftp and renamed it as .htaccess , was checking some mod_rewrite stuffs.


RewriteEngine on
RewriteRule ^categoriesid([^.]+).* /categories.php?cat_id=$1
[T=application/x-httpd-php]

At that time it was working fine and after few hours when I check my site, it is not opening. So I deleted .htaccess file (still is not opening) , does it take time to reflect the effects or Did I do something wrong?

You suggestion and help will be highly appreciated.

Thanks
AjiNIMC

jdMorgan

2:11 pm on Oct 22, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You are probably seeing a copy of your site cached locally by your browser.

Flush your browser cache after any change to httpd.conf or .htaccess that might affect access control.

A possible problem with your code is that RewriteRule and its parameters should all be on one line. What you have posted shows three lines.

Jim

AjiNIMC

2:55 pm on Oct 22, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks Jim,

It was locally stored cache, I cleaned it and worked .. thanks a lot.

Regards
AjiNIMC