Results 1 to 6 of 6

Thread: Typolight 2.7.5 comes with the file _htacces ?

  1. #1

    Default Typolight 2.7.5 comes with the file _htacces ?

    Greetings,

    I downloaded the latest version of TYPOlight but when you unzip the file in MAC can not find the file to resolve the clean url _htacces .

    The default file comes _htacces?
    Contao is the best CMS there is. Support your community in Spanish
    http://www.contaoespanol.com
    I do not speak English but I try to help with a translator

  2. #2
    Core developer
    Official Contao Team
    leo's Avatar
    Join Date
    06-04-09.
    Location
    Wuppertal, Germany
    Posts
    201

    Default Re: Typolight 2.7.5 comes with the file _htacces ?

    You have to use the Terminal or download the .tag.gz archive. Unarchiver.app does not handle .zip files correctly.

  3. #3

    Default Re: Typolight 2.7.5 comes with the file _htacces ?

    Thanks Leo,

    I'm new to Mac and I know the system well. I will download the
    file that tells me.

    Thanks
    Contao is the best CMS there is. Support your community in Spanish
    http://www.contaoespanol.com
    I do not speak English but I try to help with a translator

  4. #4

    Default Re: Typolight 2.7.5 comes with the file _htacces ?

    Quote Originally Posted by leo
    You have to use the Terminal or download the .tag.gz archive. Unarchiver.app does not handle .zip files correctly.
    Hi Leo,

    I downloaded the archive .tag.gz but can not see the file ._htacces

    Someone can please put the entire contents of the file ._htaccess here for me to create a file directly to server?

    I appreciate your help

    Thanks

    Note: Until now the only problem I had with Mac Os
    Contao is the best CMS there is. Support your community in Spanish
    http://www.contaoespanol.com
    I do not speak English but I try to help with a translator

  5. #5
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: Typolight 2.7.5 comes with the file _htacces ?

    Code:
    ##
    # Rewrite base
    ##
    RewriteEngine On
    RewriteBase /
    
    ##
    # Block malicious requests
    ##
    RewriteCond %{REQUEST_URI} (ftp|https?):|/etc/ [NC,OR]
    RewriteCond %{QUERY_STRING} (ftp|https?):|/etc/ [NC]
    RewriteRule .* - [F,L]
    
    ##
    # Compress .js and .css files
    ##
    AddEncoding gzip .gz
    <FilesMatch "\.js\.gz$">
      AddType "text/javascript" .gz
    </FilesMatch>
    <FilesMatch "\.css\.gz$">
      AddType "text/css" .gz
    </FilesMatch>
    RewriteCond %{HTTP:Accept-encoding} gzip
    RewriteCond %{REQUEST_FILENAME} \.(js|css)$
    RewriteCond %{REQUEST_FILENAME}.gz -f
    RewriteRule ^(.*)$ $1.gz [QSA,L]
    
    ##
    # Rewrite TYPOlight URLs
    ##
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule .*\.html$ index.php [L]

  6. #6

    Default Re: Typolight 2.7.5 comes with the file _htacces ?

    Very thanks ramjet
    Contao is the best CMS there is. Support your community in Spanish
    http://www.contaoespanol.com
    I do not speak English but I try to help with a translator

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •