Dit is wat er op dit moment gebeurd:
.
Beetje slechte compressie maar het rode vlak verwijst dus naar mail.a.nl
Zo zou ik het graag willen hebben.
.
Nu is het vreemde dat elk subdomein onder A en B verwijst naar mail.A.nl. Nu is dit (nog) niet het probleem wat ik probeer op te lossen. Mijn probleem is dus dat ook B.nl verwijst naar mail.A.nl.
Als ik even kijk naar de host files zijn ze allemaal hetzelfde.
Voorbeeld van A.NL
Voorbeeld van mail.A.nl
Voorbeeld van B.nl
Specs:
Webserver: Apache/2.2.12 (Ubuntu)
Julle zijn wel erg snel, ik was nog niet helemaal klaar met mijn TS
Beetje slechte compressie maar het rode vlak verwijst dus naar mail.a.nl
Zo zou ik het graag willen hebben.
Nu is het vreemde dat elk subdomein onder A en B verwijst naar mail.A.nl. Nu is dit (nog) niet het probleem wat ik probeer op te lossen. Mijn probleem is dus dat ook B.nl verwijst naar mail.A.nl.
Als ik even kijk naar de host files zijn ze allemaal hetzelfde.
Voorbeeld van A.NL
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
| <VirtualHost *:80>
ServerAdmin n.v.t
ServerName www.A.nl:80
ServerAlias A.nl:80
DocumentRoot /var/www/A.nl
<Directory />
Options FollowSymLinks
AllowOverride all
</Directory>
<Directory "/var/www/A.nl/">
Options -Indexes FollowSymLinks MultiViews
AllowOverride none
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error_A.nl.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel info
CustomLog /var/log/apache2/access_A.nl.log combined |
Voorbeeld van mail.A.nl
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
| <VirtualHost *:80>
ServerAdmin n.v.t
ServerName mail.A.nl:80
DocumentRoot /var/www/mail.A.nl
<Directory />
Options FollowSymLinks
AllowOverride all
</Directory>
<Directory "/var/www/mail.A.nl/">
Options -Indexes FollowSymLinks MultiViews
AllowOverride none
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error_mail.A.nl.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel info
CustomLog /var/log/apache2/access_mail.A.nl.log combined |
Voorbeeld van B.nl
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
| <VirtualHost *:80>
ServerAdmin N.V.T
ServerName www.B.nl:80
ServerAlias B.nl:80
DocumentRoot /var/www/B.nl/
<Directory />
Options FollowSymLinks
AllowOverride all
</Directory>
<Directory "/var/www/B.nl">
Options -Indexes FollowSymLinks MultiViews
AllowOverride none
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error_B.nl.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel info
CustomLog /var/log/apache2/access_B.nl.log combined |
Specs:
Webserver: Apache/2.2.12 (Ubuntu)
Julle zijn wel erg snel, ik was nog niet helemaal klaar met mijn TS
[ Voor 194% gewijzigd door battler op 19-05-2010 16:10 ]
Lux.Architectuur | Van Dromen tot Wonen | www.Lux-a.nl