<div dir="ltr"><div><div><div><div></div>Setting chdir() in PHP does nothing for the code that is configured to look elsewhere via variables in \cookbook\config.php<br><br></div>Viewing the rendered source of you page @ <a href="http://dodin.info/index.php">http://dodin.info/index.php</a>  I see that one of the CSS files wants to be <a href="http://dodin.info/pub/skins/triad/css/layout-print.css">http://dodin.info/pub/skins/triad/css/layout-print.css</a><br>

<br></div>However, it actually exists on your sever @ <a href="http://dodin.info/wiki/pub/skins/triad/css/layout-print.css">http://dodin.info/wiki/pub/skins/triad/css/layout-print.css</a><br><br></div><div><br></div>I suggest removing the chdir() directive, and modify .htaccess (amongst other things) according to the instructions @ <a href="http://www.pmwiki.org/wiki/Cookbook/CleanUrls">http://www.pmwiki.org/wiki/Cookbook/CleanUrls</a> and <a href="http://www.pmwiki.org/wiki/PmWiki/Installation#notes">http://www.pmwiki.org/wiki/PmWiki/Installation#notes</a><br>

<div><div><br></div></div></div><div class="gmail_extra"><br clear="all"><div>-Michael Paulukonis<br><a href="http://www.xradiograph.com" target="_blank">http://www.xradiograph.com</a><br><a href="http://goog_2112721603" target="_blank"></a><a href="http://www.xradiograph.com%5Cinterference" target="_blank">Interference Patterns (a blog)</a><br>

<a href="https://twitter.com/XraysMonaLisa" target="_blank">@XraysMonaLisa</a><br><a href="http://michaelpaulukonis.com" target="_blank">http://michaelpaulukonis.com</a><br><a href="http://www.BestAndroidResources.com" target="_blank"></a><br>

<br>Sent from somewhere in the Cloud<br>(hearthrug, by the fender)<br></div>
<br><br><div class="gmail_quote">On Fri, Sep 13, 2013 at 11:32 AM, jdd <span dir="ltr"><<a href="mailto:jdd@dodin.org" target="_blank">jdd@dodin.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello,<br>
<br>
I'm installing a new server and I use that time to try enhancing the setting (and documenting it here <a href="http://dodin.org/wiki/index.php?n=Doc.OpenSUSE-small-ThirdEdition" target="_blank">http://dodin.org/wiki/index.<u></u>php?n=Doc.OpenSUSE-small-<u></u>ThirdEdition</a>)<br>


<br>
I have a curious problem.<br>
<br>
My pmwiki in is apache2 /wiki folder.<br>
<br>
direct call to the wiki/index.php give the normal result<br>
<br>
<a href="http://dodin.info/wiki/index.php" target="_blank">http://dodin.info/wiki/index.<u></u>php</a><br>
<br>
(triad skin)<br>
<br>
this file contain:<br>
<br>
<?php include('pmwiki.php');<br>
<br>
if I use (what I did until now) a /index.html with html redirection<br>
<br>
<a href="http://dodin.org/index.html" target="_blank">http://dodin.org/index.html</a><br>
<br>
I get a small message and then the wiki opens. Good.<br>
<br>
But is I try php to make the redirect<br>
<br>
<a href="http://dodin.info/index.php" target="_blank">http://dodin.info/index.php</a><br>
<br>
with<br>
<br>
<?php chdir('wiki'); include_once('pmwiki.php');<br>
<br>
I get the wiki, but without skin<br>
<br>
I got this command from<br>
<br>
<a href="http://www.pmwiki.org/wiki/PmWiki/Installation" target="_blank">http://www.pmwiki.org/wiki/<u></u>PmWiki/Installation</a><br>
<br>
(bottom of the page- removing the _once do not change anyting)<br>
<br>
any hint? I'm very bad as php programmer :-(<br>
<br>
thanks<span class="HOEnZb"><font color="#888888"><br>
jdd<br>
-- <br>
<a href="http://www.dodin.org" target="_blank">http://www.dodin.org</a><br>
<br>
______________________________<u></u>_________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com" target="_blank">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/<u></u>mailman/listinfo/pmwiki-users</a><br>
</font></span></blockquote></div><br></div>