Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache via Dyndns nimmt Hostname als Domain
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
musv
Advocate
Advocate


Joined: 01 Dec 2002
Posts: 3333
Location: de

PostPosted: Thu Nov 08, 2012 9:47 am    Post subject: Apache via Dyndns nimmt Hostname als Domain Reply with quote

Hallo,

vor einiger Zeit ist mein Gentoo auf einen neuen Rechner umgezogen. Auf dem Ding läuft auch mein lokales Media-Wiki, wo ich meine ganzen Erkenntnisse des steinigen Gentoo-Pfades festhalten.

Um nicht jedes Mal localhost/mediawiki tippen zu müssen, hab ich mir einen Shortcut angelegt.

cat /var/www/localhost/htdocs/w/index.html:

<meta http-equiv="refresh" content="0; URL=../mediawiki/">


Verhalten früher:
  • Aufruf lokal: http://localhost/w -> funktioniert
  • Aufruf im lokalen Netzwerk: http://hexe/w -> funktioniert
  • Aufruf von außen: http://sagichnicht.dyndns.org/w -> funktioniert


Verhalten jetzt:
  • Aufruf lokal: http://localhost/w -> funktioniert
  • Aufruf im lokalen Netzwerk: http://hexe/w -> funktioniert
  • Aufruf von außen: http://sagichnicht.dyndns.org/w -> macht aus der URL ein http://www.hexe.de/w und scheitert logischweise.


Mit welcher Einstellung krieg ich Apache dazu, das frühere Verhalten wieder herzustellen?

Apache-Version: 2.2.23 (mit der 2.4.3 hatte ich so meine Konfigurationsprobleme)
Geänderte Config:
/etc/apache2/httpd.conf:
ServerName localhost

/etc/conf.d/apache2:
APACHE2_OPTS="-D DEFAULT_VHOST -D INFO -D MANUAL -D SSL -D SSL_DEFAULT_VHOST -D LANGUAGE -D PHP5"

Der Rest ist Originalkonfiguration.

Oder liegt's am Mediawiki? Da gab's in letzter Zeit so einige Updates.
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1668

PostPosted: Thu Nov 08, 2012 11:59 am    Post subject: Reply with quote

eventuell liegt es auch an diesen mediawiki feature, das aus ../wiki/Hauptseite sowas wie .../wiki/index.php?Hauptseite macht, aber da weiß ich nicht genau wie das funktioniert. einmal eingerichtet, und seit dem gehts, aber vielleicht kannst du in der richtung mal nachforschen
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum