<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1">all,<br>
<br>
although i cannot explain it, i believe that i have solved my 405
problem on IIS 5.1. <br>
<br>
<br>
all the websites on my desktop are virtual on localhost, no domains.
after i installed pmwiki, i could navigate and read pages, but i could
edit any pages. i would get 405 errors whenever i tried to edit.
well, check this out....<br>
<br>
<br>
after i installation, i set up my config file and i set the $ScriptUrl
and $PubDirUrl variables as follows:<br>
<br>
$ScriptUrl = '<a class="moz-txt-link-freetext" href="http://localhost/ppwiki/">http://localhost/ppwiki/</a>';<br>
$PubDirUrl = '<a class="moz-txt-link-freetext" href="http://localhost/ppwiki/pub/">http://localhost/ppwiki/pub/</a>';<br>
<br>
and, i received the 405 errors. after trying a wide range of things
from opening up permissions on all the pmwiki directories to modifying
mime types to changing the actions allowed for registered file types, i
got this unexplainable suspicion that the problem lie in my config file
and the way that i sent my variables. <br>
<br>
i decided to comment out the $ScriptUrl variable. i don't know why; an
act of desperation, i guess. </font><br>
<font size="-1"><br>
# $ScriptUrl = '<a class="moz-txt-link-freetext" href="http://localhost/ppwiki/">http://localhost/ppwiki/</a>';<br>
$PubDirUrl = '<a class="moz-txt-link-freetext" href="http://localhost/ppwiki/pub/">http://localhost/ppwiki/pub/</a>';<br>
<br>
<br>
and, voila! everything works!!!! <br>
<br>
again, i can't explain it. i know little about IIS and how to
configure it, just enough to get some basic work done. maybe the IIS
administrators out there can explain it or maybe they can identify some
basic ISS administration mistakes that a newbie might make that would
cause this problem. <br>
<br>
in any event, i hope this helps newbies trying to get pmwiki to work
with IIS.<br>
<br>
<br>
regards,<br>
scott</font><br>
<br>
Patrick R. Michaud wrote:
<blockquote cite="mid20051109223427.GD13377@host.pmichaud.com"
type="cite">
<pre wrap="">On Wed, Nov 09, 2005 at 03:59:54PM -0600, Scott Rosa wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> all,
has anybody received http 405 errors when trying to edit a page when
running pmwiki on IIS 5.1? my IIS 5.1 is the desktop version, not the
server version, running on a desktop for development only, so all my sites
are virtual directories.
a little research on http 405 on IIS 5.1 reveals that the problem may be
related to a file type not being registered. i have confirmed that i have
.php registered for all action (get, post, etc). strange to me, as long
as i leave the $EnablePathInfo off, i can navigate around my wiki and view
all the default pages that come with the installation. as soon as i turn
$EnablePathInfo on or try to edit a page, even if i cancel any changes, i
get the 405 errors.
any guidance is appreciated.
</pre>
</blockquote>
<pre wrap=""><!---->
I know next-to-nothing about IIS 5.1, but if you're wanting to run
in a standalone environment you might try the Standalone cookbook
recipe, which makes it possible to run PmWiki without a separate
webserver (<a class="moz-txt-link-freetext" href="http://www.pmwiki.org/wiki/Cookbook/Standalone">http://www.pmwiki.org/wiki/Cookbook/Standalone</a>).
Pm
</pre>
</blockquote>
</body>
</html>