[xwiki-users] Problem with fresh new 2.1.1 XEM install
I, I (still) have some problems with XEM 2.1.1 (tomcat 6.0.20 / oracle 10.2 / windows 2003 server / Apache 2.0.23). I have installed last tomcat, installed xwiki war file, copied oracle jdbc.jar file, configured hibernate.cfg.xml, xwiki.cfg. Locally accessing to http://localhost:8080/xwiki/bin/view/Main/ seems to work fine. I imported xwiki-enterprise-manager-wiki-administrator-2.1.1.xar with success. But when I try to access to that wiki from SSL URL, as before (https://mydomain/xwiki/wiki/xwiki/bin/view/Main) I got many javascripts errors (line 2, caracter 1, syntax error, code 0... many many times) Is there any way to make it work ? I tried to force xwiki.url.protocol=https in xwiki.cfg, without results. I tried to create another wiki, same problem. I tried to add the full URL as alias, doesn't work ! => I don't have any trouble accessing by http://localhost:8080/xwiki/wiki/xwiki but I can't acces the same wiki using external SSL URL https://mydomain/xwiki/wiki/xwiki Have you any idea of the requested configuration to make it work ? Thanks, Gaëtan -- __________________________________________ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __________________________________________
On Thu, Jan 7, 2010 at 14:35, Gaëtan GUYODO <[email protected]> wrote:
I, I (still) have some problems with XEM 2.1.1 (tomcat 6.0.20 / oracle 10.2 / windows 2003 server / Apache 2.0.23). I have installed last tomcat, installed xwiki war file, copied oracle jdbc.jar file, configured hibernate.cfg.xml, xwiki.cfg. Locally accessing to http://localhost:8080/xwiki/bin/view/Main/ seems to work fine. I imported xwiki-enterprise-manager-wiki-administrator-2.1.1.xar with success. But when I try to access to that wiki from SSL URL, as before (https://mydomain/xwiki/wiki/xwiki/bin/view/Main) I got many javascripts errors (line 2, caracter 1, syntax error, code 0... many many times) Is there any way to make it work ? I tried to force xwiki.url.protocol=https in xwiki.cfg, without results. I tried to create another wiki, same problem. I tried to add the full URL as alias, doesn't work !
The alias is the domain name not the URL. See http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki
=> I don't have any trouble accessing by http://localhost:8080/xwiki/wiki/xwiki but I can't acces the same wiki using external SSL URL https://mydomain/xwiki/wiki/xwiki
Have you any idea of the requested configuration to make it work ? Thanks, Gaëtan -- __________________________________________ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __________________________________________
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
On Thu, Jan 7, 2010 at 5:35 AM, Gaëtan GUYODO <[email protected]> wrote:
I tried to force xwiki.url.protocol=https in xwiki.cfg, without results. I tried to create another wiki, same problem. I tried to add the full URL as alias, doesn't work !
=> I don't have any trouble accessing by http://localhost:8080/xwiki/wiki/xwiki but I can't acces the same wiki using external SSL URL https://mydomain/xwiki/wiki/xwiki
You can't run SSL on a random port, and HTTPS, bound to 443, is privileged and requires a privileged process (that's why a high-number port like 8080 is used by default, it's a random, nonprivileged port). Since you don't want to run java as a privileged process, but people trust apache to run this way, you use a connector ( http://tomcat.apache.org/connectors-doc/reference/apache.html ) to bridge between java and a secure SSL front-end. Although tomcat can do SSL, it's better and more secure to front tomcat with Apache Httpd: use mod_proxy<http://httpd.apache.org/docs/2.0/mod/mod_proxy.html>and mod_proxy_ajp <http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html> to talk to tomcat, and mod_ssl <http://www.modssl.org/> to handle SSL (helpful security hint that is de rigueur for hospital and patient data: use mod_auth_mysql <http://modauthmysql.sourceforge.net/> and client-side certificates <http://www.modssl.org/docs/2.8/ssl_howto.html#ToC6> to prevent any access from those without client certs... see "fake basic auth" concept in http://www.modssl.org/docs/2.8/ssl_reference.html#SSLOptions ... if you don't have a client-certificate access, you get redirected to the "public" part of the web like in http://ipssources.net ) Quickndirty configuration hints: LoadModule proxy_ajp_module modules/mod_proxy_ajp.so ProxyPass /xwiki/ ajp://127.0.0.1:8009/xwiki/ <IfModule mod_proxy.c> ProxyRequests Off ## NPM: see http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HModProxyAJ... ProxyPreserveHost On </IfModule> Niels http://nielsmayer.com
Thanks, I didn't use the "domain name based wiki access" but the "URL path based wiki access" (I set xwiki.virtual.usepath=1 in xwiki.cfg file). First I tried to access to the main wiki using https://mydomain/xwiki/wiki/xwiki/view/Main but it doesn't work (It does work, with many script errors, and many problems). I created another wiki, called testwiki. I can access it by http://localhost:8080/xwiki/wiki/testwiki/view/Main but https://mydomain/xwiki/wiki/testwiki/view/Main send me many script errors ! I tried to declare SSL or not fin or the wiki descriptor=> same results. I tried to force xwiki.url.protocol=https in xwiki.cfg => same results. Is there anything else to do for that kind of access ? Before migration, 1.8 was fine ! Migration from 1.8 to 2.1.1 had that problem. I thought that could be the migration, so I tried with a fresh new install => always the same problems... ----- Message d'origine ----- De: Thomas Mortagne <[email protected]> Date: Jeudi, Janvier 7, 2010 6:36 pm Objet: Re: [xwiki-users] Problem with fresh new 2.1.1 XE"M install À: XWiki Users <[email protected]>
On Thu, Jan 7, 2010 at 14:35, Gaëtan GUYODO <[email protected]> wrote:
I, I (still) have some problems with XEM 2.1.1 (tomcat 6.0.20 / oracle 10.2 / windows 2003 server / Apache 2.0.23). I have installed last tomcat, installed xwiki war file, copied oracle jdbc.jar file, configured hibernate.cfg.xml, xwiki.cfg. Locally accessing to http://localhost:8080/xwiki/bin/view/Main/ seems to work fine. I imported xwiki-enterprise-manager-wiki-administrator-2.1.1.xar with success. But when I try to access to that wiki from SSL URL, as before (https://mydomain/xwiki/wiki/xwiki/bin/view/Main) I got many javascripts errors (line 2, caracter 1, syntax error, code 0... many many times) Is there any way to make it work ? I tried to force xwiki.url.protocol=https in xwiki.cfg, without results. I tried to create another wiki, same problem. I tried to add the full URL as alias, doesn't work !
The alias is the domain name not the URL. See http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki
=> I don't have any trouble accessing by http://localhost:8080/xwiki/wiki/xwiki but I can't acces the same wiki using external SSL URL https://mydomain/xwiki/wiki/xwiki
Have you any idea of the requested configuration to make it work ? Thanks, Gaëtan -- __________________________________________ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __________________________________________
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
On Thu, Jan 7, 2010 at 23:04, guyodo gaetan <[email protected]> wrote:
Thanks, I didn't use the "domain name based wiki access" but the "URL path based wiki access" (I set xwiki.virtual.usepath=1 in xwiki.cfg file). First I tried to access to the main wiki using https://mydomain/xwiki/wiki/xwiki/view/Main but it doesn't work (It does work, with many script errors, and many problems). I created another wiki, called testwiki. I can access it by http://localhost:8080/xwiki/wiki/testwiki/view/Main but https://mydomain/xwiki/wiki/testwiki/view/Main send me many script errors !
What are theses errors exactly ?
I tried to declare SSL or not fin or the wiki descriptor=> same results. I tried to force xwiki.url.protocol=https in xwiki.cfg => same results.
Is there anything else to do for that kind of access ?
Before migration, 1.8 was fine ! Migration from 1.8 to 2.1.1 had that problem. I thought that could be the migration, so I tried with a fresh new install => always the same problems...
----- Message d'origine ----- De: Thomas Mortagne <[email protected]> Date: Jeudi, Janvier 7, 2010 6:36 pm Objet: Re: [xwiki-users] Problem with fresh new 2.1.1 XE"M install À: XWiki Users <[email protected]>
On Thu, Jan 7, 2010 at 14:35, Gaëtan GUYODO <[email protected]> wrote:
I, I (still) have some problems with XEM 2.1.1 (tomcat 6.0.20 / oracle 10.2 / windows 2003 server / Apache 2.0.23). I have installed last tomcat, installed xwiki war file, copied oracle jdbc.jar file, configured hibernate.cfg.xml, xwiki.cfg. Locally accessing to http://localhost:8080/xwiki/bin/view/Main/ seems to work fine. I imported xwiki-enterprise-manager-wiki-administrator-2.1.1.xar with success. But when I try to access to that wiki from SSL URL, as before (https://mydomain/xwiki/wiki/xwiki/bin/view/Main) I got many javascripts errors (line 2, caracter 1, syntax error, code 0... many many times) Is there any way to make it work ? I tried to force xwiki.url.protocol=https in xwiki.cfg, without results. I tried to create another wiki, same problem. I tried to add the full URL as alias, doesn't work !
The alias is the domain name not the URL. See http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki
=> I don't have any trouble accessing by http://localhost:8080/xwiki/wiki/xwiki but I can't acces the same wiki using external SSL URL https://mydomain/xwiki/wiki/xwiki
Have you any idea of the requested configuration to make it work ? Thanks, Gaëtan -- __________________________________________ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __________________________________________
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Using IE 7.0 I get "Erreur de script" (script error) : line: 2 character: 1 Error: syntax error Code: 0 URL: https://mydomain/xwiki/wiki/testwiki/view/Main That error appends 10 times before the page appears. After that, I can't use any menu, when my mouse pass on any menu, I get the same error twice. Is there any way to give you more information ? I don't know which script, how can I get it ? Thomas Mortagne a écrit :
On Thu, Jan 7, 2010 at 23:04, guyodo gaetan <[email protected]> wrote:
Thanks, I didn't use the "domain name based wiki access" but the "URL path based wiki access" (I set xwiki.virtual.usepath=1 in xwiki.cfg file). First I tried to access to the main wiki using https://mydomain/xwiki/wiki/xwiki/view/Main but it doesn't work (It does work, with many script errors, and many problems). I created another wiki, called testwiki. I can access it by http://localhost:8080/xwiki/wiki/testwiki/view/Main but https://mydomain/xwiki/wiki/testwiki/view/Main send me many script errors !
What are theses errors exactly ?
I tried to declare SSL or not fin or the wiki descriptor=> same results. I tried to force xwiki.url.protocol=https in xwiki.cfg => same results.
Is there anything else to do for that kind of access ?
Before migration, 1.8 was fine ! Migration from 1.8 to 2.1.1 had that problem. I thought that could be the migration, so I tried with a fresh new install => always the same problems...
----- Message d'origine ----- De: Thomas Mortagne <[email protected]> Date: Jeudi, Janvier 7, 2010 6:36 pm Objet: Re: [xwiki-users] Problem with fresh new 2.1.1 XE"M install À: XWiki Users <[email protected]>
On Thu, Jan 7, 2010 at 14:35, Gaëtan GUYODO <[email protected]> wrote:
I, I (still) have some problems with XEM 2.1.1 (tomcat 6.0.20 / oracle 10.2 / windows 2003 server / Apache 2.0.23). I have installed last tomcat, installed xwiki war file, copied oracle jdbc.jar file, configured hibernate.cfg.xml, xwiki.cfg. Locally accessing to http://localhost:8080/xwiki/bin/view/Main/ seems to work fine. I imported xwiki-enterprise-manager-wiki-administrator-2.1.1.xar with success. But when I try to access to that wiki from SSL URL, as before (https://mydomain/xwiki/wiki/xwiki/bin/view/Main) I got many javascripts errors (line 2, caracter 1, syntax error, code 0... many many times) Is there any way to make it work ? I tried to force xwiki.url.protocol=https in xwiki.cfg, without results. I tried to create another wiki, same problem. I tried to add the full URL as alias, doesn't work ! The alias is the domain name not the URL. See http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki
=> I don't have any trouble accessing by http://localhost:8080/xwiki/wiki/xwiki but I can't acces the same wiki using external SSL URL https://mydomain/xwiki/wiki/xwiki
Have you any idea of the requested configuration to make it work ? Thanks, Gaëtan -- __________________________________________ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __________________________________________
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- __________________________________________ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __________________________________________
On Fri, Jan 8, 2010 at 09:26, Gaëtan GUYODO <[email protected]> wrote:
Using IE 7.0 I get "Erreur de script" (script error) : line: 2 character: 1 Error: syntax error Code: 0 URL: https://mydomain/xwiki/wiki/testwiki/view/Main
That error appends 10 times before the page appears. After that, I can't use any menu, when my mouse pass on any menu, I get the same error twice.
So you mean javascript errors. Then it's not an URL issue since you properly access the wiki it seems.
Is there any way to give you more information ? I don't know which script, how can I get it ?
You should try with other browsers than IE (Firefox, Opera, etc.), this will give us some more informations. In Firefox, install the extension called "Firebug" that should give you some more detailed informations.
Thomas Mortagne a écrit :
On Thu, Jan 7, 2010 at 23:04, guyodo gaetan <[email protected]> wrote:
Thanks, I didn't use the "domain name based wiki access" but the "URL path based wiki access" (I set xwiki.virtual.usepath=1 in xwiki.cfg file). First I tried to access to the main wiki using https://mydomain/xwiki/wiki/xwiki/view/Main but it doesn't work (It does work, with many script errors, and many problems). I created another wiki, called testwiki. I can access it by http://localhost:8080/xwiki/wiki/testwiki/view/Main but https://mydomain/xwiki/wiki/testwiki/view/Main send me many script errors !
What are theses errors exactly ?
I tried to declare SSL or not fin or the wiki descriptor=> same results. I tried to force xwiki.url.protocol=https in xwiki.cfg => same results.
Is there anything else to do for that kind of access ?
Before migration, 1.8 was fine ! Migration from 1.8 to 2.1.1 had that problem. I thought that could be the migration, so I tried with a fresh new install => always the same problems...
----- Message d'origine ----- De: Thomas Mortagne <[email protected]> Date: Jeudi, Janvier 7, 2010 6:36 pm Objet: Re: [xwiki-users] Problem with fresh new 2.1.1 XE"M install À: XWiki Users <[email protected]>
On Thu, Jan 7, 2010 at 14:35, Gaëtan GUYODO <[email protected]> wrote:
I, I (still) have some problems with XEM 2.1.1 (tomcat 6.0.20 / oracle 10.2 / windows 2003 server / Apache 2.0.23). I have installed last tomcat, installed xwiki war file, copied oracle jdbc.jar file, configured hibernate.cfg.xml, xwiki.cfg. Locally accessing to http://localhost:8080/xwiki/bin/view/Main/ seems to work fine. I imported xwiki-enterprise-manager-wiki-administrator-2.1.1.xar with success. But when I try to access to that wiki from SSL URL, as before (https://mydomain/xwiki/wiki/xwiki/bin/view/Main) I got many javascripts errors (line 2, caracter 1, syntax error, code 0... many many times) Is there any way to make it work ? I tried to force xwiki.url.protocol=https in xwiki.cfg, without results. I tried to create another wiki, same problem. I tried to add the full URL as alias, doesn't work ! The alias is the domain name not the URL. See http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki
=> I don't have any trouble accessing by http://localhost:8080/xwiki/wiki/xwiki but I can't acces the same wiki using external SSL URL https://mydomain/xwiki/wiki/xwiki
Have you any idea of the requested configuration to make it work ? Thanks, Gaëtan -- __________________________________________ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __________________________________________
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- __________________________________________ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __________________________________________
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Yes, I thought about that, but I have no problem using local url (on the server : http://localhost:8080/xwiki/wiki/testwiki/view/Main) ! in this situation, everything works fine ! but when I use IE or Firefox (I tried both) with external secured URL, I get errors ! Thomas Mortagne a écrit :
On Fri, Jan 8, 2010 at 09:26, Gaëtan GUYODO <[email protected]> wrote:
Using IE 7.0 I get "Erreur de script" (script error) : line: 2 character: 1 Error: syntax error Code: 0 URL: https://mydomain/xwiki/wiki/testwiki/view/Main
That error appends 10 times before the page appears. After that, I can't use any menu, when my mouse pass on any menu, I get the same error twice.
So you mean javascript errors. Then it's not an URL issue since you properly access the wiki it seems.
Is there any way to give you more information ? I don't know which script, how can I get it ?
You should try with other browsers than IE (Firefox, Opera, etc.), this will give us some more informations. In Firefox, install the extension called "Firebug" that should give you some more detailed informations.
Thomas Mortagne a écrit :
On Thu, Jan 7, 2010 at 23:04, guyodo gaetan <[email protected]> wrote:
Thanks, I didn't use the "domain name based wiki access" but the "URL path based wiki access" (I set xwiki.virtual.usepath=1 in xwiki.cfg file). First I tried to access to the main wiki using https://mydomain/xwiki/wiki/xwiki/view/Main but it doesn't work (It does work, with many script errors, and many problems). I created another wiki, called testwiki. I can access it by http://localhost:8080/xwiki/wiki/testwiki/view/Main but https://mydomain/xwiki/wiki/testwiki/view/Main send me many script errors ! What are theses errors exactly ?
I tried to declare SSL or not fin or the wiki descriptor=> same results. I tried to force xwiki.url.protocol=https in xwiki.cfg => same results.
Is there anything else to do for that kind of access ?
Before migration, 1.8 was fine ! Migration from 1.8 to 2.1.1 had that problem. I thought that could be the migration, so I tried with a fresh new install => always the same problems...
----- Message d'origine ----- De: Thomas Mortagne <[email protected]> Date: Jeudi, Janvier 7, 2010 6:36 pm Objet: Re: [xwiki-users] Problem with fresh new 2.1.1 XE"M install À: XWiki Users <[email protected]>
On Thu, Jan 7, 2010 at 14:35, Gaëtan GUYODO <[email protected]> wrote:
I, I (still) have some problems with XEM 2.1.1 (tomcat 6.0.20 / oracle 10.2 / windows 2003 server / Apache 2.0.23). I have installed last tomcat, installed xwiki war file, copied oracle jdbc.jar file, configured hibernate.cfg.xml, xwiki.cfg. Locally accessing to http://localhost:8080/xwiki/bin/view/Main/ seems to work fine. I imported xwiki-enterprise-manager-wiki-administrator-2.1.1.xar with success. But when I try to access to that wiki from SSL URL, as before (https://mydomain/xwiki/wiki/xwiki/bin/view/Main) I got many javascripts errors (line 2, caracter 1, syntax error, code 0... many many times) Is there any way to make it work ? I tried to force xwiki.url.protocol=https in xwiki.cfg, without results. I tried to create another wiki, same problem. I tried to add the full URL as alias, doesn't work ! The alias is the domain name not the URL. See http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki
=> I don't have any trouble accessing by http://localhost:8080/xwiki/wiki/xwiki but I can't acces the same wiki using external SSL URL https://mydomain/xwiki/wiki/xwiki
Have you any idea of the requested configuration to make it work ? Thanks, Gaëtan -- __________________________________________ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __________________________________________
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- __________________________________________ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __________________________________________
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- __________________________________________ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __________________________________________
On Fri, Jan 8, 2010 at 11:51, Gaëtan GUYODO <[email protected]> wrote:
Yes, I thought about that, but I have no problem using local url (on the server : http://localhost:8080/xwiki/wiki/testwiki/view/Main) ! in this situation, everything works fine ! but when I use IE or Firefox (I tried both) with external secured URL, I get errors !
And do Firebug give you more detailed errors ?
Thomas Mortagne a écrit :
On Fri, Jan 8, 2010 at 09:26, Gaëtan GUYODO <[email protected]> wrote:
Using IE 7.0 I get "Erreur de script" (script error) : line: 2 character: 1 Error: syntax error Code: 0 URL: https://mydomain/xwiki/wiki/testwiki/view/Main
That error appends 10 times before the page appears. After that, I can't use any menu, when my mouse pass on any menu, I get the same error twice.
So you mean javascript errors. Then it's not an URL issue since you properly access the wiki it seems.
Is there any way to give you more information ? I don't know which script, how can I get it ?
You should try with other browsers than IE (Firefox, Opera, etc.), this will give us some more informations. In Firefox, install the extension called "Firebug" that should give you some more detailed informations.
Thomas Mortagne a écrit :
On Thu, Jan 7, 2010 at 23:04, guyodo gaetan <[email protected]> wrote:
Thanks, I didn't use the "domain name based wiki access" but the "URL path based wiki access" (I set xwiki.virtual.usepath=1 in xwiki.cfg file). First I tried to access to the main wiki using https://mydomain/xwiki/wiki/xwiki/view/Main but it doesn't work (It does work, with many script errors, and many problems). I created another wiki, called testwiki. I can access it by http://localhost:8080/xwiki/wiki/testwiki/view/Main but https://mydomain/xwiki/wiki/testwiki/view/Main send me many script errors ! What are theses errors exactly ?
I tried to declare SSL or not fin or the wiki descriptor=> same results. I tried to force xwiki.url.protocol=https in xwiki.cfg => same results.
Is there anything else to do for that kind of access ?
Before migration, 1.8 was fine ! Migration from 1.8 to 2.1.1 had that problem. I thought that could be the migration, so I tried with a fresh new install => always the same problems...
----- Message d'origine ----- De: Thomas Mortagne <[email protected]> Date: Jeudi, Janvier 7, 2010 6:36 pm Objet: Re: [xwiki-users] Problem with fresh new 2.1.1 XE"M install À: XWiki Users <[email protected]>
On Thu, Jan 7, 2010 at 14:35, Gaëtan GUYODO <[email protected]> wrote: > I, > I (still) have some problems with XEM 2.1.1 (tomcat 6.0.20 / oracle 10.2 > / windows 2003 server / Apache 2.0.23). > I have installed last tomcat, installed xwiki war file, copied oracle > jdbc.jar file, configured hibernate.cfg.xml, xwiki.cfg. > Locally accessing to http://localhost:8080/xwiki/bin/view/Main/ seems to > work fine. > I imported xwiki-enterprise-manager-wiki-administrator-2.1.1.xar with > success. > But when I try to access to that wiki from SSL URL, as before > (https://mydomain/xwiki/wiki/xwiki/bin/view/Main) I got many javascripts > errors (line 2, caracter 1, syntax error, code 0... many many times) > Is there any way to make it work ? > I tried to force xwiki.url.protocol=https in xwiki.cfg, without results. > I tried to create another wiki, same problem. > I tried to add the full URL as alias, doesn't work ! The alias is the domain name not the URL. See http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki
> => I don't have any trouble accessing by > http://localhost:8080/xwiki/wiki/xwiki > but I can't acces the same wiki using external SSL URL > https://mydomain/xwiki/wiki/xwiki > > Have you any idea of the requested configuration to make it work ? > Thanks, > Gaëtan > -- > __________________________________________ > Gaëtan GUYODO > Chargé de mission > Centre Antipoison - Hôpital Fernand WIDAL > 200, rue du faubourg St Denis > 75475 PARIS Cedex 10 > Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 > __________________________________________ > > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users >
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- __________________________________________ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __________________________________________
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- __________________________________________ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __________________________________________
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
I don't know...I explain : with IE, I get error messages as described. With firefox, I don't get any error, but menus doesn't work (when I point a mneu with the mouse, nothing happens and the menu doesn't open up ! I have installed firebug and activated all errors in the console. When I try https://mydomain/xwiki/wiki/testwiki/view/Main I get these 2 errors: La feuille de style https://sid-sicap.aphp.fr/error.html n'a pas été chargée car son type MIME, « text/html », n'est pas « text/css » https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 0 XML tag name mismatch (expected meta) https://sid-sicap.aphp.fr/error.html Line 5 When mouse go over 'edit' menu or 'print' menu I get these errors: showsubmenu is not defined https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 1 hidesubmenu is not defined https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 1 Any idea ? Thomas Mortagne a écrit :
On Fri, Jan 8, 2010 at 11:51, Gaëtan GUYODO <[email protected]> wrote:
Yes, I thought about that, but I have no problem using local url (on the server : http://localhost:8080/xwiki/wiki/testwiki/view/Main) ! in this situation, everything works fine ! but when I use IE or Firefox (I tried both) with external secured URL, I get errors !
And do Firebug give you more detailed errors ?
Thomas Mortagne a écrit :
On Fri, Jan 8, 2010 at 09:26, Gaëtan GUYODO <[email protected]> wrote:
Using IE 7.0 I get "Erreur de script" (script error) : line: 2 character: 1 Error: syntax error Code: 0 URL: https://mydomain/xwiki/wiki/testwiki/view/Main
That error appends 10 times before the page appears. After that, I can't use any menu, when my mouse pass on any menu, I get the same error twice. So you mean javascript errors. Then it's not an URL issue since you properly access the wiki it seems.
Is there any way to give you more information ? I don't know which script, how can I get it ? You should try with other browsers than IE (Firefox, Opera, etc.), this will give us some more informations. In Firefox, install the extension called "Firebug" that should give you some more detailed informations.
Thomas Mortagne a écrit :
On Thu, Jan 7, 2010 at 23:04, guyodo gaetan <[email protected]> wrote:
Thanks, I didn't use the "domain name based wiki access" but the "URL path based wiki access" (I set xwiki.virtual.usepath=1 in xwiki.cfg file). First I tried to access to the main wiki using https://mydomain/xwiki/wiki/xwiki/view/Main but it doesn't work (It does work, with many script errors, and many problems). I created another wiki, called testwiki. I can access it by http://localhost:8080/xwiki/wiki/testwiki/view/Main but https://mydomain/xwiki/wiki/testwiki/view/Main send me many script errors ! What are theses errors exactly ?
I tried to declare SSL or not fin or the wiki descriptor=> same results. I tried to force xwiki.url.protocol=https in xwiki.cfg => same results.
Is there anything else to do for that kind of access ?
Before migration, 1.8 was fine ! Migration from 1.8 to 2.1.1 had that problem. I thought that could be the migration, so I tried with a fresh new install => always the same problems...
----- Message d'origine ----- De: Thomas Mortagne <[email protected]> Date: Jeudi, Janvier 7, 2010 6:36 pm Objet: Re: [xwiki-users] Problem with fresh new 2.1.1 XE"M install À: XWiki Users <[email protected]>
> On Thu, Jan 7, 2010 at 14:35, Gaëtan GUYODO > <[email protected]> wrote: >> I, >> I (still) have some problems with XEM 2.1.1 (tomcat 6.0.20 / oracle > 10.2 >> / windows 2003 server / Apache 2.0.23). >> I have installed last tomcat, installed xwiki war file, copied oracle >> jdbc.jar file, configured hibernate.cfg.xml, xwiki.cfg. >> Locally accessing to http://localhost:8080/xwiki/bin/view/Main/ > seems to >> work fine. >> I imported xwiki-enterprise-manager-wiki-administrator-2.1.1.xar with >> success. >> But when I try to access to that wiki from SSL URL, as before >> (https://mydomain/xwiki/wiki/xwiki/bin/view/Main) I got many javascripts >> errors (line 2, caracter 1, syntax error, code 0... many many times) >> Is there any way to make it work ? >> I tried to force xwiki.url.protocol=https in xwiki.cfg, without results. >> I tried to create another wiki, same problem. >> I tried to add the full URL as alias, doesn't work ! > The alias is the domain name not the URL. See > http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki > >> => I don't have any trouble accessing by >> http://localhost:8080/xwiki/wiki/xwiki >> but I can't acces the same wiki using external SSL URL >> https://mydomain/xwiki/wiki/xwiki >> >> Have you any idea of the requested configuration to make it work ? >> Thanks, >> Gaëtan >> -- >> __________________________________________ >> Gaëtan GUYODO >> Chargé de mission >> Centre Antipoison - Hôpital Fernand WIDAL >> 200, rue du faubourg St Denis >> 75475 PARIS Cedex 10 >> Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 >> __________________________________________ >> >> _______________________________________________ >> users mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/users >> > -- > Thomas Mortagne > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- __________________________________________ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __________________________________________
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- __________________________________________ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __________________________________________
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- __________________________________________ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __________________________________________
Could you paste from the HTML source of the page the <head> part, especially the links to stylesheets and javascript files? I think the generated URLs are not valid. On 01/08/2010 01:09 PM, Gaëtan GUYODO wrote:
I don't know...I explain : with IE, I get error messages as described. With firefox, I don't get any error, but menus doesn't work (when I point a mneu with the mouse, nothing happens and the menu doesn't open up ! I have installed firebug and activated all errors in the console. When I try https://mydomain/xwiki/wiki/testwiki/view/Main I get these 2 errors:
La feuille de style https://sid-sicap.aphp.fr/error.html n'a pas été chargée car son type MIME, « text/html », n'est pas « text/css » https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 0
XML tag name mismatch (expected meta) https://sid-sicap.aphp.fr/error.html Line 5
When mouse go over 'edit' menu or 'print' menu I get these errors:
showsubmenu is not defined https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 1
hidesubmenu is not defined https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 1
Any idea ?
Thomas Mortagne a écrit :
On Fri, Jan 8, 2010 at 11:51, Gaëtan GUYODO<[email protected]> wrote:
Yes, I thought about that, but I have no problem using local url (on the server : http://localhost:8080/xwiki/wiki/testwiki/view/Main) ! in this situation, everything works fine ! but when I use IE or Firefox (I tried both) with external secured URL, I get errors !
And do Firebug give you more detailed errors ?
Thomas Mortagne a écrit :
On Fri, Jan 8, 2010 at 09:26, Gaëtan GUYODO<[email protected]> wrote:
Using IE 7.0 I get "Erreur de script" (script error) : line: 2 character: 1 Error: syntax error Code: 0 URL: https://mydomain/xwiki/wiki/testwiki/view/Main
That error appends 10 times before the page appears. After that, I can't use any menu, when my mouse pass on any menu, I get the same error twice. So you mean javascript errors. Then it's not an URL issue since you properly access the wiki it seems.
Is there any way to give you more information ? I don't know which script, how can I get it ? You should try with other browsers than IE (Firefox, Opera, etc.), this will give us some more informations. In Firefox, install the extension called "Firebug" that should give you some more detailed informations.
Thomas Mortagne a écrit :
On Thu, Jan 7, 2010 at 23:04, guyodo gaetan<[email protected]> wrote: > Thanks, > I didn't use the "domain name based wiki access" but the "URL path based wiki access" (I set xwiki.virtual.usepath=1 in xwiki.cfg file). > First I tried to access to the main wiki using https://mydomain/xwiki/wiki/xwiki/view/Main but it doesn't work (It does work, with many script errors, and many problems). > I created another wiki, called testwiki. > I can access it by http://localhost:8080/xwiki/wiki/testwiki/view/Main but https://mydomain/xwiki/wiki/testwiki/view/Main send me many script errors ! What are theses errors exactly ?
> I tried to declare SSL or not fin or the wiki descriptor=> same results. > I tried to force xwiki.url.protocol=https in xwiki.cfg => same results. > > Is there anything else to do for that kind of access ? > > Before migration, 1.8 was fine ! > Migration from 1.8 to 2.1.1 had that problem. I thought that could be the migration, so I tried with a fresh new install => always the same problems... > > > ----- Message d'origine ----- > De: Thomas Mortagne<[email protected]> > Date: Jeudi, Janvier 7, 2010 6:36 pm > Objet: Re: [xwiki-users] Problem with fresh new 2.1.1 XE"M install > À: XWiki Users<[email protected]> > > >> On Thu, Jan 7, 2010 at 14:35, Gaëtan GUYODO >> <[email protected]> wrote: >>> I, >>> I (still) have some problems with XEM 2.1.1 (tomcat 6.0.20 / oracle >> 10.2 >>> / windows 2003 server / Apache 2.0.23). >>> I have installed last tomcat, installed xwiki war file, copied oracle >>> jdbc.jar file, configured hibernate.cfg.xml, xwiki.cfg. >>> Locally accessing to http://localhost:8080/xwiki/bin/view/Main/ >> seems to >>> work fine. >>> I imported xwiki-enterprise-manager-wiki-administrator-2.1.1.xar with >>> success. >>> But when I try to access to that wiki from SSL URL, as before >>> (https://mydomain/xwiki/wiki/xwiki/bin/view/Main) I got many javascripts >>> errors (line 2, caracter 1, syntax error, code 0... many many times) >>> Is there any way to make it work ? >>> I tried to force xwiki.url.protocol=https in xwiki.cfg, without results. >>> I tried to create another wiki, same problem. >>> I tried to add the full URL as alias, doesn't work ! >> The alias is the domain name not the URL. See >> http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki >> >>> => I don't have any trouble accessing by >>> http://localhost:8080/xwiki/wiki/xwiki >>> but I can't acces the same wiki using external SSL URL >>> https://mydomain/xwiki/wiki/xwiki >>> >>> Have you any idea of the requested configuration to make it work ? >>> Thanks, >>> Gaëtan
-- Sergiu Dumitriu http://purl.org/net/sergiu/
Here is the fulle <head< section : <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="fr" xml:lang="fr"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>XWiki - Main - WebHome</title> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <meta http-equiv="imagetoolbar" content="no"/> <link rel="alternate" type="application/x-wiki" title="Edit" href="/xwiki/wiki/testwiki/edit/Main/WebHome" /> <meta name="document" content="Main.WebHome"/> <meta name="space" content="Main"/> <meta name="page" content="WebHome"/> <meta name="version" content="1.1"/> <meta name="wiki" content="testwiki"/> <meta name="gwt:property" content="locale=fr" /> <!-- com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin --> <link href="/xwiki/wiki/testwiki/skin/skins/albatross/style.css" rel="stylesheet" type="text/css" media="all" /> <link href="/xwiki/wiki/testwiki/skin/skins/albatross/print.css" rel="stylesheet" type="text/css" media="print" /> <!--[if IE]> <link href="/xwiki/wiki/testwiki/skin/skins/albatross/ie%2Dall.css" rel="stylesheet" type="text/css" /> <![endif]--> <!--[if IE 6]> <link href="/xwiki/wiki/testwiki/skin/skins/albatross/ie%2D6.css" rel="stylesheet" type="text/css" /> <![endif]--> <link rel='stylesheet' type='text/css' href='/xwiki/bin/skin/resources/js/xwiki/widgets/modalPopup.css'/><link rel='stylesheet' type='text/css' href='/xwiki/bin/skin/resources/js/xwiki/widgets/jumpToPage.css'/><link rel='stylesheet' type='text/css' href='/xwiki/bin/skin/resources/uicomponents/widgets/confirmationBox.css'/><link rel='stylesheet' type='text/css' href='/xwiki/bin/skin/resources/uicomponents/widgets/notification.css'/> <link href="/xwiki/resources/js/xwiki/suggest/ajaxSuggest.css" rel="stylesheet" type="text/css" /> <link href="/xwiki/bin/skin/resources/js/xwiki/lightbox/lightbox.css" rel="stylesheet" type="text/css" /> <!--[if IE]> <link href="/xwiki/bin/skin/resources/js/xwiki/lightbox/lightboxIE.css" rel="stylesheet" type="text/css" /> <![endif]--> <script type="text/javascript" src="/xwiki/resources/js/prototype/prototype.js"></script> <script type="text/javascript" src="/xwiki/bin/skin/resources/js/xwiki/xwiki.js"></script> <script type="text/javascript" src="/xwiki/resources/js/xwiki/suggest/ajaxSuggest.js"></script> <script type="text/javascript"> // <![CDATA[ XWiki.webapppath = "xwiki/"; XWiki.servletpath = "wiki/testwiki/"; XWiki.contextPath = "/xwiki"; XWiki.mainWiki = "xwiki"; XWiki.currentWiki = "testwiki"; XWiki.currentSpace = "Main"; XWiki.editor = ""; XWiki.viewer = ""; XWiki.contextaction = "view"; XWiki.docisnew = true; XWiki.docsyntax = "xwiki/2.0"; XWiki.blacklistedSpaces = [ ]; window.docviewurl = "/xwiki/wiki/testwiki/view/Main/"; window.docediturl = "/xwiki/wiki/testwiki/edit/Main/WebHome"; window.docsaveurl = "/xwiki/wiki/testwiki/save/Main/WebHome"; // ]]> </script> <script type='text/javascript' src='/xwiki/bin/skin/resources/js/scriptaculous/effects.js'></script><script type='text/javascript' src='/xwiki/bin/skin/resources/js/xwiki/widgets/modalPopup.js'></script><script type='text/javascript' src='/xwiki/bin/skin/resources/js/xwiki/widgets/jumpToPage.js'></script><script type='text/javascript' src='/xwiki/bin/skin/resources/uicomponents/widgets/confirmationBox.js'></script><script type='text/javascript' src='/xwiki/bin/skin/resources/uicomponents/widgets/confirmedAjaxRequest.js'></script><script type='text/javascript' src='/xwiki/bin/skin/resources/uicomponents/widgets/notification.js'></script> <script type="text/javascript" src="/xwiki/bin/skin/resources/js/xwiki/compatibility.js"></script> </head> Sergiu Dumitriu a écrit :
Could you paste from the HTML source of the page the <head> part, especially the links to stylesheets and javascript files? I think the generated URLs are not valid.
On 01/08/2010 01:09 PM, Gaëtan GUYODO wrote:
I don't know...I explain : with IE, I get error messages as described. With firefox, I don't get any error, but menus doesn't work (when I point a mneu with the mouse, nothing happens and the menu doesn't open up ! I have installed firebug and activated all errors in the console. When I try https://mydomain/xwiki/wiki/testwiki/view/Main I get these 2 errors:
La feuille de style https://sid-sicap.aphp.fr/error.html n'a pas été chargée car son type MIME, « text/html », n'est pas « text/css » https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 0
XML tag name mismatch (expected meta) https://sid-sicap.aphp.fr/error.html Line 5
When mouse go over 'edit' menu or 'print' menu I get these errors:
showsubmenu is not defined https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 1
hidesubmenu is not defined https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 1
Any idea ?
Thomas Mortagne a écrit :
On Fri, Jan 8, 2010 at 11:51, Gaëtan GUYODO<[email protected]> wrote:
Yes, I thought about that, but I have no problem using local url (on the server : http://localhost:8080/xwiki/wiki/testwiki/view/Main) ! in this situation, everything works fine ! but when I use IE or Firefox (I tried both) with external secured URL, I get errors ! And do Firebug give you more detailed errors ?
Thomas Mortagne a écrit :
On Fri, Jan 8, 2010 at 09:26, Gaëtan GUYODO<[email protected]> wrote:
Using IE 7.0 I get "Erreur de script" (script error) : line: 2 character: 1 Error: syntax error Code: 0 URL: https://mydomain/xwiki/wiki/testwiki/view/Main
That error appends 10 times before the page appears. After that, I can't use any menu, when my mouse pass on any menu, I get the same error twice. So you mean javascript errors. Then it's not an URL issue since you properly access the wiki it seems.
Is there any way to give you more information ? I don't know which script, how can I get it ? You should try with other browsers than IE (Firefox, Opera, etc.), this will give us some more informations. In Firefox, install the extension called "Firebug" that should give you some more detailed informations.
Thomas Mortagne a écrit : > On Thu, Jan 7, 2010 at 23:04, guyodo gaetan<[email protected]> wrote: >> Thanks, >> I didn't use the "domain name based wiki access" but the "URL path based wiki access" (I set xwiki.virtual.usepath=1 in xwiki.cfg file). >> First I tried to access to the main wiki using https://mydomain/xwiki/wiki/xwiki/view/Main but it doesn't work (It does work, with many script errors, and many problems). >> I created another wiki, called testwiki. >> I can access it by http://localhost:8080/xwiki/wiki/testwiki/view/Main but https://mydomain/xwiki/wiki/testwiki/view/Main send me many script errors ! > What are theses errors exactly ? > >> I tried to declare SSL or not fin or the wiki descriptor=> same results. >> I tried to force xwiki.url.protocol=https in xwiki.cfg => same results. >> >> Is there anything else to do for that kind of access ? >> >> Before migration, 1.8 was fine ! >> Migration from 1.8 to 2.1.1 had that problem. I thought that could be the migration, so I tried with a fresh new install => always the same problems... >> >> >> ----- Message d'origine ----- >> De: Thomas Mortagne<[email protected]> >> Date: Jeudi, Janvier 7, 2010 6:36 pm >> Objet: Re: [xwiki-users] Problem with fresh new 2.1.1 XE"M install >> À: XWiki Users<[email protected]> >> >> >>> On Thu, Jan 7, 2010 at 14:35, Gaëtan GUYODO >>> <[email protected]> wrote: >>>> I, >>>> I (still) have some problems with XEM 2.1.1 (tomcat 6.0.20 / oracle >>> 10.2 >>>> / windows 2003 server / Apache 2.0.23). >>>> I have installed last tomcat, installed xwiki war file, copied oracle >>>> jdbc.jar file, configured hibernate.cfg.xml, xwiki.cfg. >>>> Locally accessing to http://localhost:8080/xwiki/bin/view/Main/ >>> seems to >>>> work fine. >>>> I imported xwiki-enterprise-manager-wiki-administrator-2.1.1.xar with >>>> success. >>>> But when I try to access to that wiki from SSL URL, as before >>>> (https://mydomain/xwiki/wiki/xwiki/bin/view/Main) I got many javascripts >>>> errors (line 2, caracter 1, syntax error, code 0... many many times) >>>> Is there any way to make it work ? >>>> I tried to force xwiki.url.protocol=https in xwiki.cfg, without results. >>>> I tried to create another wiki, same problem. >>>> I tried to add the full URL as alias, doesn't work ! >>> The alias is the domain name not the URL. See >>> http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki >>> >>>> => I don't have any trouble accessing by >>>> http://localhost:8080/xwiki/wiki/xwiki >>>> but I can't acces the same wiki using external SSL URL >>>> https://mydomain/xwiki/wiki/xwiki >>>> >>>> Have you any idea of the requested configuration to make it work ? >>>> Thanks, >>>> Gaëtan
-- __________________________________________ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __________________________________________
On 01/08/2010 03:56 PM, Gaëtan GUYODO wrote:
Here is the full <head> section :
It looks good. Can you check what does the server return for /xwiki/bin/skin/resources/js/xwiki/xwiki.js ?
Sergiu Dumitriu a écrit :
Could you paste from the HTML source of the page the<head> part, especially the links to stylesheets and javascript files? I think the generated URLs are not valid.
On 01/08/2010 01:09 PM, Gaëtan GUYODO wrote:
I don't know...I explain : with IE, I get error messages as described. With firefox, I don't get any error, but menus doesn't work (when I point a mneu with the mouse, nothing happens and the menu doesn't open up ! I have installed firebug and activated all errors in the console. When I try https://mydomain/xwiki/wiki/testwiki/view/Main I get these 2 errors:
La feuille de style https://sid-sicap.aphp.fr/error.html n'a pas été chargée car son type MIME, « text/html », n'est pas « text/css » https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 0
XML tag name mismatch (expected meta) https://sid-sicap.aphp.fr/error.html Line 5
When mouse go over 'edit' menu or 'print' menu I get these errors:
showsubmenu is not defined https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 1
hidesubmenu is not defined https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 1
Any idea ?
Thomas Mortagne a écrit :
On Fri, Jan 8, 2010 at 11:51, Gaëtan GUYODO<[email protected]> wrote:
Yes, I thought about that, but I have no problem using local url (on the server : http://localhost:8080/xwiki/wiki/testwiki/view/Main) ! in this situation, everything works fine ! but when I use IE or Firefox (I tried both) with external secured URL, I get errors ! And do Firebug give you more detailed errors ?
Thomas Mortagne a écrit :
On Fri, Jan 8, 2010 at 09:26, Gaëtan GUYODO<[email protected]> wrote: > Using IE 7.0 I get "Erreur de script" (script error) : > line: 2 > character: 1 > Error: syntax error > Code: 0 > URL: https://mydomain/xwiki/wiki/testwiki/view/Main > > That error appends 10 times before the page appears. After that, I can't > use any menu, when my mouse pass on any menu, I get the same error twice. So you mean javascript errors. Then it's not an URL issue since you properly access the wiki it seems.
> Is there any way to give you more information ? I don't know which > script, how can I get it ? You should try with other browsers than IE (Firefox, Opera, etc.), this will give us some more informations. In Firefox, install the extension called "Firebug" that should give you some more detailed informations.
> Thomas Mortagne a écrit : >> On Thu, Jan 7, 2010 at 23:04, guyodo gaetan<[email protected]> wrote: >>> Thanks, >>> I didn't use the "domain name based wiki access" but the "URL path based wiki access" (I set xwiki.virtual.usepath=1 in xwiki.cfg file). >>> First I tried to access to the main wiki using https://mydomain/xwiki/wiki/xwiki/view/Main but it doesn't work (It does work, with many script errors, and many problems). >>> I created another wiki, called testwiki. >>> I can access it by http://localhost:8080/xwiki/wiki/testwiki/view/Main but https://mydomain/xwiki/wiki/testwiki/view/Main send me many script errors ! >> What are theses errors exactly ? >> >>> I tried to declare SSL or not fin or the wiki descriptor=> same results. >>> I tried to force xwiki.url.protocol=https in xwiki.cfg => same results. >>> >>> Is there anything else to do for that kind of access ? >>> >>> Before migration, 1.8 was fine ! >>> Migration from 1.8 to 2.1.1 had that problem. I thought that could be the migration, so I tried with a fresh new install => always the same problems... >>> >>> >>> ----- Message d'origine ----- >>> De: Thomas Mortagne<[email protected]> >>> Date: Jeudi, Janvier 7, 2010 6:36 pm >>> Objet: Re: [xwiki-users] Problem with fresh new 2.1.1 XE"M install >>> À: XWiki Users<[email protected]> >>> >>> >>>> On Thu, Jan 7, 2010 at 14:35, Gaëtan GUYODO >>>> <[email protected]> wrote: >>>>> I, >>>>> I (still) have some problems with XEM 2.1.1 (tomcat 6.0.20 / oracle >>>> 10.2 >>>>> / windows 2003 server / Apache 2.0.23). >>>>> I have installed last tomcat, installed xwiki war file, copied oracle >>>>> jdbc.jar file, configured hibernate.cfg.xml, xwiki.cfg. >>>>> Locally accessing to http://localhost:8080/xwiki/bin/view/Main/ >>>> seems to >>>>> work fine. >>>>> I imported xwiki-enterprise-manager-wiki-administrator-2.1.1.xar with >>>>> success. >>>>> But when I try to access to that wiki from SSL URL, as before >>>>> (https://mydomain/xwiki/wiki/xwiki/bin/view/Main) I got many javascripts >>>>> errors (line 2, caracter 1, syntax error, code 0... many many times) >>>>> Is there any way to make it work ? >>>>> I tried to force xwiki.url.protocol=https in xwiki.cfg, without results. >>>>> I tried to create another wiki, same problem. >>>>> I tried to add the full URL as alias, doesn't work ! >>>> The alias is the domain name not the URL. See >>>> http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki >>>> >>>>> => I don't have any trouble accessing by >>>>> http://localhost:8080/xwiki/wiki/xwiki >>>>> but I can't acces the same wiki using external SSL URL >>>>> https://mydomain/xwiki/wiki/xwiki >>>>> >>>>> Have you any idea of the requested configuration to make it work ? >>>>> Thanks, >>>>> Gaëtan
-- Sergiu Dumitriu http://purl.org/net/sergiu/
I get the wikidoesnotexist page ! I watch source of the page, and there's a few links to : /xwiki/... but if I understand the use of wiki farm with "URL path based wiki access", every acces should come with URL like : /xwiki/wiki/aliasname so the page you want me to check should be: /xwiki/wiki/testwiki/bin/skin/resources/js/xwiki/xwiki.js That page seems to get better answer, I get a message "Un problème est apparu en essayant de réaliser cette action. Veuillez contacter l'administrateur si cela se reproduit." (I did not import the xar file or any page into that wiki, maybe that can explain that error page ?) Sergiu Dumitriu a écrit :
On 01/08/2010 03:56 PM, Gaëtan GUYODO wrote:
Here is the full <head> section :
It looks good. Can you check what does the server return for /xwiki/bin/skin/resources/js/xwiki/xwiki.js ?
Sergiu Dumitriu a écrit :
Could you paste from the HTML source of the page the<head> part, especially the links to stylesheets and javascript files? I think the generated URLs are not valid.
On 01/08/2010 01:09 PM, Gaëtan GUYODO wrote:
I don't know...I explain : with IE, I get error messages as described. With firefox, I don't get any error, but menus doesn't work (when I point a mneu with the mouse, nothing happens and the menu doesn't open up ! I have installed firebug and activated all errors in the console. When I try https://mydomain/xwiki/wiki/testwiki/view/Main I get these 2 errors:
La feuille de style https://sid-sicap.aphp.fr/error.html n'a pas été chargée car son type MIME, « text/html », n'est pas « text/css » https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 0
XML tag name mismatch (expected meta) https://sid-sicap.aphp.fr/error.html Line 5
When mouse go over 'edit' menu or 'print' menu I get these errors:
showsubmenu is not defined https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 1
hidesubmenu is not defined https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 1
Any idea ?
Thomas Mortagne a écrit :
On Fri, Jan 8, 2010 at 11:51, Gaëtan GUYODO<[email protected]> wrote:
Yes, I thought about that, but I have no problem using local url (on the server : http://localhost:8080/xwiki/wiki/testwiki/view/Main) ! in this situation, everything works fine ! but when I use IE or Firefox (I tried both) with external secured URL, I get errors ! And do Firebug give you more detailed errors ?
Thomas Mortagne a écrit : > On Fri, Jan 8, 2010 at 09:26, Gaëtan GUYODO<[email protected]> wrote: >> Using IE 7.0 I get "Erreur de script" (script error) : >> line: 2 >> character: 1 >> Error: syntax error >> Code: 0 >> URL: https://mydomain/xwiki/wiki/testwiki/view/Main >> >> That error appends 10 times before the page appears. After that, I can't >> use any menu, when my mouse pass on any menu, I get the same error twice. > So you mean javascript errors. Then it's not an URL issue since you > properly access the wiki it seems. > >> Is there any way to give you more information ? I don't know which >> script, how can I get it ? > You should try with other browsers than IE (Firefox, Opera, etc.), > this will give us some more informations. In Firefox, install the > extension called "Firebug" that should give you some more detailed > informations. > >> Thomas Mortagne a écrit : >>> On Thu, Jan 7, 2010 at 23:04, guyodo gaetan<[email protected]> wrote: >>>> Thanks, >>>> I didn't use the "domain name based wiki access" but the "URL path based wiki access" (I set xwiki.virtual.usepath=1 in xwiki.cfg file). >>>> First I tried to access to the main wiki using https://mydomain/xwiki/wiki/xwiki/view/Main but it doesn't work (It does work, with many script errors, and many problems). >>>> I created another wiki, called testwiki. >>>> I can access it by http://localhost:8080/xwiki/wiki/testwiki/view/Main but https://mydomain/xwiki/wiki/testwiki/view/Main send me many script errors ! >>> What are theses errors exactly ? >>> >>>> I tried to declare SSL or not fin or the wiki descriptor=> same results. >>>> I tried to force xwiki.url.protocol=https in xwiki.cfg => same results. >>>> >>>> Is there anything else to do for that kind of access ? >>>> >>>> Before migration, 1.8 was fine ! >>>> Migration from 1.8 to 2.1.1 had that problem. I thought that could be the migration, so I tried with a fresh new install => always the same problems... >>>> >>>> >>>> ----- Message d'origine ----- >>>> De: Thomas Mortagne<[email protected]> >>>> Date: Jeudi, Janvier 7, 2010 6:36 pm >>>> Objet: Re: [xwiki-users] Problem with fresh new 2.1.1 XE"M install >>>> À: XWiki Users<[email protected]> >>>> >>>> >>>>> On Thu, Jan 7, 2010 at 14:35, Gaëtan GUYODO >>>>> <[email protected]> wrote: >>>>>> I, >>>>>> I (still) have some problems with XEM 2.1.1 (tomcat 6.0.20 / oracle >>>>> 10.2 >>>>>> / windows 2003 server / Apache 2.0.23). >>>>>> I have installed last tomcat, installed xwiki war file, copied oracle >>>>>> jdbc.jar file, configured hibernate.cfg.xml, xwiki.cfg. >>>>>> Locally accessing to http://localhost:8080/xwiki/bin/view/Main/ >>>>> seems to >>>>>> work fine. >>>>>> I imported xwiki-enterprise-manager-wiki-administrator-2.1.1.xar with >>>>>> success. >>>>>> But when I try to access to that wiki from SSL URL, as before >>>>>> (https://mydomain/xwiki/wiki/xwiki/bin/view/Main) I got many javascripts >>>>>> errors (line 2, caracter 1, syntax error, code 0... many many times) >>>>>> Is there any way to make it work ? >>>>>> I tried to force xwiki.url.protocol=https in xwiki.cfg, without results. >>>>>> I tried to create another wiki, same problem. >>>>>> I tried to add the full URL as alias, doesn't work ! >>>>> The alias is the domain name not the URL. See >>>>> http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki >>>>> >>>>>> => I don't have any trouble accessing by >>>>>> http://localhost:8080/xwiki/wiki/xwiki >>>>>> but I can't acces the same wiki using external SSL URL >>>>>> https://mydomain/xwiki/wiki/xwiki >>>>>> >>>>>> Have you any idea of the requested configuration to make it work ? >>>>>> Thanks, >>>>>> Gaëtan
-- __________________________________________ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __________________________________________
On 01/08/2010 05:30 PM, Gaëtan GUYODO wrote:
I get the wikidoesnotexist page !
I watch source of the page, and there's a few links to : /xwiki/...
but if I understand the use of wiki farm with "URL path based wiki access", every acces should come with URL like : /xwiki/wiki/aliasname
No, this URL format is only for wiki pages. This is a skin resource, which should not depend on the current wiki, so /xwiki/bin/skin/ should be valid. Could you check that you do have a file in <xwiki webapp folder>/resources/js/xwiki/xwiki.js?
so the page you want me to check should be: /xwiki/wiki/testwiki/bin/skin/resources/js/xwiki/xwiki.js
That page seems to get better answer, I get a message "Un problème est apparu en essayant de réaliser cette action. Veuillez contacter l'administrateur si cela se reproduit." (I did not import the xar file or any page into that wiki, maybe that can explain that error page ?)
Sergiu Dumitriu a écrit :
On 01/08/2010 03:56 PM, Gaëtan GUYODO wrote:
Here is the full<head> section :
It looks good. Can you check what does the server return for /xwiki/bin/skin/resources/js/xwiki/xwiki.js ?
Sergiu Dumitriu a écrit :
Could you paste from the HTML source of the page the<head> part, especially the links to stylesheets and javascript files? I think the generated URLs are not valid.
On 01/08/2010 01:09 PM, Gaëtan GUYODO wrote:
I don't know...I explain : with IE, I get error messages as described. With firefox, I don't get any error, but menus doesn't work (when I point a mneu with the mouse, nothing happens and the menu doesn't open up ! I have installed firebug and activated all errors in the console. When I try https://mydomain/xwiki/wiki/testwiki/view/Main I get these 2 errors:
La feuille de style https://sid-sicap.aphp.fr/error.html n'a pas été chargée car son type MIME, « text/html », n'est pas « text/css » https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 0
XML tag name mismatch (expected meta) https://sid-sicap.aphp.fr/error.html Line 5
When mouse go over 'edit' menu or 'print' menu I get these errors:
showsubmenu is not defined https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 1
hidesubmenu is not defined https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 1
Any idea ?
Thomas Mortagne a écrit :
On Fri, Jan 8, 2010 at 11:51, Gaëtan GUYODO<[email protected]> wrote: > Yes, I thought about that, but I have no problem using local url (on the > server : http://localhost:8080/xwiki/wiki/testwiki/view/Main) ! in this > situation, everything works fine ! > but when I use IE or Firefox (I tried both) with external secured URL, I > get errors ! And do Firebug give you more detailed errors ?
> Thomas Mortagne a écrit : >> On Fri, Jan 8, 2010 at 09:26, Gaëtan GUYODO<[email protected]> wrote: >>> Using IE 7.0 I get "Erreur de script" (script error) : >>> line: 2 >>> character: 1 >>> Error: syntax error >>> Code: 0 >>> URL: https://mydomain/xwiki/wiki/testwiki/view/Main >>> >>> That error appends 10 times before the page appears. After that, I can't >>> use any menu, when my mouse pass on any menu, I get the same error twice. >> So you mean javascript errors. Then it's not an URL issue since you >> properly access the wiki it seems. >> >>> Is there any way to give you more information ? I don't know which >>> script, how can I get it ? >> You should try with other browsers than IE (Firefox, Opera, etc.), >> this will give us some more informations. In Firefox, install the >> extension called "Firebug" that should give you some more detailed >> informations. >> >>> Thomas Mortagne a écrit : >>>> On Thu, Jan 7, 2010 at 23:04, guyodo gaetan<[email protected]> wrote: >>>>> Thanks, >>>>> I didn't use the "domain name based wiki access" but the "URL path based wiki access" (I set xwiki.virtual.usepath=1 in xwiki.cfg file). >>>>> First I tried to access to the main wiki using https://mydomain/xwiki/wiki/xwiki/view/Main but it doesn't work (It does work, with many script errors, and many problems). >>>>> I created another wiki, called testwiki. >>>>> I can access it by http://localhost:8080/xwiki/wiki/testwiki/view/Main but https://mydomain/xwiki/wiki/testwiki/view/Main send me many script errors ! >>>> What are theses errors exactly ? >>>> >>>>> I tried to declare SSL or not fin or the wiki descriptor=> same results. >>>>> I tried to force xwiki.url.protocol=https in xwiki.cfg => same results. >>>>> >>>>> Is there anything else to do for that kind of access ? >>>>> >>>>> Before migration, 1.8 was fine ! >>>>> Migration from 1.8 to 2.1.1 had that problem. I thought that could be the migration, so I tried with a fresh new install => always the same problems... >>>>> >>>>> >>>>> ----- Message d'origine ----- >>>>> De: Thomas Mortagne<[email protected]> >>>>> Date: Jeudi, Janvier 7, 2010 6:36 pm >>>>> Objet: Re: [xwiki-users] Problem with fresh new 2.1.1 XE"M install >>>>> À: XWiki Users<[email protected]> >>>>> >>>>> >>>>>> On Thu, Jan 7, 2010 at 14:35, Gaëtan GUYODO >>>>>> <[email protected]> wrote: >>>>>>> I, >>>>>>> I (still) have some problems with XEM 2.1.1 (tomcat 6.0.20 / oracle >>>>>> 10.2 >>>>>>> / windows 2003 server / Apache 2.0.23). >>>>>>> I have installed last tomcat, installed xwiki war file, copied oracle >>>>>>> jdbc.jar file, configured hibernate.cfg.xml, xwiki.cfg. >>>>>>> Locally accessing to http://localhost:8080/xwiki/bin/view/Main/ >>>>>> seems to >>>>>>> work fine. >>>>>>> I imported xwiki-enterprise-manager-wiki-administrator-2.1.1.xar with >>>>>>> success. >>>>>>> But when I try to access to that wiki from SSL URL, as before >>>>>>> (https://mydomain/xwiki/wiki/xwiki/bin/view/Main) I got many javascripts >>>>>>> errors (line 2, caracter 1, syntax error, code 0... many many times) >>>>>>> Is there any way to make it work ? >>>>>>> I tried to force xwiki.url.protocol=https in xwiki.cfg, without results. >>>>>>> I tried to create another wiki, same problem. >>>>>>> I tried to add the full URL as alias, doesn't work ! >>>>>> The alias is the domain name not the URL. See >>>>>> http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki >>>>>> >>>>>>> => I don't have any trouble accessing by >>>>>>> http://localhost:8080/xwiki/wiki/xwiki >>>>>>> but I can't acces the same wiki using external SSL URL >>>>>>> https://mydomain/xwiki/wiki/xwiki >>>>>>> >>>>>>> Have you any idea of the requested configuration to make it work ? >>>>>>> Thanks, >>>>>>> Gaëtan
-- Sergiu Dumitriu http://purl.org/net/sergiu/
On Fri, Jan 8, 2010 at 17:30, Gaëtan GUYODO <[email protected]> wrote:
I get the wikidoesnotexist page !
I watch source of the page, and there's a few links to : /xwiki/...
but if I understand the use of wiki farm with "URL path based wiki access", every acces should come with URL like : /xwiki/wiki/aliasname
Actually when you enable URL patch based multiwiki it's mainly for generated URLs, you can still access URLs based on domains with /xwiki/bin/... URLs.
so the page you want me to check should be: /xwiki/wiki/testwiki/bin/skin/resources/js/xwiki/xwiki.js
That page seems to get better answer, I get a message "Un problème est apparu en essayant de réaliser cette action. Veuillez contacter l'administrateur si cela se reproduit." (I did not import the xar file or any page into that wiki, maybe that can explain that error page ?)
Sergiu Dumitriu a écrit :
On 01/08/2010 03:56 PM, Gaëtan GUYODO wrote:
Here is the full <head> section :
It looks good. Can you check what does the server return for /xwiki/bin/skin/resources/js/xwiki/xwiki.js ?
Sergiu Dumitriu a écrit :
Could you paste from the HTML source of the page the<head> part, especially the links to stylesheets and javascript files? I think the generated URLs are not valid.
On 01/08/2010 01:09 PM, Gaëtan GUYODO wrote:
I don't know...I explain : with IE, I get error messages as described. With firefox, I don't get any error, but menus doesn't work (when I point a mneu with the mouse, nothing happens and the menu doesn't open up ! I have installed firebug and activated all errors in the console. When I try https://mydomain/xwiki/wiki/testwiki/view/Main I get these 2 errors:
La feuille de style https://sid-sicap.aphp.fr/error.html n'a pas été chargée car son type MIME, « text/html », n'est pas « text/css » https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 0
XML tag name mismatch (expected meta) https://sid-sicap.aphp.fr/error.html Line 5
When mouse go over 'edit' menu or 'print' menu I get these errors:
showsubmenu is not defined https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 1
hidesubmenu is not defined https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 1
Any idea ?
Thomas Mortagne a écrit :
On Fri, Jan 8, 2010 at 11:51, Gaëtan GUYODO<[email protected]> wrote: > Yes, I thought about that, but I have no problem using local url (on the > server : http://localhost:8080/xwiki/wiki/testwiki/view/Main) ! in this > situation, everything works fine ! > but when I use IE or Firefox (I tried both) with external secured URL, I > get errors ! And do Firebug give you more detailed errors ?
> Thomas Mortagne a écrit : >> On Fri, Jan 8, 2010 at 09:26, Gaëtan GUYODO<[email protected]> wrote: >>> Using IE 7.0 I get "Erreur de script" (script error) : >>> line: 2 >>> character: 1 >>> Error: syntax error >>> Code: 0 >>> URL: https://mydomain/xwiki/wiki/testwiki/view/Main >>> >>> That error appends 10 times before the page appears. After that, I can't >>> use any menu, when my mouse pass on any menu, I get the same error twice. >> So you mean javascript errors. Then it's not an URL issue since you >> properly access the wiki it seems. >> >>> Is there any way to give you more information ? I don't know which >>> script, how can I get it ? >> You should try with other browsers than IE (Firefox, Opera, etc.), >> this will give us some more informations. In Firefox, install the >> extension called "Firebug" that should give you some more detailed >> informations. >> >>> Thomas Mortagne a écrit : >>>> On Thu, Jan 7, 2010 at 23:04, guyodo gaetan<[email protected]> wrote: >>>>> Thanks, >>>>> I didn't use the "domain name based wiki access" but the "URL path based wiki access" (I set xwiki.virtual.usepath=1 in xwiki.cfg file). >>>>> First I tried to access to the main wiki using https://mydomain/xwiki/wiki/xwiki/view/Main but it doesn't work (It does work, with many script errors, and many problems). >>>>> I created another wiki, called testwiki. >>>>> I can access it by http://localhost:8080/xwiki/wiki/testwiki/view/Main but https://mydomain/xwiki/wiki/testwiki/view/Main send me many script errors ! >>>> What are theses errors exactly ? >>>> >>>>> I tried to declare SSL or not fin or the wiki descriptor=> same results. >>>>> I tried to force xwiki.url.protocol=https in xwiki.cfg => same results. >>>>> >>>>> Is there anything else to do for that kind of access ? >>>>> >>>>> Before migration, 1.8 was fine ! >>>>> Migration from 1.8 to 2.1.1 had that problem. I thought that could be the migration, so I tried with a fresh new install => always the same problems... >>>>> >>>>> >>>>> ----- Message d'origine ----- >>>>> De: Thomas Mortagne<[email protected]> >>>>> Date: Jeudi, Janvier 7, 2010 6:36 pm >>>>> Objet: Re: [xwiki-users] Problem with fresh new 2.1.1 XE"M install >>>>> À: XWiki Users<[email protected]> >>>>> >>>>> >>>>>> On Thu, Jan 7, 2010 at 14:35, Gaëtan GUYODO >>>>>> <[email protected]> wrote: >>>>>>> I, >>>>>>> I (still) have some problems with XEM 2.1.1 (tomcat 6.0.20 / oracle >>>>>> 10.2 >>>>>>> / windows 2003 server / Apache 2.0.23). >>>>>>> I have installed last tomcat, installed xwiki war file, copied oracle >>>>>>> jdbc.jar file, configured hibernate.cfg.xml, xwiki.cfg. >>>>>>> Locally accessing to http://localhost:8080/xwiki/bin/view/Main/ >>>>>> seems to >>>>>>> work fine. >>>>>>> I imported xwiki-enterprise-manager-wiki-administrator-2.1.1.xar with >>>>>>> success. >>>>>>> But when I try to access to that wiki from SSL URL, as before >>>>>>> (https://mydomain/xwiki/wiki/xwiki/bin/view/Main) I got many javascripts >>>>>>> errors (line 2, caracter 1, syntax error, code 0... many many times) >>>>>>> Is there any way to make it work ? >>>>>>> I tried to force xwiki.url.protocol=https in xwiki.cfg, without results. >>>>>>> I tried to create another wiki, same problem. >>>>>>> I tried to add the full URL as alias, doesn't work ! >>>>>> The alias is the domain name not the URL. See >>>>>> http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki >>>>>> >>>>>>> => I don't have any trouble accessing by >>>>>>> http://localhost:8080/xwiki/wiki/xwiki >>>>>>> but I can't acces the same wiki using external SSL URL >>>>>>> https://mydomain/xwiki/wiki/xwiki >>>>>>> >>>>>>> Have you any idea of the requested configuration to make it work ? >>>>>>> Thanks, >>>>>>> Gaëtan
-- __________________________________________ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __________________________________________
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
On Fri, Jan 8, 2010 at 17:41, Thomas Mortagne <[email protected]> wrote:
On Fri, Jan 8, 2010 at 17:30, Gaëtan GUYODO <[email protected]> wrote:
I get the wikidoesnotexist page !
I watch source of the page, and there's a few links to : /xwiki/...
but if I understand the use of wiki farm with "URL path based wiki access", every acces should come with URL like : /xwiki/wiki/aliasname
Actually when you enable URL patch based multiwiki it's mainly for
patch=path
generated URLs, you can still access URLs based on domains with /xwiki/bin/... URLs.
so the page you want me to check should be: /xwiki/wiki/testwiki/bin/skin/resources/js/xwiki/xwiki.js
That page seems to get better answer, I get a message "Un problème est apparu en essayant de réaliser cette action. Veuillez contacter l'administrateur si cela se reproduit." (I did not import the xar file or any page into that wiki, maybe that can explain that error page ?)
Sergiu Dumitriu a écrit :
On 01/08/2010 03:56 PM, Gaëtan GUYODO wrote:
Here is the full <head> section :
It looks good. Can you check what does the server return for /xwiki/bin/skin/resources/js/xwiki/xwiki.js ?
Sergiu Dumitriu a écrit :
Could you paste from the HTML source of the page the<head> part, especially the links to stylesheets and javascript files? I think the generated URLs are not valid.
On 01/08/2010 01:09 PM, Gaëtan GUYODO wrote:
I don't know...I explain : with IE, I get error messages as described. With firefox, I don't get any error, but menus doesn't work (when I point a mneu with the mouse, nothing happens and the menu doesn't open up ! I have installed firebug and activated all errors in the console. When I try https://mydomain/xwiki/wiki/testwiki/view/Main I get these 2 errors:
La feuille de style https://sid-sicap.aphp.fr/error.html n'a pas été chargée car son type MIME, « text/html », n'est pas « text/css » https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 0
XML tag name mismatch (expected meta) https://sid-sicap.aphp.fr/error.html Line 5
When mouse go over 'edit' menu or 'print' menu I get these errors:
showsubmenu is not defined https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 1
hidesubmenu is not defined https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 1
Any idea ?
Thomas Mortagne a écrit : > On Fri, Jan 8, 2010 at 11:51, Gaëtan GUYODO<[email protected]> wrote: >> Yes, I thought about that, but I have no problem using local url (on the >> server : http://localhost:8080/xwiki/wiki/testwiki/view/Main) ! in this >> situation, everything works fine ! >> but when I use IE or Firefox (I tried both) with external secured URL, I >> get errors ! > And do Firebug give you more detailed errors ? > >> Thomas Mortagne a écrit : >>> On Fri, Jan 8, 2010 at 09:26, Gaëtan GUYODO<[email protected]> wrote: >>>> Using IE 7.0 I get "Erreur de script" (script error) : >>>> line: 2 >>>> character: 1 >>>> Error: syntax error >>>> Code: 0 >>>> URL: https://mydomain/xwiki/wiki/testwiki/view/Main >>>> >>>> That error appends 10 times before the page appears. After that, I can't >>>> use any menu, when my mouse pass on any menu, I get the same error twice. >>> So you mean javascript errors. Then it's not an URL issue since you >>> properly access the wiki it seems. >>> >>>> Is there any way to give you more information ? I don't know which >>>> script, how can I get it ? >>> You should try with other browsers than IE (Firefox, Opera, etc.), >>> this will give us some more informations. In Firefox, install the >>> extension called "Firebug" that should give you some more detailed >>> informations. >>> >>>> Thomas Mortagne a écrit : >>>>> On Thu, Jan 7, 2010 at 23:04, guyodo gaetan<[email protected]> wrote: >>>>>> Thanks, >>>>>> I didn't use the "domain name based wiki access" but the "URL path based wiki access" (I set xwiki.virtual.usepath=1 in xwiki.cfg file). >>>>>> First I tried to access to the main wiki using https://mydomain/xwiki/wiki/xwiki/view/Main but it doesn't work (It does work, with many script errors, and many problems). >>>>>> I created another wiki, called testwiki. >>>>>> I can access it by http://localhost:8080/xwiki/wiki/testwiki/view/Main but https://mydomain/xwiki/wiki/testwiki/view/Main send me many script errors ! >>>>> What are theses errors exactly ? >>>>> >>>>>> I tried to declare SSL or not fin or the wiki descriptor=> same results. >>>>>> I tried to force xwiki.url.protocol=https in xwiki.cfg => same results. >>>>>> >>>>>> Is there anything else to do for that kind of access ? >>>>>> >>>>>> Before migration, 1.8 was fine ! >>>>>> Migration from 1.8 to 2.1.1 had that problem. I thought that could be the migration, so I tried with a fresh new install => always the same problems... >>>>>> >>>>>> >>>>>> ----- Message d'origine ----- >>>>>> De: Thomas Mortagne<[email protected]> >>>>>> Date: Jeudi, Janvier 7, 2010 6:36 pm >>>>>> Objet: Re: [xwiki-users] Problem with fresh new 2.1.1 XE"M install >>>>>> À: XWiki Users<[email protected]> >>>>>> >>>>>> >>>>>>> On Thu, Jan 7, 2010 at 14:35, Gaëtan GUYODO >>>>>>> <[email protected]> wrote: >>>>>>>> I, >>>>>>>> I (still) have some problems with XEM 2.1.1 (tomcat 6.0.20 / oracle >>>>>>> 10.2 >>>>>>>> / windows 2003 server / Apache 2.0.23). >>>>>>>> I have installed last tomcat, installed xwiki war file, copied oracle >>>>>>>> jdbc.jar file, configured hibernate.cfg.xml, xwiki.cfg. >>>>>>>> Locally accessing to http://localhost:8080/xwiki/bin/view/Main/ >>>>>>> seems to >>>>>>>> work fine. >>>>>>>> I imported xwiki-enterprise-manager-wiki-administrator-2.1.1.xar with >>>>>>>> success. >>>>>>>> But when I try to access to that wiki from SSL URL, as before >>>>>>>> (https://mydomain/xwiki/wiki/xwiki/bin/view/Main) I got many javascripts >>>>>>>> errors (line 2, caracter 1, syntax error, code 0... many many times) >>>>>>>> Is there any way to make it work ? >>>>>>>> I tried to force xwiki.url.protocol=https in xwiki.cfg, without results. >>>>>>>> I tried to create another wiki, same problem. >>>>>>>> I tried to add the full URL as alias, doesn't work ! >>>>>>> The alias is the domain name not the URL. See >>>>>>> http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki >>>>>>> >>>>>>>> => I don't have any trouble accessing by >>>>>>>> http://localhost:8080/xwiki/wiki/xwiki >>>>>>>> but I can't acces the same wiki using external SSL URL >>>>>>>> https://mydomain/xwiki/wiki/xwiki >>>>>>>> >>>>>>>> Have you any idea of the requested configuration to make it work ? >>>>>>>> Thanks, >>>>>>>> Gaëtan
-- __________________________________________ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __________________________________________
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
-- Thomas Mortagne
Yes, I have this file. Maybe I have a problem with my apache and tomcat config... I'll try to check. I don't understand why I can access by localhost but not by https... Sergiu Dumitriu a écrit :
On 01/08/2010 05:30 PM, Gaëtan GUYODO wrote:
I get the wikidoesnotexist page !
I watch source of the page, and there's a few links to : /xwiki/...
but if I understand the use of wiki farm with "URL path based wiki access", every acces should come with URL like : /xwiki/wiki/aliasname
No, this URL format is only for wiki pages. This is a skin resource, which should not depend on the current wiki, so /xwiki/bin/skin/ should be valid.
Could you check that you do have a file in <xwiki webapp folder>/resources/js/xwiki/xwiki.js?
so the page you want me to check should be: /xwiki/wiki/testwiki/bin/skin/resources/js/xwiki/xwiki.js
That page seems to get better answer, I get a message "Un problème est apparu en essayant de réaliser cette action. Veuillez contacter l'administrateur si cela se reproduit." (I did not import the xar file or any page into that wiki, maybe that can explain that error page ?)
Sergiu Dumitriu a écrit :
On 01/08/2010 03:56 PM, Gaëtan GUYODO wrote:
Here is the full<head> section :
It looks good. Can you check what does the server return for /xwiki/bin/skin/resources/js/xwiki/xwiki.js ?
Sergiu Dumitriu a écrit :
Could you paste from the HTML source of the page the<head> part, especially the links to stylesheets and javascript files? I think the generated URLs are not valid.
On 01/08/2010 01:09 PM, Gaëtan GUYODO wrote:
I don't know...I explain : with IE, I get error messages as described. With firefox, I don't get any error, but menus doesn't work (when I point a mneu with the mouse, nothing happens and the menu doesn't open up ! I have installed firebug and activated all errors in the console. When I try https://mydomain/xwiki/wiki/testwiki/view/Main I get these 2 errors:
La feuille de style https://sid-sicap.aphp.fr/error.html n'a pas été chargée car son type MIME, « text/html », n'est pas « text/css » https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 0
XML tag name mismatch (expected meta) https://sid-sicap.aphp.fr/error.html Line 5
When mouse go over 'edit' menu or 'print' menu I get these errors:
showsubmenu is not defined https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 1
hidesubmenu is not defined https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ Line 1
Any idea ?
Thomas Mortagne a écrit : > On Fri, Jan 8, 2010 at 11:51, Gaëtan GUYODO<[email protected]> wrote: >> Yes, I thought about that, but I have no problem using local url (on the >> server : http://localhost:8080/xwiki/wiki/testwiki/view/Main) ! in this >> situation, everything works fine ! >> but when I use IE or Firefox (I tried both) with external secured URL, I >> get errors ! > And do Firebug give you more detailed errors ? > >> Thomas Mortagne a écrit : >>> On Fri, Jan 8, 2010 at 09:26, Gaëtan GUYODO<[email protected]> wrote: >>>> Using IE 7.0 I get "Erreur de script" (script error) : >>>> line: 2 >>>> character: 1 >>>> Error: syntax error >>>> Code: 0 >>>> URL: https://mydomain/xwiki/wiki/testwiki/view/Main >>>> >>>> That error appends 10 times before the page appears. After that, I can't >>>> use any menu, when my mouse pass on any menu, I get the same error twice. >>> So you mean javascript errors. Then it's not an URL issue since you >>> properly access the wiki it seems. >>> >>>> Is there any way to give you more information ? I don't know which >>>> script, how can I get it ? >>> You should try with other browsers than IE (Firefox, Opera, etc.), >>> this will give us some more informations. In Firefox, install the >>> extension called "Firebug" that should give you some more detailed >>> informations. >>> >>>> Thomas Mortagne a écrit : >>>>> On Thu, Jan 7, 2010 at 23:04, guyodo gaetan<[email protected]> wrote: >>>>>> Thanks, >>>>>> I didn't use the "domain name based wiki access" but the "URL path based wiki access" (I set xwiki.virtual.usepath=1 in xwiki.cfg file). >>>>>> First I tried to access to the main wiki using https://mydomain/xwiki/wiki/xwiki/view/Main but it doesn't work (It does work, with many script errors, and many problems). >>>>>> I created another wiki, called testwiki. >>>>>> I can access it by http://localhost:8080/xwiki/wiki/testwiki/view/Main but https://mydomain/xwiki/wiki/testwiki/view/Main send me many script errors ! >>>>> What are theses errors exactly ? >>>>> >>>>>> I tried to declare SSL or not fin or the wiki descriptor=> same results. >>>>>> I tried to force xwiki.url.protocol=https in xwiki.cfg => same results. >>>>>> >>>>>> Is there anything else to do for that kind of access ? >>>>>> >>>>>> Before migration, 1.8 was fine ! >>>>>> Migration from 1.8 to 2.1.1 had that problem. I thought that could be the migration, so I tried with a fresh new install => always the same problems... >>>>>> >>>>>> >>>>>> ----- Message d'origine ----- >>>>>> De: Thomas Mortagne<[email protected]> >>>>>> Date: Jeudi, Janvier 7, 2010 6:36 pm >>>>>> Objet: Re: [xwiki-users] Problem with fresh new 2.1.1 XE"M install >>>>>> À: XWiki Users<[email protected]> >>>>>> >>>>>> >>>>>>> On Thu, Jan 7, 2010 at 14:35, Gaëtan GUYODO >>>>>>> <[email protected]> wrote: >>>>>>>> I, >>>>>>>> I (still) have some problems with XEM 2.1.1 (tomcat 6.0.20 / oracle >>>>>>> 10.2 >>>>>>>> / windows 2003 server / Apache 2.0.23). >>>>>>>> I have installed last tomcat, installed xwiki war file, copied oracle >>>>>>>> jdbc.jar file, configured hibernate.cfg.xml, xwiki.cfg. >>>>>>>> Locally accessing to http://localhost:8080/xwiki/bin/view/Main/ >>>>>>> seems to >>>>>>>> work fine. >>>>>>>> I imported xwiki-enterprise-manager-wiki-administrator-2.1.1.xar with >>>>>>>> success. >>>>>>>> But when I try to access to that wiki from SSL URL, as before >>>>>>>> (https://mydomain/xwiki/wiki/xwiki/bin/view/Main) I got many javascripts >>>>>>>> errors (line 2, caracter 1, syntax error, code 0... many many times) >>>>>>>> Is there any way to make it work ? >>>>>>>> I tried to force xwiki.url.protocol=https in xwiki.cfg, without results. >>>>>>>> I tried to create another wiki, same problem. >>>>>>>> I tried to add the full URL as alias, doesn't work ! >>>>>>> The alias is the domain name not the URL. See >>>>>>> http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki >>>>>>> >>>>>>>> => I don't have any trouble accessing by >>>>>>>> http://localhost:8080/xwiki/wiki/xwiki >>>>>>>> but I can't acces the same wiki using external SSL URL >>>>>>>> https://mydomain/xwiki/wiki/xwiki >>>>>>>> >>>>>>>> Have you any idea of the requested configuration to make it work ? >>>>>>>> Thanks, >>>>>>>> Gaëtan
-- __________________________________________ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __________________________________________
A=I don't know why I didn't test that before, but when I use https://mydomain/... I get errors, but if I use https://164.xxx.yyy.zzz/... everything works fine ! I'll try to understand why... Thomas Mortagne a écrit :
On Fri, Jan 8, 2010 at 17:41, Thomas Mortagne <[email protected]> wrote:
On Fri, Jan 8, 2010 at 17:30, Gaëtan GUYODO <[email protected]> wrote:
I get the wikidoesnotexist page !
I watch source of the page, and there's a few links to : /xwiki/...
but if I understand the use of wiki farm with "URL path based wiki access", every acces should come with URL like : /xwiki/wiki/aliasname Actually when you enable URL patch based multiwiki it's mainly for
patch=path
generated URLs, you can still access URLs based on domains with /xwiki/bin/... URLs.
so the page you want me to check should be: /xwiki/wiki/testwiki/bin/skin/resources/js/xwiki/xwiki.js
That page seems to get better answer, I get a message "Un problème est apparu en essayant de réaliser cette action. Veuillez contacter l'administrateur si cela se reproduit." (I did not import the xar file or any page into that wiki, maybe that can explain that error page ?)
Sergiu Dumitriu a écrit :
On 01/08/2010 03:56 PM, Gaëtan GUYODO wrote:
Here is the full <head> section :
It looks good. Can you check what does the server return for /xwiki/bin/skin/resources/js/xwiki/xwiki.js ?
Sergiu Dumitriu a écrit :
Could you paste from the HTML source of the page the<head> part, especially the links to stylesheets and javascript files? I think the generated URLs are not valid.
On 01/08/2010 01:09 PM, Gaëtan GUYODO wrote: > I don't know...I explain : with IE, I get error messages as described. > With firefox, I don't get any error, but menus doesn't work (when I > point a mneu with the mouse, nothing happens and the menu doesn't open up ! > I have installed firebug and activated all errors in the console. When I > try https://mydomain/xwiki/wiki/testwiki/view/Main I get these 2 errors: > > La feuille de style https://sid-sicap.aphp.fr/error.html n'a pas été > chargée car son type MIME, « text/html », n'est pas « text/css » > https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ > Line 0 > > XML tag name mismatch (expected meta) > https://sid-sicap.aphp.fr/error.html > Line 5 > > > When mouse go over 'edit' menu or 'print' menu I get these errors: > > showsubmenu is not defined > https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ > Line 1 > > hidesubmenu is not defined > https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ > Line 1 > > Any idea ? > > Thomas Mortagne a écrit : >> On Fri, Jan 8, 2010 at 11:51, Gaëtan GUYODO<[email protected]> wrote: >>> Yes, I thought about that, but I have no problem using local url (on the >>> server : http://localhost:8080/xwiki/wiki/testwiki/view/Main) ! in this >>> situation, everything works fine ! >>> but when I use IE or Firefox (I tried both) with external secured URL, I >>> get errors ! >> And do Firebug give you more detailed errors ? >> >>> Thomas Mortagne a écrit : >>>> On Fri, Jan 8, 2010 at 09:26, Gaëtan GUYODO<[email protected]> wrote: >>>>> Using IE 7.0 I get "Erreur de script" (script error) : >>>>> line: 2 >>>>> character: 1 >>>>> Error: syntax error >>>>> Code: 0 >>>>> URL: https://mydomain/xwiki/wiki/testwiki/view/Main >>>>> >>>>> That error appends 10 times before the page appears. After that, I can't >>>>> use any menu, when my mouse pass on any menu, I get the same error twice. >>>> So you mean javascript errors. Then it's not an URL issue since you >>>> properly access the wiki it seems. >>>> >>>>> Is there any way to give you more information ? I don't know which >>>>> script, how can I get it ? >>>> You should try with other browsers than IE (Firefox, Opera, etc.), >>>> this will give us some more informations. In Firefox, install the >>>> extension called "Firebug" that should give you some more detailed >>>> informations. >>>> >>>>> Thomas Mortagne a écrit : >>>>>> On Thu, Jan 7, 2010 at 23:04, guyodo gaetan<[email protected]> wrote: >>>>>>> Thanks, >>>>>>> I didn't use the "domain name based wiki access" but the "URL path based wiki access" (I set xwiki.virtual.usepath=1 in xwiki.cfg file). >>>>>>> First I tried to access to the main wiki using https://mydomain/xwiki/wiki/xwiki/view/Main but it doesn't work (It does work, with many script errors, and many problems). >>>>>>> I created another wiki, called testwiki. >>>>>>> I can access it by http://localhost:8080/xwiki/wiki/testwiki/view/Main but https://mydomain/xwiki/wiki/testwiki/view/Main send me many script errors ! >>>>>> What are theses errors exactly ? >>>>>> >>>>>>> I tried to declare SSL or not fin or the wiki descriptor=> same results. >>>>>>> I tried to force xwiki.url.protocol=https in xwiki.cfg => same results. >>>>>>> >>>>>>> Is there anything else to do for that kind of access ? >>>>>>> >>>>>>> Before migration, 1.8 was fine ! >>>>>>> Migration from 1.8 to 2.1.1 had that problem. I thought that could be the migration, so I tried with a fresh new install => always the same problems... >>>>>>> >>>>>>> >>>>>>> ----- Message d'origine ----- >>>>>>> De: Thomas Mortagne<[email protected]> >>>>>>> Date: Jeudi, Janvier 7, 2010 6:36 pm >>>>>>> Objet: Re: [xwiki-users] Problem with fresh new 2.1.1 XE"M install >>>>>>> À: XWiki Users<[email protected]> >>>>>>> >>>>>>> >>>>>>>> On Thu, Jan 7, 2010 at 14:35, Gaëtan GUYODO >>>>>>>> <[email protected]> wrote: >>>>>>>>> I, >>>>>>>>> I (still) have some problems with XEM 2.1.1 (tomcat 6.0.20 / oracle >>>>>>>> 10.2 >>>>>>>>> / windows 2003 server / Apache 2.0.23). >>>>>>>>> I have installed last tomcat, installed xwiki war file, copied oracle >>>>>>>>> jdbc.jar file, configured hibernate.cfg.xml, xwiki.cfg. >>>>>>>>> Locally accessing to http://localhost:8080/xwiki/bin/view/Main/ >>>>>>>> seems to >>>>>>>>> work fine. >>>>>>>>> I imported xwiki-enterprise-manager-wiki-administrator-2.1.1.xar with >>>>>>>>> success. >>>>>>>>> But when I try to access to that wiki from SSL URL, as before >>>>>>>>> (https://mydomain/xwiki/wiki/xwiki/bin/view/Main) I got many javascripts >>>>>>>>> errors (line 2, caracter 1, syntax error, code 0... many many times) >>>>>>>>> Is there any way to make it work ? >>>>>>>>> I tried to force xwiki.url.protocol=https in xwiki.cfg, without results. >>>>>>>>> I tried to create another wiki, same problem. >>>>>>>>> I tried to add the full URL as alias, doesn't work ! >>>>>>>> The alias is the domain name not the URL. See >>>>>>>> http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki >>>>>>>> >>>>>>>>> => I don't have any trouble accessing by >>>>>>>>> http://localhost:8080/xwiki/wiki/xwiki >>>>>>>>> but I can't acces the same wiki using external SSL URL >>>>>>>>> https://mydomain/xwiki/wiki/xwiki >>>>>>>>> >>>>>>>>> Have you any idea of the requested configuration to make it work ? >>>>>>>>> Thanks, >>>>>>>>> Gaëtan
-- __________________________________________ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __________________________________________
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
-- __________________________________________ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __________________________________________
Sorry, some menus appears, but doesn't work fine... I'll stop annoying you and I'll try to think during the week-end... thanks for your ideas Gaëtan GUYODO a écrit :
A=I don't know why I didn't test that before, but when I use https://mydomain/... I get errors, but if I use https://164.xxx.yyy.zzz/... everything works fine ! I'll try to understand why...
Thomas Mortagne a écrit :
On Fri, Jan 8, 2010 at 17:41, Thomas Mortagne <[email protected]> wrote:
On Fri, Jan 8, 2010 at 17:30, Gaëtan GUYODO <[email protected]> wrote:
I get the wikidoesnotexist page !
I watch source of the page, and there's a few links to : /xwiki/...
but if I understand the use of wiki farm with "URL path based wiki access", every acces should come with URL like : /xwiki/wiki/aliasname Actually when you enable URL patch based multiwiki it's mainly for patch=path
generated URLs, you can still access URLs based on domains with /xwiki/bin/... URLs.
so the page you want me to check should be: /xwiki/wiki/testwiki/bin/skin/resources/js/xwiki/xwiki.js
That page seems to get better answer, I get a message "Un problème est apparu en essayant de réaliser cette action. Veuillez contacter l'administrateur si cela se reproduit." (I did not import the xar file or any page into that wiki, maybe that can explain that error page ?)
Sergiu Dumitriu a écrit :
On 01/08/2010 03:56 PM, Gaëtan GUYODO wrote:
Here is the full <head> section :
It looks good. Can you check what does the server return for /xwiki/bin/skin/resources/js/xwiki/xwiki.js ?
Sergiu Dumitriu a écrit : > Could you paste from the HTML source of the page the<head> part, > especially the links to stylesheets and javascript files? I think the > generated URLs are not valid. > > On 01/08/2010 01:09 PM, Gaëtan GUYODO wrote: >> I don't know...I explain : with IE, I get error messages as described. >> With firefox, I don't get any error, but menus doesn't work (when I >> point a mneu with the mouse, nothing happens and the menu doesn't open up ! >> I have installed firebug and activated all errors in the console. When I >> try https://mydomain/xwiki/wiki/testwiki/view/Main I get these 2 errors: >> >> La feuille de style https://sid-sicap.aphp.fr/error.html n'a pas été >> chargée car son type MIME, « text/html », n'est pas « text/css » >> https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ >> Line 0 >> >> XML tag name mismatch (expected meta) >> https://sid-sicap.aphp.fr/error.html >> Line 5 >> >> >> When mouse go over 'edit' menu or 'print' menu I get these errors: >> >> showsubmenu is not defined >> https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ >> Line 1 >> >> hidesubmenu is not defined >> https://sid-sicap.aphp.fr/xwiki/wiki/testwiki/view/Main/ >> Line 1 >> >> Any idea ? >> >> Thomas Mortagne a écrit : >>> On Fri, Jan 8, 2010 at 11:51, Gaëtan GUYODO<[email protected]> wrote: >>>> Yes, I thought about that, but I have no problem using local url (on the >>>> server : http://localhost:8080/xwiki/wiki/testwiki/view/Main) ! in this >>>> situation, everything works fine ! >>>> but when I use IE or Firefox (I tried both) with external secured URL, I >>>> get errors ! >>> And do Firebug give you more detailed errors ? >>> >>>> Thomas Mortagne a écrit : >>>>> On Fri, Jan 8, 2010 at 09:26, Gaëtan GUYODO<[email protected]> wrote: >>>>>> Using IE 7.0 I get "Erreur de script" (script error) : >>>>>> line: 2 >>>>>> character: 1 >>>>>> Error: syntax error >>>>>> Code: 0 >>>>>> URL: https://mydomain/xwiki/wiki/testwiki/view/Main >>>>>> >>>>>> That error appends 10 times before the page appears. After that, I can't >>>>>> use any menu, when my mouse pass on any menu, I get the same error twice. >>>>> So you mean javascript errors. Then it's not an URL issue since you >>>>> properly access the wiki it seems. >>>>> >>>>>> Is there any way to give you more information ? I don't know which >>>>>> script, how can I get it ? >>>>> You should try with other browsers than IE (Firefox, Opera, etc.), >>>>> this will give us some more informations. In Firefox, install the >>>>> extension called "Firebug" that should give you some more detailed >>>>> informations. >>>>> >>>>>> Thomas Mortagne a écrit : >>>>>>> On Thu, Jan 7, 2010 at 23:04, guyodo gaetan<[email protected]> wrote: >>>>>>>> Thanks, >>>>>>>> I didn't use the "domain name based wiki access" but the "URL path based wiki access" (I set xwiki.virtual.usepath=1 in xwiki.cfg file). >>>>>>>> First I tried to access to the main wiki using https://mydomain/xwiki/wiki/xwiki/view/Main but it doesn't work (It does work, with many script errors, and many problems). >>>>>>>> I created another wiki, called testwiki. >>>>>>>> I can access it by http://localhost:8080/xwiki/wiki/testwiki/view/Main but https://mydomain/xwiki/wiki/testwiki/view/Main send me many script errors ! >>>>>>> What are theses errors exactly ? >>>>>>> >>>>>>>> I tried to declare SSL or not fin or the wiki descriptor=> same results. >>>>>>>> I tried to force xwiki.url.protocol=https in xwiki.cfg => same results. >>>>>>>> >>>>>>>> Is there anything else to do for that kind of access ? >>>>>>>> >>>>>>>> Before migration, 1.8 was fine ! >>>>>>>> Migration from 1.8 to 2.1.1 had that problem. I thought that could be the migration, so I tried with a fresh new install => always the same problems... >>>>>>>> >>>>>>>> >>>>>>>> ----- Message d'origine ----- >>>>>>>> De: Thomas Mortagne<[email protected]> >>>>>>>> Date: Jeudi, Janvier 7, 2010 6:36 pm >>>>>>>> Objet: Re: [xwiki-users] Problem with fresh new 2.1.1 XE"M install >>>>>>>> À: XWiki Users<[email protected]> >>>>>>>> >>>>>>>> >>>>>>>>> On Thu, Jan 7, 2010 at 14:35, Gaëtan GUYODO >>>>>>>>> <[email protected]> wrote: >>>>>>>>>> I, >>>>>>>>>> I (still) have some problems with XEM 2.1.1 (tomcat 6.0.20 / oracle >>>>>>>>> 10.2 >>>>>>>>>> / windows 2003 server / Apache 2.0.23). >>>>>>>>>> I have installed last tomcat, installed xwiki war file, copied oracle >>>>>>>>>> jdbc.jar file, configured hibernate.cfg.xml, xwiki.cfg. >>>>>>>>>> Locally accessing to http://localhost:8080/xwiki/bin/view/Main/ >>>>>>>>> seems to >>>>>>>>>> work fine. >>>>>>>>>> I imported xwiki-enterprise-manager-wiki-administrator-2.1.1.xar with >>>>>>>>>> success. >>>>>>>>>> But when I try to access to that wiki from SSL URL, as before >>>>>>>>>> (https://mydomain/xwiki/wiki/xwiki/bin/view/Main) I got many javascripts >>>>>>>>>> errors (line 2, caracter 1, syntax error, code 0... many many times) >>>>>>>>>> Is there any way to make it work ? >>>>>>>>>> I tried to force xwiki.url.protocol=https in xwiki.cfg, without results. >>>>>>>>>> I tried to create another wiki, same problem. >>>>>>>>>> I tried to add the full URL as alias, doesn't work ! >>>>>>>>> The alias is the domain name not the URL. See >>>>>>>>> http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki >>>>>>>>> >>>>>>>>>> => I don't have any trouble accessing by >>>>>>>>>> http://localhost:8080/xwiki/wiki/xwiki >>>>>>>>>> but I can't acces the same wiki using external SSL URL >>>>>>>>>> https://mydomain/xwiki/wiki/xwiki >>>>>>>>>> >>>>>>>>>> Have you any idea of the requested configuration to make it work ? >>>>>>>>>> Thanks, >>>>>>>>>> Gaëtan --
Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __________________________________________
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
-- __________________________________________ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __________________________________________
Hi, I tried to find a solution about my secured access problem, but I failed... Here I am: - I use apache https server (2.2.14) as frontal webserver - I use tomcat (6.0.20) as java container for xwiki - I use mod_jk.so httpd module as connector between httpd and tomcat, with that configuration in httpd.conf: LoadModule jk_module modules/mod_jk.so <IfModule jk_module> # Where to find workers.properties JkWorkersFile "C:/Program Files/Apache Software Foundation/Tomcat 6.0/conf/jk/workers.properties" # Where to put jk logs JkLogFile "D:/weblogs/2.2/mod_jk.log" # Set the jk log level [debug/error/info] JkLogLevel info # Select the timestamp log format JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " # Send JSPs for context /examples to worker named worker1 JkMount /xwiki/* ajp13w JkMount /xwiki ajp13w </IfModule> -I have these lines into the workers.properties file : worker.list=ajp13w worker.ajp13w.type=ajp13 worker.ajp13w.host=localhost worker.ajp13w.port=8009 I still have "javascripts" errors. I still can't access to /xwiki/bin/skin/resources/js/xwiki/xwiki.js (redirected to the xwiki.virtual.redirect URL). I still have no error into httpd logs or xwiki logs. Do you have any idea of what is going wrong ? I'm sorry to ask you again, but I have to say that I'm really lost... Gaëtan Niels Mayer a écrit :
On Thu, Jan 7, 2010 at 5:35 AM, Gaëtan GUYODO <[email protected] <mailto:[email protected]>> wrote:
I tried to force xwiki.url.protocol=https in xwiki.cfg, without results. I tried to create another wiki, same problem. I tried to add the full URL as alias, doesn't work !
=> I don't have any trouble accessing by http://localhost:8080/xwiki/wiki/xwiki but I can't acces the same wiki using external SSL URL https://mydomain/xwiki/wiki/xwiki
You can't run SSL on a random port, and HTTPS, bound to 443, is privileged and requires a privileged process (that's why a high-number port like 8080 is used by default, it's a random, nonprivileged port). Since you don't want to run java as a privileged process, but people trust apache to run this way, you use a connector ( http://tomcat.apache.org/connectors-doc/reference/apache.html ) to bridge between java and a secure SSL front-end.
Although tomcat can do SSL, it's better and more secure to front tomcat with Apache Httpd: use mod_proxy <http://httpd.apache.org/docs/2.0/mod/mod_proxy.html> and mod_proxy_ajp <http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html> to talk to tomcat, and mod_ssl <http://www.modssl.org/> to handle SSL (helpful security hint that is de rigueur for hospital and patient data: use mod_auth_mysql <http://modauthmysql.sourceforge.net/> and client-side certificates <http://www.modssl.org/docs/2.8/ssl_howto.html#ToC6> to prevent any access from those without client certs... see "fake basic auth" concept in http://www.modssl.org/docs/2.8/ssl_reference.html#SSLOptions ... if you don't have a client-certificate access, you get redirected to the "public" part of the web like in http://ipssources.net )
Quickndirty configuration hints:
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so ProxyPass /xwiki/ ajp://127.0.0.1:8009/xwiki/ <http://127.0.0.1:8009/xwiki/>
<IfModule mod_proxy.c> ProxyRequests Off
## NPM: see http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HModProxyAJ... ProxyPreserveHost On </IfModule>
Niels http://nielsmayer.com
-- __________________________________________ Gaëtan GUYODO Chargé de mission Centre Antipoison - Hôpital Fernand WIDAL 200, rue du faubourg St Denis 75475 PARIS Cedex 10 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 __________________________________________
participants (5)
-
Gaëtan GUYODO -
guyodo gaetan -
Niels Mayer -
Sergiu Dumitriu -
Thomas Mortagne