CUSTOM ERROR PAGE
The most common errors are 404 (Not Found) and 500 (Internal Server Error). Design your custom Web pages for these errors (you aren't limited to these errors, you can create an error page for each and every error). Add the following commands to your .htaccess file...
You can create your own 404.html and 500.html or you can change your own file.
If you want to use SSI, but can't do so with your current Web host, you can change that with .htaccess file. The following lines tell the server that any file named .shtml should be parsed for server side commands...
AddType text/html .shtml
If you don't care about the performance hit of having all .html files parsed for SSI, change the second line to...
AddHandler server-parsed .shtml .html
If you're going to keep SSI pages with the extension of .shtml, and you want to use SSI on your index pages, you need to add the following line to your .htaccess file...
DirectoryIndex index.shtml index.html
This allows a page named index.shtml to be your default page, and if that isn't found, index.html is loaded.
Redirect with htaccess
Count how many days
htaccess at Windows
AddDefaultCharset directive for Apache
Sendmail using PHP
AcceptFilter for Apache
AuthType directive for Apache
|© 2001 - 2018 Tatamedia Solusindo ||