Htaccess File

WebLions/socserv/master/.htaccess

GET, REQUEST_FILENAME, REQUEST_URI, THE_REQUEST
AddDefaultCharset Off
<IfModule dir_module>
    DirectoryIndex index.php
</IfModule>
<IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteBase /

        # Removes index.php from ExpressionEngine URLs
        RewriteCond %{THE_REQUEST} ^GET.*index.php [NC]
        RewriteCond %{REQUEST_URI} !/system/.* [NC]
        RewriteRule (.*?)index.php/*(.*) /$1$2 [R=301,NE,L]

        # Directs all EE web requests through the site index file
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^(.*)$ /index.php?/$1 [L]
    RewriteRule ^/post/(.*)$ /index.php/post/view/$1 [L]
</IfModule>
Exit mobile version