


| category | articles | ||||
|
Adsense Adwords Article Blog CMS CSS Style Datacenter Design Graphics Flash Animation Internet Radio Messenger Programming Provider Search Engine Security Security Web SEF SEO Software Software Web |
htaccess Useful 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. ENABLING SSI 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. OTHER ARTICLES AcceptMutex directive for Apache AccessFileName directive for Apache AllowOverride directive for Apache |
||||
| © 2001 - 2008 Tatamedia Solusindo | Link Partner: akomodasi.net, indoproduk.com, satria.com, hotelsaufbali.com, gptkk.org, apexpacific.com | |||||