Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: .htaccess.txt

  1. #1
    New Coder
    Join Date
    Jan 2018
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool .htaccess.txt

    Dear sir,

    What is the code for .htaccess.txt fiel.

    Thank you

    Wilfred

  2. #2
    Administrator VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    11,411
    Thanks
    7
    Thanked 1,377 Times in 1,346 Posts
    I tried really hard to guess what you’re asking but I came to the conclusion that your question doesn’t make any sense. Please tell us what you want to achieve and then we’ll see what’s the right approach.

  3. #3
    New Coder
    Join Date
    Jan 2018
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Dear Stephan,

    Sorry about the missing part of the question.

    It is about .htaccess.txt content'

    The following is the content of my .htaccess.txt file.

    <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text/xml
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE application/xhtml+xml
    AddOutputFilterByType DEFLATE application/rss+xml
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE application/x-javascript
    </ifModule>

    Is this content correct?

    The last tag
    </ifModule> is shown in red in my HTML editor.

    thank you.

    Wilfred

  4. #4
    Administrator VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    11,411
    Thanks
    7
    Thanked 1,377 Times in 1,346 Posts
    Quote Originally Posted by neil12sc View Post
    The last tag
    </ifModule> is shown in red in my HTML editor.
    That is probably because the tag name must start with a capital letter (see https://httpd.apache.org/docs/2.4/en....html#ifmodule).

  5. #5
    New Coder
    Join Date
    Jan 2018
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Dear Stephan,

    Thank you very much.

    Wilfred


 

Tags for this Thread

Posting Permissions

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