surabaya web designer
cheap web promotion indonesia
design graphics and online shopping cart
     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...

ErrorDocument 404 /404.html
ErrorDocument 500 /500.html


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
AddHandler server-parsed .shtml
Options Indexes FollowSymLinks Includes


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

AuthType directive for Apache

AuthUserFile directive

CoreDumpDirectory directive

Confirm box with 2 location

About Pico at Linux

Redirecting YourSite.com to www.YourSite.com

eSankey

ClearModuleList directive

Sendmail using PHP

Redirect with htaccess