XF 2 Tip How to secure .htaccess?

xauUUL

I got less but I got best!
Collaborate
Registered
Joined
Jun 22, 2021
Messages
118
Points
43

Reputation:

Create a ''.htaccess '' file in the library folder in the FTP directory where you installed XenForo and add the following codes;

<Files ~ "^.*\.(php|cgi|pl|php3|php4|php5|php6|phtml|shtml) ">
Order allow,deny
Deny from all
</Files>
<Files .htaccess>
order allow,deny
deny from all
</Files>
 

thomsa

Moderator
Staff member
Moderator
S.V.I.P Member
Collaborate
Registered
Joined
Jun 22, 2019
Messages
1,067
Points
173

Reputation:

Create a ''.htaccess '' file in the library folder in the FTP directory where you installed XenForo and add the following codes;
xauUUL2.x not use library folder.
 

UNKNOWN PH

RUSH ARMY
Registered
Joined
Jun 9, 2019
Messages
607
Points
73

Reputation:

Create a ''.htaccess '' file in the library folder in the FTP directory where you installed XenForo and add the following codes;
xauUULcan it protect the site especially with ddos?
 
Top