sifuhall
Active member
Not sure if this works on all systems, but for me the first line:
Should be:
<Files admin.php>
Should be:
<FilesMatch admin.php>
<Files admin.php>
<FilesMatch admin.php>
You have a space in the AuthName, I think only alphanumeric characters are allowed?This still doesn't work for me...
Code:AuthName "8wayRun Administration"
<Files admin.php>
Order deny,allow
Deny from all
AuthName "htaccess password prompt"
AuthUserFile /your/path/.htpasswd
AuthType Basic
Require valid-user
Allow from 172.17.10.1
Satisfy Any
</Files>
try this oneThis still doesn't work for me...
I get the following error: A controller for the route path admin.php was not found.Code:<Files admin.php> AuthType Basic AuthName "8wayRun Administration" AuthUserFile "*********" Require valid-user </Files>
Thats for ip protect, not password protect.
ip protection is safer then password! no bruteforce attacksThats for ip protect, not password protect.
i tired that one too but then i was blocking the whole website from other IPDon't use the files tags.
Code:Order Deny,Allow Deny from all Allow from 127.0.0.1
Also remember to remove the file while going to update xenForo (in the case of you getting any 403 Forbidden permission error)!Got it now, Thanks Brogan for your assistance, i din't create separate .htaccess in install directory. now all working fine
After the files have been uploaded, when it tells you to go to the install directory to finish the upgrade and if the htaccess file is still there it'll give you a 403 permission error. Sorry, maybe I should have made it more clear that I was speaking about the install directory only!Why did you have to remove it?
Mine has been in place for multiple upgrades with no problems.
We use essential cookies to make this site work, and optional cookies to enhance your experience.