tmwebseo/mymailmate/master/webroot/.htaccess - Htaccess File

tmwebseo/mymailmate/master/webroot/.htaccess

<IfModule mod_rewrite.c>
    # appRain help to produce Friendly URLs and build a strong
    # security layer via .htaccess file. You must serve web
    # pages via Apache with mod_rewrite for this functionality.
    RewriteEngine On

    # Rewrite www.domain.com -> domain.com -- used with SEO Strict URLs plugin
    # RewriteCond %{HTTP_HOST} .
    # RewriteCond %{HTTP_HOST} !^example-domain-please-change.com [NC]
    # RewriteRule (.*) http://example-domain-please-change.com/$1 [R=301,L]
    #

    # Rewrite secure requests properly to prevent SSL cert warnings, e.g. prevent
    # https://www.domain.com when your cert only allows https://secure.domain.com
    # RewriteCond %{SERVER_PORT} !^443
    # RewriteRule (.*) https://example-domain-please-change.com.com/$1 [R=301,L]

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

    # If your server is not already configured as such, the following directive
    # should be uncommented in order to set PHP's option to OFF.
    # This closes a major security hole that is abused by most XSS (cross-site
    # scripting) attacks. For more information: http://php.net
    #
    #
    # IF REGISTER_GLOBALS DIRECTIVE CAUSES 500 INTERNAL SERVER ERRORS :

    # php_flag register_globals Off
    # php_flag magic_quotes_gpc Off

    # For servers that support output compression, you should pick up a bit of
    # speed by un-commenting the following lines.

    # php_flag zlib.output_compression On
    # php_value zlib.output_compression_level 5
</IfModule>

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME, SERVER_PORT

Comments

Apache