Ok. I deleted index.htm, removed "(in case _javascript_ is disabled on the user's browser)" from the code you recommended, and amended my index.php to read:
<?php include_once('pmwiki.php');
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
 
<SCRIPT language='_javascript_'>
function redir(){
window.location.href = ""} </script>
 
</HEAD>
 
<SCRIPT language='_javascript_'>
redir()</script>

<br><a href="" target="_top">index</a> <i>
 
</HTML>
Thanks,
Wade

On 12/29/2011 12:01 AM, Eric Forgeot wrote:
yes you have a dedicated folder: pmwiki, in your root

On 29/12/2011 01:17, Wade Lee Hudson wrote:
I like the idea of a dedicated folder. But I'm not sure I have it!
My root is /public_html/
In that folder, I have
index.htm (which points to the host's default so I assume I could delete that)
index.php

you can just redirect from the root to the pmwiki folder. You should remove either index.php or index.hml in your root (because we don't really know which one is read the first, even if it should be index.php, and fill the remaining file with something like this:

 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
 
<SCRIPT language='_javascript_'>
function redir(){
window.location.href = ""} </script>
 
</HEAD>
 
<SCRIPT language='_javascript_'>
redir()</script>

<br><a href="" target="_top">index</a> <i>(in case _javascript_ is disabled on the user's browser)
 
</HTML>


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to