Welcome To Snipplr


Everyone's Recent Bash Snippets Tagged htaccess



« Prev 1 Next »
  1. FAV

    Prevent Access to a Specific File/s in .htaccess

    This example shows you how to restrict to a specific file or multiple files. Add the following code block and edit the file name/s according to yuor needs.
    Bash 5 views posted 2 years ago by apphp-snippets
  2. FAV

    Force www./no-www. in .htaccess

    This example shows you how to force www. or no-www. using .htaccess file.
    Bash 5 views posted 2 years ago by apphp-snippets
  3. FAV

    Error Logging in .htaccess

    This example shows you how to log errors to a file, and prevent showing them to the user. Make sure that the file exists and you're able to write to it.
    Bash 5 views posted 5 years ago by apphp-snippets
  4. FAV

    Show Hidden Files in Mac Finder

    Open up your terminal and type in the following commands to show hidden files (such as a .htaccess file).
    Bash 6 views posted 8 years ago by BFTrick
  5. FAV

    .htaccess domain redirects

    Bash 4 views posted 8 years ago by beneberle
  6. FAV

    block proxy servers by htaccess

    Bash 2 views posted 8 years ago by ariunbolor
  7. FAV

    Compress all your web content with Gzip via the .htaccess file.

    Bash 1 views posted 8 years ago by trusktr
  8. FAV

    Force download with .htaccess

    For expression engine, I placed with with the main set of .htaccess rules in the root
    Bash saved by 2 people 0 views posted 11 years ago by joeymarchy
  9. FAV

    Password Protect Folder / Directory with htaccess and htpasswd on Apache and Linux / Unix

    Good info here too: http://www.ilisys.com.au/support/linux-password-protect/
    Bash saved by 8 people 7 views posted 12 years ago by jonhenshaw
« Prev 1 Next »