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 Пользователи нашли это полезным
Помог ли вам данный ответ?

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 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...

508 Resource Limit is Reached

If your website is on a cPanel hosting account, you may have noticed the following error message:...