Htaccess File


<IfModule mod_rewrite.c>
  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
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  #This last condition enables access to the images and css folders, and the robots.txt file
  RewriteCond $1 !^(index.php|public|images|robots.txt|css)
  RewriteRule ^(.*)$ /sistac/index.php/$1 [L]

        #Mudando o tamanho do aquivo de upload
        php_value upload_max_filesize 20M

<IfModule !mod_rewrite.c>
    # If we don't have mod_rewrite installed, all 404's
    # can be sent to index.php, and everything works as normal.
    # Submitted by: ElliotHaughin

    ErrorDocument 404 /sistac/index.php
Exit mobile version