• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

.htaccess

Debian

Member
Joined
Aug 8, 2010
Messages
194
Reaction score
6
When ban to implementing in the modern acc the .htaccess to remove the damned index.php in the URLS and to increase the safety of modern acc

Here I leave a piece of code for if someone is motivated to proving it:
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]

This does that all the requests one does them to index.php
and And I could add him much dwells codes

Code:
RewriteCond $1 !\.(css|js|png|jpg|gif|zip|gz|htc)$

I hope that they comment:)
 
We won't require rewrite rules (Got to have them for lighttpd, nginx etc too). But good initiative.
 
Back
Top