Hehe, me as a beginner dont understand anything anymore. Maybe someone wants to put a line under all this and tell if it is definately possible or not.
If so, what do i have to change in which file etc. if i use MW on a shared webhosting? ty all :) On Sat, Oct 29, 2011 at 4:22 PM, Platonides <[email protected]> wrote: > Daniel Friesen wrote: > > How the shared host was setup to point two domains at the site wasn't > even > > mentioned iirc. > > > > Frankly it's even possible that the host themselves is actually taking > > whatever 'extra domain' you give them and doing a dumb 301 or frame > > redirect instead of just doing what a ServerAlias would do. > > > > Btw, we use HTTP_HOST first not SERVER_NAME. > > That's true for 1.18 but not for 1.17 > > http://svn.wikimedia.org/viewvc/mediawiki/branches/REL1_17/phase3/includes/DefaultSettings.php?view=markup#l54 > > Prefering SERVER_NAME to HTTP_HOST seems the sensible thing to do, as > then if you have "UseCanonicalName On" you always get the right server > name, even in the case of malicious user requests. > > The order of WebRequest::detectServer() seems to have been copied from > Installer::envRequestServer() both edits by Tim (r90105, r90194). > > Tim, was there any reason to have HTTP_HOST in preference to SERVER_NAME? > > I see there could be problems with a truncated SERVER_NAME variable with > lighttpd (r83847) but that seems taken care by the function already. > > _______________________________________________ > MediaWiki-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
