[pmwiki-users] Run pmwiki from root folder or from /pmwiki?

Eric Forgeot eforgeot at gmail.com
Thu Dec 29 02:01:32 CST 2011


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 = "pmwiki"} </script>
         
        </HEAD>
         
        <SCRIPT language='JavaScript'>
        redir()</script>

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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20111229/3c3d658d/attachment-0001.html>


More information about the pmwiki-users mailing list