[Apache]standaard pagina blijft webmail[httpd.conf]

Pagina: 1
Acties:

  • KoBolD54
  • Registratie: Maart 2002
  • Laatst online: 16:06
Ik heb een apache webserver draaien en heb sinds kort mijn computer opnieuw geinstalleerd.
Nu heb ik mijn apache config file dus helemaal opnieuwe aangemaakt en aangepast alleen zit ik met het volgende:

er draaien een aantal websites op mijn server o.a. www.lounge-room.nl
Maar welke url ik van me server intyp hij gaat altijd naar de website: webmail.lounge-room.nl

Ik heb al uren op de apache website gekeken en naar me oude config file maar ik zie niet iets wat ik fout doe.
Hopelijk zien jullie iets, hier mijn virtualhostname list:

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
NameVirtualHost *:80

<VirtualHost *:80>

#######################arico.nl#######################
 ServerName www.arico.nl
 ServerAlias arico.nl *.arico.nl
 DocumentRoot D:/Internet/wwwroot/
######################################################

#####################stunt.mine.nu####################
 ServerName stunt.mine.nu
 DocumentRoot D:/Internet/wwwroot/
######################################################

########################server########################
 ServerName server
 DocumentRoot D:/Internet/wwwroot/
######################################################

####################lounge-room.nl####################
 ServerName www.lounge-room.nl
 ServerAlias lounge-room.nl *.lounge-room.nl
 DocumentRoot D:/Internet/wwwroot/
######################################################

################webmail.lounge-room.nl################
 ServerName webmail.lounge-room.nl
 ProxyPass / "http://127.0.0.1:3000/"
######################################################

################control.lounge-room.nl################
 ServerName control.lounge-room.nl
 ProxyPass / "https://127.0.0.1:2000/"
######################################################

</VirtualHost>

  • Kettrick
  • Registratie: Augustus 2000
  • Laatst online: 15:26

Kettrick

Rantmeister!

probeer eens :
code:
1
2
3
4
5
6
7
8
9
10
11
12
NameVirtualHost *:80

<VirtualHost *:80>

#######################arico.nl#######################
 ServerName www.arico.nl
 ServerAlias arico.nl *.arico.nl
 DocumentRoot D:/Internet/wwwroot/
######################################################
</VirtualHost>

etc.

  • KoBolD54
  • Registratie: Maart 2002
  • Laatst online: 16:06
tnx dat werkte, toch raar.....

  • Kettrick
  • Registratie: Augustus 2000
  • Laatst online: 15:26

Kettrick

Rantmeister!

Daar is niets raars aan, zo is het formaat van de configfile nou eenmaal :)
Op deze manier maak je combinatie's van servername's en documentroot's, dit samen maakt een vhost. In je eerste config had je maar een vhost waarin je een paar keer je eigen directives overschreef.