Bonjour,

je me suis installé un proxypass et proxyreverse pour accéder aux services de mes vm plus facilement.
Seulement, dès que je pointe sur www.mondomaine.net j'arrive directement sur /app1/ d'une des vm.
Je me doute qu'il doit s'agir d'un soucis de confing, mais comme proxypass et proxyreverse sont assez simple, j'ai du mal à trouver mon erreur.

Je vous met mes fichiers de config apache2:

proxy.conf
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
 
<IfModule mod_proxy.c>
 
# If you want to use apache2 as a forward proxy, uncomment the
# 'ProxyRequests On' line and the <Proxy *> block below.
# WARNING: Be careful to restrict access inside the <Proxy *> block.
# Open proxy servers are dangerous both to your network and to the
# Internet at large.
#
# If you only want to use apache2 as a reverse proxy/gateway in
# front of some web application server, you DON'T need
# 'ProxyRequests On'.
 
#ProxyRequests On
#<Proxy *>
#        AddDefaultCharset off
#        Order deny,allow
#        Deny from all
#        #Allow from .example.com
#</Proxy>
 
# Enable/disable the handling of HTTP/1.1 "Via:" headers.
# ("Full" adds the server version; "Block" removes all outgoing Via: headers)
# Set to one of: Off | On | Full | Block
#ProxyVia Off
 
 
ProxyRequests off
#ProxyPreserveHost On
 
######
# ASPWIKI
######
ProxyPass /aspwiki http://192.168.1.201/aspwiki
ProxyPassReverse /aspwiki http://192.168.1.201/aspwiki
<Location /aspwiki/>
         ProxyPass http://192.168.1.201/aspwiki
         RequestHeader    unset  Accept-Encoding
</Location>
 
######
# GEMINI
######
ProxyPass /Gemini http://192.168.1.201/Gemini
ProxyPassReverse /Gemini http://192.168.1.201/Gemini
<Location /Gemini/>
         ProxyPass http://192.168.1.201/Gemini
         RequestHeader    unset  Accept-Encoding
</Location>
 
######
# ATLAS
######
ProxyPass /atlas http://192.168.1.201/atlas
ProxyPassReverse /atlas http://192.168.1.201/atlas
<Location /atlas/>
         ProxyPass http://192.168.1.201/atlas
         RequestHeader    unset  Accept-Encoding
</Location>
 
######
# XWIKI
######
ProxyPass /xwiki  http://192.168.1.202:8080/xwiki
ProxyPassReverse  /xwiki http://192.168.1.202:8080/xwiki
<Location /xwiki/>
         ProxyPass http://192.168.1.202:8080/xwiki
         RequestHeader    unset  Accept-Encoding
</Location>
 
</IfModule>
Un .htaccess à la racine du serveur apache qui dispatch:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
 
RewriteEngine On
 
##########
# MINECRAFT DYNMAP
##########
RewriteRule /dynmap/up/(.*) http://localhost:8123/up/$1 [P,L]
 
RewriteRule ^[GgEeMmIiNnIi] /Gemini [P]
RewriteRule ^[AaTtLlAaSs]   /atlas  [P]
RewriteRule ^[XxWwIiKkIi]   /xwiki  [P]
Dès que je met http://192.168.1.200 ca bascule sur 192.168.1.201/Gemini
Je ne veux pas que ca tombe sur Gemini en directe.