I have a `.htaccess` file that wont find some `php` files but will find others. Example, 

> 
> `RewriteRule ^test$ test.php`
> 
> 
> 

will give a `404 not found` but 

> 
> `RewriteRule ^custom$ test.php`
> 
> 
> 

will work.

Its the same for a rule that will add .php to the end of the URL. Any ideas?

Full file

```
RewriteEngine On
RewriteRule ^test$ test.php #doesn't work
RewriteRule ^custom$ test.php #works

```

full directory(ls -a)

```
.  ..  .htaccess  index.html  test.php

```

Thanks.