Online htaccess File Generator



Instructions

Fill the options and push "generate" button in order to get your .htaccess file.
Then copy and paste the content into your .htaccess file.
Remember, this file must be in the root of your site.


Public access options

Example: domain.com (don't use www or http)

Config website


Example: index.php index.html (default is index.html)
Example: UTF-8
Example: .avi .pdf .mp4
Example: 2147483647 (2GB)
Example: webmaster@domain.com

Performance


Example: 29030400

Custom errors pages

Example: error404.html
Example: error500.html

Security


Example: .php .jsp .cgi
Example: get|post|put
Example: https://mydomain.com/mylogo.png




Credits: based on Free htaccess generator by Emirodgar

  • apache, apache directives, web server
  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

View Server PHP Environment with phpinfo.php

The phpinfo() function outputs a huge amount of information about the system you're using, such...

How to Change Root Password Using SSH

This article explains the method of changing the root password on a Linux Server using SSH....

How to Create Sudo User on CentOS

This article provides step-by-step setup guide for adding Sudo user to CentOS system. The sudo...

How to Use Sudo

This article provides a guide to using a Sudo user on CentOS server. From the command line,...

Set Server Time Zones with Timedatectl

This article provides a guide to setting the server time and server time zone settings using...