Thanks for your response.

Dave

On Sat, Apr 7, 2012 at 12:20 PM, Sergiu Dumitriu <[email protected]> wrote:

> On 04/06/2012 09:07 PM, du du wrote:
>
>> Hi, all,
>> I got a weired problem with url handling, when I am on this page:
>> http://mydomain.com/xwikim/**bin/view/Blog/CreatePost<http://mydomain.com/xwikim/bin/view/Blog/CreatePost>,
>> which gives me a
>> create post button to create post, I check the form action url is:
>> "/xwikim/bin/view/Blog/**CreatePost?xpage=plain", when I click on the
>> create
>> button, it comes to this url:
>> http://localhost/xwikim/bin/**edit/Blog/Post+title?template=**
>> Blog.BlogPostTemplate&parent=**Blog.WebHome&title=Post+title&**
>> Blog.BlogPostClass_0_title=**Post+title&form_token=**
>> SviDayJaWpElmFlAzjoSKw<http://localhost/xwikim/bin/edit/Blog/Post+title?template=Blog.BlogPostTemplate&parent=Blog.WebHome&title=Post+title&Blog.BlogPostClass_0_title=Post+title&form_token=SviDayJaWpElmFlAzjoSKw>
>> ,
>> from which I got "Unable to connect" error, I am not sure why it switched
>> from mydomain.com to localhost, all other links and buttons are working
>> fine without this kind of problem.
>>
>> My setup is like that I have an apache web server installed with port 80
>> opened to the public internet, which forwards request to tomcat with port
>> 8082 on localhost. all other links work fine, only the createpost has this
>> problem.
>>
>> Any clue from any of you?
>>
>> Thanks very much in advance
>>
>>
> The quickest way is to change the way the reverse proxy works, switch from
> mod_proxy_http to mod_proxy_ajp. This means that you have to:
>
> - make sure the mod_proxy_ajp module is active
> - make sure that the Tomcat AJP connector is active
> - change the URL that Apache HTTPD connects to from http:// to
> ajp://localhost:8009/xwikim/ (use the right port on which the AJP connector
> is listening)
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> ______________________________**_________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/**mailman/listinfo/users<http://lists.xwiki.org/mailman/listinfo/users>
>
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to