Re: [xwiki-users] myxwiki, invitation app does not work because wiki is closed?

2015-12-15 Thread Marius Dumitru Florea
On Tue, Dec 15, 2015 at 8:38 PM, Gerritjan Koekkoek  wrote:

> When going to page go invitation app:
>
> Invitations can not be accepted because this wiki is closed. To allow
> invitees to join, save InvitationGuestActions<
> http://waihonapedia.myxwiki.org/xwiki/bin/view/Invitation/InvitationGuestActions>
> as a user with Programming Rights.
>
>
>

>  When clicking on invitationGuestActions and saving it it does not change
> the page status?
>

Your account on myxwiki.org doesn't have PR for security reasons. Only the
myxwiki.org farm admins have PR.


>
>
> Gerritjan Koekkoek
> Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
> Visit our website
> Facebook
> email
>
>
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] some help needed: short URLs

2015-12-15 Thread Paul Libbrecht
Well, no Apache documentation?
(e.g. mod_proxy? mod_rewrite?)

paul

> [IDIS Technical Secretariat] Ricardo Rodríguez
> 
> 15 décembre 2015 12:33
> Sorry for being late! I've had some hard time trying to understand the
> whole thing... and I failed to do that! Please, read below...
>
> On Fri, Dec 11, 2015 at 3:23 PM Paul Libbrecht  wrote:
>
>> This is getting more hairy,
>> First, I think that all redirects sent using http-status will be covered
>> by proxyPassReverse.
>>
>
> This is the first time I truly face the complex world of client-server
> conversation to serve webpages! And, of course, I found a lot of nice work
> done in XWiki! prior to go ahead, I would like to be sure I'm following the
> correct XWiki pages dealing with this issue. Here a summary...
>
> http://portal.idisantiago.es/xwiki/bin/view/XWikiDevelopment/URL/
>
> Please, am I missing anything? I know that XWiki pages are a collaborative
> effort and that any of us can contribute to improve them. I'm just trying
> to establish a solid starting point before going ahead!
>
> Thanks for any insight!
>
> Ricardo
>
>
>
>> Your next step is to fix any URL produced within the XWiki page.
>> I thought proxyHost would help fixing that (that's part of server.xml,
>> see
>> https://tomcat.apache.org/tomcat-7.0-doc/config/http.html#Proxy_Support)
>> but I think XWiki doesn't use much of getServerName. Might still be
>> useful for mails or such (there, you need the host-name).
>>
>> For any request to /atriumkm/ you could add another proxy rule but this
>> makes duplicates which is inelegant (the resource page would have two
>> accessible URLs).
>>
>> I think that
>> xwiki.webapppath=
>> (not commented out, this will make the web-app be considered to be "/")
>> in xwiki.cfg might be your friend. It's part of the shortURLs strand
>> (which would be your next step?).
>>
>> Paul
>>> ProxyPass / http://localhost:8080/atriumkm/
>>>
>>>
>>> It avoid the loop, but it fails to generate correct URLs: it generates
>> URLs
>>> that work fine if accessed directly using Tomcat, but Apache Web Server
>>> fails. For example, accessing http://isabel.idisantiago.es, the URL
>>> generated...
>>> http://isabel.idisantiago.es/atriumkm/bin/Main/HomeMV2
>>>
>>> failed to serve the page correctly served when accessing Tomcat at
>> 8080...
>>> http://isabel.idisantiago.es:8080/atriumkm/bin/Main/HomeMV2
>>>
>>> It's the tomcat doing the redirect right now (use firebug, go to net,
 activate persist, then show the headers: Apache-Coyote/1.1) so maybe
 that helps things.

 You might want to keep
 ProxyPassReverse / http://localhost:8080/atriumkm/
 (this cares for redirects emitted by tomcat)

 But I am still fearing you'll get some bad links

>>> It seems to me that this option only works for the main page: in fact, in
>>> our installation, it includes a redirection...
>>>
>>> *
>>> {{velocity}}
>>> $response.sendRedirect($xwiki.getURL('Main.HomeMV2'))
>>> {{/velocity}}
>>> *
>>> The URL generated by xwiki.getURL includes the "application part" and
>>> failed to be served.
>>>
>>> An image from Firebug...
>>>
>>> http://goo.gl/4D93fm
>>>
>>> I'm afraid that I'm not able to follow all your reasoning... Why do you
>> say
>>> "it's the tomcat doing the redirect right now"?
>>>
>>> I would like to rephrase my initial question. Perhaps this is clearer...
>>>
>>> 1) It is possible to remove the "application part" of an XWiki URL when
>> the
>>> application is not deployed at ROOT in Tomcat with Apache Web Server as
>>> front-end?
>>> 2) If yes, does the set-up be done in the Apache Web Server side, Tomcat
>>> side, XWiki side, or any combination of these parts?
>>>
>>> I'm far from being able to digest the complexity of this landscape... I'm
>>> afraid!
>>>
>>> Any insight will be extremely welcome! Thanks!
>>>
>>>
 Paul
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>> Paul Libbrecht 
>>> 11 décembre 2015 12:26
>>> Can you try:
>>>
>>> ProxyPass / http://localhost:8080/atriumkm/
>>>
>>> ?
>>> It's the tomcat doing the redirect right now (use firebug, go to net,
>>> activate persist, then show the headers: Apache-Coyote/1.1) so maybe
>>> that helps things.
>>>
>>> You might want to keep
>>> ProxyPassReverse / http://localhost:8080/atriumkm/
>>> (this cares for redirects emitted by tomcat)
>>>
>>> But I am still fearing you'll get some bad links
>>>
>>> Paul
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>> [IDIS Technical Secretariat] Ricardo Rodríguez
>>> 
>>> 11 décembre 2015 12:11

[xwiki-users] myxwiki, invitation app does not work because wiki is closed?

2015-12-15 Thread Gerritjan Koekkoek
When going to page go invitation app:

Invitations can not be accepted because this wiki is closed. To allow invitees 
to join, save 
InvitationGuestActions
 as a user with Programming Rights.


 When clicking on invitationGuestActions and saving it it does not change the 
page status?


Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website
Facebook
email



___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] some help needed: short URLs

2015-12-15 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Sorry for being late! I've had some hard time trying to understand the
whole thing... and I failed to do that! Please, read below...

On Fri, Dec 11, 2015 at 3:23 PM Paul Libbrecht  wrote:

> This is getting more hairy,
> First, I think that all redirects sent using http-status will be covered
> by proxyPassReverse.
>

This is the first time I truly face the complex world of client-server
conversation to serve webpages! And, of course, I found a lot of nice work
done in XWiki! prior to go ahead, I would like to be sure I'm following the
correct XWiki pages dealing with this issue. Here a summary...

http://portal.idisantiago.es/xwiki/bin/view/XWikiDevelopment/URL/

Please, am I missing anything? I know that XWiki pages are a collaborative
effort and that any of us can contribute to improve them. I'm just trying
to establish a solid starting point before going ahead!

Thanks for any insight!

Ricardo



>
> Your next step is to fix any URL produced within the XWiki page.
> I thought proxyHost would help fixing that (that's part of server.xml,
> see
> https://tomcat.apache.org/tomcat-7.0-doc/config/http.html#Proxy_Support)
> but I think XWiki doesn't use much of getServerName. Might still be
> useful for mails or such (there, you need the host-name).
>
> For any request to /atriumkm/ you could add another proxy rule but this
> makes duplicates which is inelegant (the resource page would have two
> accessible URLs).
>
> I think that
> xwiki.webapppath=
> (not commented out, this will make the web-app be considered to be "/")
> in xwiki.cfg might be your friend. It's part of the shortURLs strand
> (which would be your next step?).
>
> Paul
> > ProxyPass / http://localhost:8080/atriumkm/
> >
> >
> > It avoid the loop, but it fails to generate correct URLs: it generates
> URLs
> > that work fine if accessed directly using Tomcat, but Apache Web Server
> > fails. For example, accessing http://isabel.idisantiago.es, the URL
> > generated...
>
> >
> > http://isabel.idisantiago.es/atriumkm/bin/Main/HomeMV2
> >
> > failed to serve the page correctly served when accessing Tomcat at
> 8080...
> >
> > http://isabel.idisantiago.es:8080/atriumkm/bin/Main/HomeMV2
> >
> > It's the tomcat doing the redirect right now (use firebug, go to net,
> >> activate persist, then show the headers: Apache-Coyote/1.1) so maybe
> >> that helps things.
> >>
> >> You might want to keep
> >> ProxyPassReverse / http://localhost:8080/atriumkm/
> >> (this cares for redirects emitted by tomcat)
> >>
> >> But I am still fearing you'll get some bad links
> >>
> >
> > It seems to me that this option only works for the main page: in fact, in
> > our installation, it includes a redirection...
> >
> > *
> > {{velocity}}
> > $response.sendRedirect($xwiki.getURL('Main.HomeMV2'))
> > {{/velocity}}
> > *
> > The URL generated by xwiki.getURL includes the "application part" and
> > failed to be served.
> >
> > An image from Firebug...
> >
> > http://goo.gl/4D93fm
> >
> > I'm afraid that I'm not able to follow all your reasoning... Why do you
> say
> > "it's the tomcat doing the redirect right now"?
> >
> > I would like to rephrase my initial question. Perhaps this is clearer...
> >
> > 1) It is possible to remove the "application part" of an XWiki URL when
> the
> > application is not deployed at ROOT in Tomcat with Apache Web Server as
> > front-end?
> > 2) If yes, does the set-up be done in the Apache Web Server side, Tomcat
> > side, XWiki side, or any combination of these parts?
> >
> > I'm far from being able to digest the complexity of this landscape... I'm
> > afraid!
> >
> > Any insight will be extremely welcome! Thanks!
> >
> >
> >> Paul
> >> ___
> >> users mailing list
> >> users@xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> > Paul Libbrecht 
> > 11 décembre 2015 12:26
> > Can you try:
> >
> > ProxyPass / http://localhost:8080/atriumkm/
> >
> > ?
> > It's the tomcat doing the redirect right now (use firebug, go to net,
> > activate persist, then show the headers: Apache-Coyote/1.1) so maybe
> > that helps things.
> >
> > You might want to keep
> > ProxyPassReverse / http://localhost:8080/atriumkm/
> > (this cares for redirects emitted by tomcat)
> >
> > But I am still fearing you'll get some bad links
> >
> > Paul
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> > [IDIS Technical Secretariat] Ricardo Rodríguez
> > 
> > 11 décembre 2015 12:11
> > Thanks Paul! Please, read below...
> >
> > On Thu, Dec 10, 2015 at 11:49 AM Paul Libbrecht 
> wrote:
> >
> >> Ricardo,
> >>
> >> are you unable to move the webapp to root?
> >>
> >
> > Nope! I can move XWiki to ROOT in Tomcat by

Re: [xwiki-users] Can't run XWiki 7.3

2015-12-15 Thread Giordano Ninonà
Solved, I've changed the installation directory and it worked, my OS is
WIndows 8.1 :)

2015-12-15 11:32 GMT+01:00 Giordano Ninonà :

> Hi users,
>
> I have installed XWiki 7.3 but when I start the service, you can see in
> the attachments what the commando prompt is saying to me.
>
> I have tried to unistall and re-install, I've cheched the environment
> variable JAVA HOME and I don't know how to solve this.
>
> Giordano.
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Can't run XWiki 7.3

2015-12-15 Thread Giordano Ninonà
Hi users,

I have installed XWiki 7.3 but when I start the service, you can see in the
attachments what the commando prompt is saying to me.

I have tried to unistall and re-install, I've cheched the environment
variable JAVA HOME and I don't know how to solve this.

Giordano.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users