Anne Forker wrote:
On Sat, 10 Jun 2000, Kev Jackson wrote:
edit your /etc/httpd/httpd.conf file
find a line which says:
AddType application/x-httpd-php3 .php3
And just add .html to the end so you have
AddType application/x-httpd-php3 .php3 .html
I wouldn't recommend that 'cause then the parser expects PHP code in every html file. In fact, there will be an error message if a file with a html suffix doesn't contain at least two lines
<?php ... ?>
Doesn't make sense to me ...
I would agree. If Mike is wanting to do what I think he's wanting to do, it would probably be best to find the DirectoryIndex line and change it to something like: DirectoryIndex index.php3 index.shtml index.html so that Apache will look for those files in that order when it wants an index file. You can also tell an HTML page to 'replace' itself with another page using the following meta tag: <meta http-equiv="refresh" content="{time to wait}; url=http://{page to load}"> Hope that helps, Chris -- Unfortunately I'm back on V90 (yeah, right) dialup for the rest of my life, so I apologise in advance for any time delay in replies. Thanks. __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/