var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
How to provide .htm support!!!
We have problem in running .htm script on server for our domain.What I want is that for our domain abc.com I want to run .htm files,currently it isn't possible.
How do i do that only my domain abc.com will run .htm files in browser?
any idea ?
assuming you are using apache..
open your httpd.conf file
find this section and replace:
now find your mime types file, probably /private/etc/httpd/mime.types
DirectoryIndex index.html index.htm index.php index.php4 index.php3
find the line starting with text/html
and it should look like:then restart apache
It's Linux server Linux 2.4.30-31,and apache web server 1.29,
Is that code applicable to all websites on server or to only abc.com?
I want .htm to be run on only abc.com and not for other sites..
is that possible?
I'm a little confused; Are you trying to execute code (perl or php) in your .htm? Or are you simply looking for a way to make
www.abc.com/ load yourfile.htm?
If the latter is the case, a simple .htaccess file modification will work peachy:
#put this in your /home/username/public_html/ or other web directory