Welcome Guest, Not a member yet? Register   Sign In
Why my .htacces doesn't work?
#2

[eluser]InsiteFX[/eluser]
You can try this one;
Code:
# Un-Comment to Generate a server 500 error to make sure .htaccess file is working!

AddHandler application/x-httpd-php53 .php
php_value default_charset utf-8

Options FollowSymLinks
DirectoryIndex index.php

RewriteEngine On

# Checks to see if the user is attempting to access a valid file,
# such as an image or css document, if this isn't true it sends the
# request to index.php
# Change for your own resources!
#
RewriteCond $1 !^(index\.php|assets|css|js|images|img|robots\.txt|favicon\.ico)
RewriteRule ^(.*)$ index.php/$1 [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]


Messages In This Thread
Why my .htacces doesn't work? - by El Forum - 05-15-2012, 06:46 PM
Why my .htacces doesn't work? - by El Forum - 05-15-2012, 07:58 PM



Theme © iAndrew 2016 - Forum software by © MyBB