(Short recap: my host changed the settings for PHP, so it runs like me,
rather than as the web server. This caused a change in the structure of
URLs, and I'm trying to get back to the &quot;old&quot; structure now.)<br>
<br>
I was in contact with the guys that are hosting my wiki, and they found
a bug in the program that sits in between their web server
and PHP (it relies on the fact that the last slash (/) in a URL should
come right before the php script's filename).<br>
<br>
They fixed the bug, so now the &quot;old&quot; URL for my homepage is now working:<br>
<span class="q"></span><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.thenewpr.com/wiki/pmwiki.php/Main/Home" target="_blank">http://www.thenewpr.com/wiki/pmwiki.php/Main/Home</a><br>
<br>
But the problem is still not solved: the default setting for all the page is still the one with <span style="font-weight: bold;">?pagename</span>.<br>
<br>
Is there something I can do to correct this?<br>
<br>
Thank you!<br>
<br>
Constantin<br>
<br>
.....................................................<br>
<span class="q"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.thenewpr.com/wiki/pmwiki.php/Main/Home" target="_blank"></a></span><br><div>
<span class="gmail_quote">On 9/29/05, <b class="gmail_sendername">Patrick R. Michaud</b> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

On Thu, Sep 29, 2005 at 02:00:18PM -0400, Constantin Basturea wrote:<br>&gt; &gt; I'm guessing that one or more of the following has happened:<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;- Apache was upgraded (e.g., from 1.3 to 2.0)<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;- PHP was upgraded
<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;- The Apache or PHP configuration has been changed<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;- PHP has been switched to run in &quot;CGI&quot; mode instead of as an<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Apache handler<br>&gt;<br>&gt; I asked my webhost if they made any changes in Apache/PHP
<br>&gt; version/settings, and here's what he responded:<br>&gt;<br>&gt; &quot;PHP now runs as you, rather than as the web server. This means files<br>&gt; created by PHP will be owned by you. It also means that if you need to
<br>&gt; store your MySQL (and hence your main account) password in a file in<br>&gt; order to connect to a database, you can store it in a file that's only<br>&gt; readable by you. This is an important security measure.&quot;
<br><br>They are absolutely correct that this is an important security<br>improvement -- I wish more sites would do this.<br><br>However, it appears that in changing the Apache settings that<br>the PATH_INFO component of urls is no longer working per the
<br>CGI 1.1 specification.&nbsp;&nbsp;The PATH_INFO part of CGI means that<br>given a url such as<br><br>&nbsp;&nbsp; <a href="http://www.thenewpr.com/wiki/pmwiki.php/Main/Home">http://www.thenewpr.com/wiki/pmwiki.php/Main/Home</a><br><br>the value &quot;/Main/Home&quot; is placed in the PATH_INFO environment
<br>variable when the CGI script (pmwiki.php) is called.&nbsp;&nbsp;Unfortunately,<br>the current Apache settings on your server seem to be refusing to<br>serve up the url at all and are simply returning a blank document.<br><br>Often this can be fixed in Apache 
2.0 by setting the AcceptPathInfo<br>directive to &quot;On&quot; in the apache configuration -- without this<br>Apache 2 will generally return a &quot;404 Not Found&quot; for urls containing<br>PATH_INFO data.&nbsp;&nbsp;If that doesn't work (or isn't an option),
<br>then we'll need to see about using mod_rewrite to get things to<br>work.<br><br>Pm<br></blockquote></div><br>