I had the same problem few weeks ago, and I didn't find any reason, neither any solution ! I was using the same mode: "URL path based access". Everything was fine with 1.8 but with same configuration, accessing by domain name was not possible with XEM 2.1.1. I don't have any idea of what is it or where does it comes from, sorry. Gaëtan Jared Pearson a écrit :
Thanks Thomas for such a quick response. I've read over the link you've sent many times over and am still not seeing what my configuration is missing.
I haven't said this yet but I'm trying to use "URL path based access" I don't have access to the DNS, so I cannot use the domain name approach.
I've attached a screen capture of the list of wiki instances from the WikiManager interface. Below is the important information from the table (in case you can't view the image).
| Name | Domain Names | | templatexe (templatexe) | templatexe | | devWiki (?devWiki) | devWiki | | xwiki | -wikimanager -xwiki |
My assumptions are that the wiki names are accessible using URL path based access as:
"templatexe" http://domain:8081/xwiki/wiki/templatexe
"devWiki" http://domain:8081/xwiki/wiki/devWiki
"xwiki" http://domain:8081/xwiki/ OR http://domain:8081/xwiki/wiki/xwiki OR http://domain:8081/xwiki/wiki/wikimanager
However the pages aren't accessible.
Here are the relevant settings from the xwiki.cfg. Let me know if you need any more.
#--------------------------------------- # Virtual wikis (farm) xwiki.virtual=1 xwiki.virtual.redirect=/ThisWikiDoesNotExist # xwiki.virtual.reserved_wikis= xwiki.virtual.usepath=1 # xwiki.virtual.usepath.servletpath=wiki
On 1/21/10, Thomas Mortagne <[email protected]> wrote:
On Thu, Jan 21, 2010 at 20:14, Thomas Mortagne <[email protected]> wrote:
On Thu, Jan 21, 2010 at 19:19, Jared Pearson <[email protected]> wrote:
Thanks Thomas.
I went to the WikiManager (http://localhost:8081/xwiki/bin/view/WikiManager/) and added a new alias "xwiki" to the Main entry. "xwiki" is the identifier of the wiki, what you are supposed to put in "alias" field is the domain. As it is said in the documentation XWiki search in the wikis descriptors for the domain in the URL to find the corresponding wiki. Also you should make it the main alias (and add "locahost" as secondary alias if you really need it, for example 127.0.0.1 does not need to be added to the descriptor like any IP) instead of adding it since the default alias is the one used to generate external URL pointing to this wiki and i doubt you want them to be http://localhost:8081/xwiki/wiki/xwiki/WikiManager/
I'm able to access it from localhost but not from the domain. http://localhost:8081/xwiki/wiki/xwiki/WikiManager/ http://domain:8081/xwiki/wiki/xwiki/WikiManager/
I've also noticed that the "/bin" servlet is not serving files through the domain address. For example, requesting "/xwiki/bin/skin/resources/js/xwiki/xwiki.js" sends a 302 HTTP header to the "ThisWikiDoesNotExist" page. Could this be related?
On 1/21/10, Thomas Mortagne <[email protected]> wrote:
On Thu, Jan 21, 2010 at 15:39, Jared Pearson <[email protected]> wrote:
I've installed XWiki Enterprise Manager 2.1.1 and have created a new XWiki Enterprise instance. I can access the WikiManager through localhost but not through the domain; it always redirects to the ThisIsNotAWiki page. I would like to manage the creation/deletion of Wiki installations through the domain and not have to VPN into the server to use localhost. Did you looked at http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki ?
You are supposed to set the domain/alias in the wiki descriptor and the main wiki is a wiki like another.
Works http://localhost:8081/xwiki/
Doesn't Work http://domain:8081/xwiki/
BTW, I'm able to access the wiki created through the WikiManager through the domain.
Works http://localhost:8081/xwiki/wiki/mywiki http://domain:8081/xwiki/wiki/mywiki
Any help would be great. _______________________________________________ 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
-- 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 __________________________________________