Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache Fragen
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
Tinitus
Veteran
Veteran


Joined: 20 Sep 2004
Posts: 1754

PostPosted: Sun Apr 17, 2005 11:59 am    Post subject: Apache Fragen Reply with quote

Hallo,
habe einen Rootserver auf Gentoo umgestellt

deshalb folgende Fragen zum Apache:

1. wenn man mehrere Subdomains hat sub1.domain.de sub2.domain.de --> wie kann ich für jede Domain ein anderes Dokumentroot angeben? in der httpd.conf? Wie genau?

2. kann ich, wenn ich nur eine IP habe dann für alle Subdomins eine https Zugang definieren? Oder geht das nur für eine?

3. ist die Weiterleitung http Aufruf --> nach https...(falls jemand eine http Seite aufruft) per HTML zu gestalten?
Oder bietet Apache dafür ein Modul an?

Danke
G. R.
Back to top
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Sun Apr 17, 2005 12:51 pm    Post subject: Re: Apache Fragen Reply with quote

Tinitus wrote:

1. wenn man mehrere Subdomains hat sub1.domain.de sub2.domain.de --> wie kann ich für jede Domain ein anderes Dokumentroot angeben? in der httpd.conf? Wie genau?


Mach Dich mal schlau über virtual hosts und schau auch in das Verzeichnis /etc/apache2/conf/vhosts/.

Tinitus wrote:

3. ist die Weiterleitung http Aufruf --> nach https...(falls jemand eine http Seite aufruft) per HTML zu gestalten?
Oder bietet Apache dafür ein Modul an?


Hier könnte Dir das Modul mod_rewrite helfen, schau mal in die Anleitungen unter http://httpd.apache.org/docs-2.0/.
_________________
Never argue with an idiot. He brings you down to his level, then beats you with experience.

How-To: Daten verschlüsselt auf DVD speichern.
Back to top
View user's profile Send private message
M@rio
n00b
n00b


Joined: 01 Dec 2004
Posts: 27
Location: Graz

PostPosted: Mon Apr 18, 2005 7:20 am    Post subject: Re: Apache Fragen Reply with quote

Tinitus wrote:
1. wenn man mehrere Subdomains hat sub1.domain.de sub2.domain.de --> wie kann ich für jede Domain ein anderes Dokumentroot angeben? in der httpd.conf? Wie genau?
http://httpd.apache.org/docs-2.0/vhosts/name-based.html
Tinitus wrote:

2. kann ich, wenn ich nur eine IP habe dann für alle Subdomins eine https Zugang definieren? Oder geht das nur für eine?
Namensbasierte virtuelle Hosts können aufgrund der Natur des SSL-Protokolls nicht mit SSL-gesicherten Servern verwendet werden.
Also pro IP ein Host.
Back to top
View user's profile Send private message
null_
Tux's lil' helper
Tux's lil' helper


Joined: 20 Jun 2004
Posts: 147
Location: Switzerland

PostPosted: Mon Apr 18, 2005 8:32 am    Post subject: Re: Apache Fragen Reply with quote

M@rio wrote:
Namensbasierte virtuelle Hosts können aufgrund der Natur des SSL-Protokolls nicht mit SSL-gesicherten Servern verwendet werden.
Also pro IP ein Host.


Sicher? Ich hab einen namenbasierten Vhost admin.meinedomain, den ich über https aufrufen kann. https://meinedomain geht allerdings nicht (ist aber auch nicht konfiguriert)
_________________
http://www.initng.org/ - next generation init
Back to top
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Mon Apr 18, 2005 8:53 am    Post subject: Reply with quote

Aufrufen kannst Du es vielleicht - aber Du wirst bestimmt nicht mehr als ein Zertifikat haben, oder?
_________________
Never argue with an idiot. He brings you down to his level, then beats you with experience.

How-To: Daten verschlüsselt auf DVD speichern.
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