[pmwiki-users] Wrong redirection when editing

Patrick R. Michaud pmichaud at pobox.com
Wed Feb 1 15:34:33 CST 2006


On Mon, Jan 30, 2006 at 07:52:52PM +0100, Ali Baba wrote:
> 	I have a problem when editing a page : it redirects to a wrong url. 
> The problem doens not appear when "previewing" or when "saving and 
> editing", only when just saving.
> 
> 	Let's say my page is at 
> http://mydomain.com/mydir/wiki.php?n=Main.HomePage?action=edit ; when 
> saving, we are redirected to http://mydomain.com/mydir/Main.HomePage, 
> which does not exist (and I don't want these kind of url either, so 
> suggestions for Apache mod-rewrite to overcome the problem are not 
> adequate).

For some reason it appears that $ScriptUrl isn't being
set properly -- are you changing its default anywhere in the
configuration?

You could also try explicitly setting a value for $ScriptUrl
and see if that fixes the problem.

Pm




More information about the pmwiki-users mailing list