Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2016-07-17 00:36:53

piru
Member
Registered: 2016-07-15
Posts: 8

Simplest way for MOD_REWRITE

I personaly wont use this, but it might be useful for some fo you guys.


a2enmod rewrite
nano /var/www/.htaccess

RewriteEngine On
RewriteRule ^frm/?$
viewforum.php [NC,L]
RewriteRule ^tpc/?$
viewtopic.php [NC,L]
RewriteRule ^u/?$
profile.php [NC, L]
(Repeat for every file you want to rewrite)

Ctrl+x
Y
Enter

-------
This should work, as far as I know(remember). I have experience with settuping and managing apache webserver, but i never really needed .htaccess that much. Someone may try this, fix if I made some errors, and also add all fluxbb's files in owewrite rule

Last edited by piru (2016-07-17 00:37:40)

Offline

Board footer

Powered by FluxBB