Fire up your Apache web server. Since the Apache web server comes as a bundle of other third-party server software in most cases, all you will need to do is fire up the bundled application to activate the Apache server inside.
Video of the Day
Locate the server icon on the taskbar if you are using a local-based server. This icon will show all the services running. Click once to bring the menu and locate the Apache folder.
Locate the server configuration folder if you are using a remote server. Locate the PHP folder which will contain the "httpd.conf" file.
Search for the string "AddHandler" and re-write it to read this way:
AddHandler server-parsed .shtml
Options Indexes Includes followSmyLinks AllowOverride All Order allow, deny Allow from all
DocumentRoot /var/www/eHow ServerName www.eHow.com XBitHack On ErrorLog logs/eHow_log CustomLog logs/eHow_log common
Save all the changes and refresh the page to test.
It is good programming practice to comment any changes made to the config files with the person’s initials, data and a brief description of the changes made.
Since most configurations allow for overriding, it is advisable to apply the “Options + Includes” arguments to a specific directory to ensure that it gets evaluated last.
AddType text/html .shtml
The “XBitHack on” method tells Apache to parse files that have the execute bit set and is initiated using the “chmod” command as shown below:
Chmod +x eHow.html
Additional configuration arguments can be found inside the “httpd.conf” comment files that specify how filenames and tags should be used.