On 31/07/07, till <[EMAIL PROTECTED]> wrote:
> On 7/31/07, altaf.samnani <[EMAIL PROTECTED]> wrote:
> >
> > if i add .htaccess in my-zend(my-zend/.htaccess), folder becomes invisible 
> > on
> > server and says plz contact admin wats dis man.....
> >
> > in .htaccess i have written
> >  RewriteEngine on
> > RewriteRule .* index.php
> > php_flag magic_quotes_gpc off
> > php_flag register_globals off
> >                plz explain dis......
>
> The directives do not look too wrong. But please consult your error_log first.

He's redirecting everything, including any subdirectories to index.php

Here's a snippet of my .htaccess:

RewriteEngine on
RewriteBase /
# if there's already a file, or sub-dir with the name, don't rewrite
to index.php
RewriteCond %{REQUEST_FILENAME}       !-f
RewriteCond %{REQUEST_FILENAME}       !-d
RewriteRule .* index.php

Alister

Reply via email to