Hey everyone,
Since every time when I needed some help with Rewrites I found some great help here…
So, here is what I have:
RewriteEngine On
# redirect all non-www traffic
RewriteCond %{HTTP_HOST} ^wowjuju\\.com$
#Repcalc rule
RewriteRule ^repcalc/?$ index.php?app=ccs&module=pages§ion=pages&page=repcalc [NC,L]
#Others
Options -MultiViews
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
#Stop the access here
<Files conf_global.php>
Order allow,deny
Deny from all
</Files>
The Problem:
The first RewriteRule is not working. If i move it after the second RewriteRule it works only that and everything else gives me 404 errors.
I’m pretty sure I have problems with the flags but I couldn’t figure it out
Thanks everyone in advance for your help!