This question about Configuration: Closed unanswered

Integrate virtual hosts in place of web argument

I would like to configure my Foswiki installation so that the following URIs are presented to the user's browser:

someweb.wiki.alphanet.ch/Document (for viewing) - someweb.wiki.alphanet.ch/bin/edit/Document (for other functions)

this is quite simple to do with a combination of ShortUrl.conf, vhost rewriting, and rewriting rules (but is costly, because the redirect is sent to the user's browser).

In addition, when refering to another Web, the URL generated also requires a rewriting/redirect, which is costly.

So what about a new scheme: - the vhost first subdomain is used as the web name - references to any web are produced as theweb.SOME-DOMAIN/Document (and not Web/Document)

Is this reasonable ? has this been somewhat implemented already.

The main goal is to avoid the browser redirects.

-- MarcSCHAEFER - 31 May 2009

Do you want to disable or circumvent the concept of webs? What is the reason behind movin the web into the host part of the url?

-- OliverKrueger - 31 May 2009

Closing it unanswered due to inactivity. Please re-open it, if necessary.

-- OliverKrueger - 26 Sep 2009

QuestionForm edit

Subject Configuration
Extension
Version
Status Closed unanswered
Topic revision: r4 - 26 Sep 2009, OliverKrueger
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy