Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Probleme beim apache upgrade 2.0 nach 2.2
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
Daimos
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2003
Posts: 78

PostPosted: Sat Sep 15, 2007 4:16 pm    Post subject: Probleme beim apache upgrade 2.0 nach 2.2 Reply with quote

Mittlerweile ist ja der apache in Version 2.2 als stable markiert, leider funktionieren meine vhosts nicht mehr.

Wenn ich das richtig sehe, ist die config mittlerweile aufgeteilt und das meiste liegt im vhost verzeichnis. Der "Default" host ist in /etc/apache2/vhosts.d/default_vhost.include drin und funktioniert auch wunderbar (liegt in /var/www/localhost/htdocs)

Sobald ich aber in der /etc/apache2/vhosts.d/00_default_vhost.conf meine üblichen vhost Einträge setze, bekomme ich auf allen domains (auch der Hauptdomain) nen 403. Ein Eintrag sieht folgendermaßen aus und lief mit dem 2.0er Apachen auch wunderbar:

<VirtualHost forum.daimos.de:80>
ServerName forum.daimos.de:80
ServerAlias forum.daimos.de *.forum.daimos.de
DocumentRoot "/var/www/forum.daimos.de/htdocs"
</VirtualHost>

Hat jemand ne Idee, was ich falsch mache?
Back to top
View user's profile Send private message
dertobi123
Retired Dev
Retired Dev


Joined: 19 Nov 2002
Posts: 2679
Location: Oberhausen, Germany

PostPosted: Mon Sep 17, 2007 5:27 am    Post subject: Reply with quote

403? Fehlt in der Konfiguration deiner Vhosts ein <Directory>?
_________________
Ganz frisch: Praxisbuch Nagios
Gentoo Linux - Die Metadistribution (2. Auflage)
Back to top
View user's profile Send private message
mueli
Retired Dev
Retired Dev


Joined: 05 Dec 2006
Posts: 14
Location: Graz - Austria

PostPosted: Mon Sep 17, 2007 8:54 am    Post subject: Reply with quote

APACHE2_OPTS="-D DEFAULT_VHOST" hast Du gesetzt? Vielleicht hat Dir ja etc-update nen Streich gespielt ;)
_________________
"To Err is Human. But to Make a Real Mess You Need a
Computer Too" - Dan Rather
Back to top
View user's profile Send private message
Polynomial-C
Retired Dev
Retired Dev


Joined: 01 Jun 2003
Posts: 1432
Location: Germany

PostPosted: Mon Sep 17, 2007 9:05 am    Post subject: Reply with quote

Definitiv fehlende <Directory> Direktiven. Ich bekam auch haufenweise 403er um die Ohren geworfen, nach dem Update auf apache-2.2
_________________
The manual said "Requires Windows10 or better" so I installed GNU/Linux...

my portage overlay

Need a stage1 tarball? (Unofficial builds)
Back to top
View user's profile Send private message
Daimos
Tux's lil' helper
Tux's lil' helper


Joined: 08 May 2003
Posts: 78

PostPosted: Wed Sep 19, 2007 7:58 pm    Post subject: Reply with quote

Jo danke, es hat in der Tat ws mit dem <Directory> Geraffel zu tun. Habs noch nicht "sauber" laufen, weiss aber immerhin, wo der Fehler liegt.

Danke an alle!
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3943
Location: Hamburg

PostPosted: Thu Sep 20, 2007 9:27 am    Post subject: Reply with quote

Ich bin am besten damit gefahren, sämtliche Konfig-Dateien zu sichern, anschließend die originalen apache2-Konfig-Dateien (die nach dem Upgrade) entsprechend anzupassen.
Back to top
View user's profile Send private message
pablo_supertux
Advocate
Advocate


Joined: 25 Jan 2004
Posts: 2953
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Thu Sep 20, 2007 3:00 pm    Post subject: Reply with quote

toralf wrote:
Ich bin am besten damit gefahren, sämtliche Konfig-Dateien zu sichern, anschließend die originalen apache2-Konfig-Dateien (die nach dem Upgrade) entsprechend anzupassen.


ja, da kann ich nur zustimmen. Beim letzten Update hat mir viel Zeit erspart.
_________________
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
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