• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Not a bug name a thread after a php file name

tenants

Well-known member
#7
Nice find Adam, does it have to be the exact name and is it Windows / Linux specific ?.

It's going to be fairly rare that someone will name a thread like that, but needs fixing
 

CTXMedia

Formerly CyclingTribe
#8
Just tested it on my dev install too and not happening there.

I don't have admin.php .htaccess protected though - would that make a difference? Anyone able to test whether .htaccess makes a difference or not?
 

MattW

Well-known member
#10
Tested on my live site with .htaccess blocking all

Code:
<Files "admin.php">
Order Deny,Allow
Deny from all
</Files>
and also requesting valid user

Code:
AuthName "If you aren't Matt...."
AuthType Basic
AuthUserFile /home/z22se/.htpasswd
<FilesMatch "admin.php">
require valid-user
</FilesMatch>
Can't reproduce.