how to make htacess work

3 posts / 0 new
Last post
#1 Thu, 04/17/2014 - 10:16
xcite247

how to make htacess work

pls help htacess not working Options +FollowSymLinks RewriteEngine on

RewriteRule ^showthread-([0-9])-([0-9])-(.+?).htm$ index.php?forumID=$1&ID=$2 [NC,L]

RewriteRule ^showthread-([0-9])-([0-9])--([0-9]*).htm$ index.php?forumID=$1&ID=$2&start=$3 [NC,L]

RewriteRule ^forumdisplay-(.+?)-([0-9]*).htm$ index.php?forumID=$2 [NC,L]

RewriteRule ^forumdisplay-([0-9])--([0-9]).htm$ index.php?forumID=$1&start=$2 [NC,L]

RewriteRule ^showprofile-([0-9]*)-(.+?).htm$ profile.php?userID=$1 [NC,L]

RewriteRule ^member/(.+?).htm$ profile_redirect.php?username=$1 [NC,L]

Sat, 04/19/2014 - 11:14
VirtualNoob

Hey there

Virtualmin automatically protects you from the +FollowSymLinks option which causes vulnerabilities. If you check your apache logs there will most likely be an entry explaining this.

To fix it, change +FollowSymLinks to +SymLinksIfOwnerMatch and restart apache.

If you are having other issues, then please post back with more details of what is "not working".

Hope that helps

Sun, 04/20/2014 - 13:15
xcite247

http://adda4m.com/forumdisplay-WWE-Section-65.htm Options +SymLinksIfOwnerMatch

RewriteEngine on

RewriteRule ^showthread-([0-9])-([0-9])-(.+?).htm$ index.php?forumID=$1&ID=$2 [NC,L]

RewriteRule ^showthread-([0-9])-([0-9])--([0-9]*).htm$ index.php?forumID=$1&ID=$2&start=$3 [NC,L]

RewriteRule ^forumdisplay-(.+?)-([0-9]*).htm$ index.php?forumID=$2 [NC,L]

RewriteRule ^forumdisplay-([0-9])--([0-9]).htm$ index.php?forumID=$1&start=$2 [NC,L]

RewriteRule ^showprofile-([0-9]*)-(.+?).htm$ profile.php?userID=$1 [NC,L]

RewriteRule ^member/(.+?).htm$ profile_redirect.php?username=$1 [NC,L] done still geting Not Found The requested URL /forumdisplay-WWE-Section-65.htm was not found on this server. please some one help

Topic locked