Thomas, You nailed it on the head. I need to set up the domain as an alias on the Main wiki. It appears to be working as expected on both machines. Thanks a bunch! On Fri, Jan 22, 2010 at 5:09 AM, Thomas Mortagne <[email protected]>wrote:
On Fri, Jan 22, 2010 at 10:13, Thomas Mortagne <[email protected]> wrote:
On Thu, Jan 21, 2010 at 22:18, Jared Pearson <[email protected]> wrote:
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/
Sorry I did not read that carefully, indeed this looks wrong. When you use /wiki/xwiki/ instead or /bin/ the domain should not be taken into account at all so it seems there is a bug here.
I may have an idea of what's wrong: it's possible the domain is resolved and generate some error before anything else is parsed, could you try to put "domain" as one of the main wiki secondary aliases ? In other word make http://domain:8081/xwiki/bin/WikiManager/ works and see if it makes http://domain:8081/xwiki/wiki/xwiki/WikiManager/ works.
No, does not seems to be that, at least i can't reproduce it myself. I have http://domain:8080/xwiki/wiki/test/view/Main/ able to find the wiki working without having http://domain:8080/xwiki/bin/view/Main/ working
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
-- Thomas Mortagne
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users