IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Apache Discussion :

Proxypass et reverse, j'y perd mon latin


Sujet :

Apache

  1. #1
    Membre très actif
    Profil pro
    Développeur .NET
    Inscrit en
    Février 2005
    Messages
    367
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations professionnelles :
    Activité : Développeur .NET
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Février 2005
    Messages : 367
    Par défaut Proxypass et reverse, j'y perd mon latin
    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.

  2. #2
    Rédacteur
    Avatar de _Mac_
    Profil pro
    Inscrit en
    Août 2005
    Messages
    9 601
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2005
    Messages : 9 601
    Par défaut
    A priori le problème vient d'ailleurs : toutes les règles que tu donnes contiennent un chemin non vide, donc elles ne devraient pas être activées par un simple appel à /. Il y a un hôte virtuel pour 192.168.1.200 et/ou www.mondomaine.net ?

  3. #3
    Membre très actif
    Profil pro
    Développeur .NET
    Inscrit en
    Février 2005
    Messages
    367
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations professionnelles :
    Activité : Développeur .NET
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Février 2005
    Messages : 367
    Par défaut
    Citation Envoyé par _Mac_ Voir le message
    A priori le problème vient d'ailleurs : toutes les règles que tu donnes contiennent un chemin non vide, donc elles ne devraient pas être activées par un simple appel à /. Il y a un hôte virtuel pour 192.168.1.200 et/ou www.mondomaine.net ?
    Non, je n'ai que <VirtualHost *:80> et <VirtualHost *:443>

    Je met mon default ici:
    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
    <VirtualHost *:80>
    	ServerAdmin admin@nomail.com
    	ServerName www.mondomaine.net
     
    	DocumentRoot /var/www
    	<Directory />
    		Options FollowSymLinks Indexes
    		AllowOverride All
    	</Directory>
    	<Directory /var/www/>
    		Options Indexes FollowSymLinks MultiViews
    		AllowOverride All
    		Order allow,deny
    		allow from all
    	</Directory>
     
            <Directory /usr/share/gitweb>
                Options FollowSymLinks ExecCGI
                AddHandler cgi-script cgi
                RewriteEngine On
                RewriteCond %{REQUEST_FILENAME} !-f
                RewriteCond %{REQUEST_FILENAME} !-d
                RewriteRule ^.* /index.cgi/$0 [L,PT]
           </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.log
     
    	# Possible values include: debug, info, notice, warn, error, crit,
    	# alert, emerg.
    	LogLevel warn
     
    	CustomLog /var/log/apache2/access.log combined
     
    	Alias /doc/ "/usr/share/doc/"
    	<Directory "/usr/share/doc/">
    	    Options Indexes MultiViews FollowSymLinks
    	    AllowOverride None
    	    Order deny,allow
    	    Deny from all
    	    Allow from 127.0.0.0/255.0.0.0 ::1/128
    	</Directory>
     
    	## Alfresco / Share
    	JkMountCopy On
    	JkMount /alfresco worker1
    	JKMount /alfresco/* worker1
    	JkMount /share worker1
    	JkMount /share/* worker1
     
        ## Minecraft Dynamp
        Alias /dynmap/tiles /home/minecraft_server/plugins/dynmap/web/tiles/
     
        <Directory /home/minecraft_server/plugins/dynmap/web/tiles/>
            Order allow,deny
            Allow from all
        </Directory>
     
        <Proxy http://localhost:8123/*>
            Order deny,allow
            Allow from all
        </Proxy>
     
    </VirtualHost>

  4. #4
    Rédacteur
    Avatar de _Mac_
    Profil pro
    Inscrit en
    Août 2005
    Messages
    9 601
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2005
    Messages : 9 601
    Par défaut
    Je ne vois pas ce qui cloche. Tu as essayé de passer les logs d'Apache à un niveau debug pour comprendre le problème ? As-tu également vidé le cache de ton navigateur avant de tester ? Il se peut que ce soit une vieille redirection résiduelle quand tu faisais des tests.

  5. #5
    Membre très actif
    Profil pro
    Développeur .NET
    Inscrit en
    Février 2005
    Messages
    367
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations professionnelles :
    Activité : Développeur .NET
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Février 2005
    Messages : 367
    Par défaut
    Dès que je met le RewriteEngine sur Off alors / ne redirige plus sur /Gemini
    Je vais voir le mode debug demain dans la journée.

    Pour ce qui est du browser j'ai pris apache avec le cache sur off.

  6. #6
    Rédacteur
    Avatar de _Mac_
    Profil pro
    Inscrit en
    Août 2005
    Messages
    9 601
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2005
    Messages : 9 601
    Par défaut
    Quel RewritEngine ? Celui du .htaccess ?

    Active les logs d'Apache et de mod_rewrite (ce n'est pas la même chose).

  7. #7
    Membre très actif
    Profil pro
    Développeur .NET
    Inscrit en
    Février 2005
    Messages
    367
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations professionnelles :
    Activité : Développeur .NET
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Février 2005
    Messages : 367
    Par défaut
    Citation Envoyé par _Mac_ Voir le message
    Quel RewritEngine ? Celui du .htaccess ?

    Active les logs d'Apache et de mod_rewrite (ce n'est pas la même chose).
    Oui le rewrite du htaccess.

  8. #8
    Membre très actif
    Profil pro
    Développeur .NET
    Inscrit en
    Février 2005
    Messages
    367
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations professionnelles :
    Activité : Développeur .NET
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Février 2005
    Messages : 367
    Par défaut
    Citation Envoyé par xarkam Voir le message
    Oui le rewrite du htaccess.
    EDIT:
    Voici le debug d'apache:
    Au démarrage du serveur:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    [Tue Jun 19 09:56:30 2012] [debug] proxy_util.c(1803): proxy: worker http://192.168.1.201/aspwiki already initialized
    [Tue Jun 19 09:56:30 2012] [debug] proxy_util.c(1803): proxy: worker http://192.168.1.201/Gemini already initialized
    [Tue Jun 19 09:56:30 2012] [debug] proxy_util.c(1803): proxy: worker http://192.168.1.201/atlas already initialized
    [Tue Jun 19 09:56:30 2012] [debug] proxy_util.c(1803): proxy: worker http://192.168.1.202:8080/xwiki already initialized
    Et quant je demande /
    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
     
    [Tue Jun 19 09:57:29 2012] [debug] proxy_util.c(1525): [client 192.168.1.5] proxy: *: found reverse proxy worker for http://babi.homelinux.net/Gemini
    [Tue Jun 19 09:57:29 2012] [debug] mod_proxy.c(1020): Running scheme http handler (attempt 0)
    [Tue Jun 19 09:57:29 2012] [debug] mod_proxy_http.c(1973): proxy: HTTP: serving URL http://babi.homelinux.net/Gemini
    [Tue Jun 19 09:57:29 2012] [debug] proxy_util.c(2011): proxy: HTTP: has acquired connection for (*)
    [Tue Jun 19 09:57:29 2012] [debug] proxy_util.c(2067): proxy: connecting http://babi.homelinux.net/Gemini to babi.homelinux.net:80
    [Tue Jun 19 09:57:29 2012] [debug] proxy_util.c(2193): proxy: connected /Gemini to babi.homelinux.net:80
    [Tue Jun 19 09:57:29 2012] [debug] proxy_util.c(2444): proxy: HTTP: fam 2 socket created to connect to *
    [Tue Jun 19 09:57:29 2012] [debug] proxy_util.c(2576): proxy: HTTP: connection complete to 127.0.0.1:80 (babi.homelinux.net)
    [Tue Jun 19 09:57:29 2012] [debug] proxy_util.c(1803): proxy: worker http://192.168.1.201/aspwiki already initialized
    [Tue Jun 19 09:57:29 2012] [debug] proxy_util.c(1803): proxy: worker http://192.168.1.201/Gemini already initialized
    [Tue Jun 19 09:57:29 2012] [debug] proxy_util.c(1803): proxy: worker http://192.168.1.201/atlas already initialized
    [Tue Jun 19 09:57:29 2012] [debug] proxy_util.c(1803): proxy: worker http://192.168.1.202:8080/xwiki already initialized
    [Tue Jun 19 09:57:29 2012] [debug] mod_proxy_http.c(56): proxy: HTTP: canonicalising URL //192.168.1.201/Gemini
    [Tue Jun 19 09:57:29 2012] [debug] proxy_util.c(1506): [client 127.0.0.1] proxy: http: found worker http://192.168.1.201/Gemini for http://192.168.1.201/Gemini
    [Tue Jun 19 09:57:29 2012] [debug] mod_proxy.c(1020): Running scheme http handler (attempt 0)
    [Tue Jun 19 09:57:29 2012] [debug] mod_proxy_http.c(1973): proxy: HTTP: serving URL http://192.168.1.201/Gemini
    [Tue Jun 19 09:57:29 2012] [debug] proxy_util.c(2011): proxy: HTTP: has acquired connection for (192.168.1.201)
    [Tue Jun 19 09:57:29 2012] [debug] proxy_util.c(2067): proxy: connecting http://192.168.1.201/Gemini to 192.168.1.201:80
    [Tue Jun 19 09:57:29 2012] [debug] proxy_util.c(2193): proxy: connected /Gemini to 192.168.1.201:80
    [Tue Jun 19 09:57:29 2012] [debug] proxy_util.c(2444): proxy: HTTP: fam 2 socket created to connect to 192.168.1.201
    [Tue Jun 19 09:57:29 2012] [debug] proxy_util.c(2576): proxy: HTTP: connection complete to 192.168.1.201:80 (192.168.1.201)
    [Tue Jun 19 09:57:29 2012] [debug] mod_proxy_http.c(1743): proxy: start body send
    [Tue Jun 19 09:57:29 2012] [debug] mod_deflate.c(615): [client 127.0.0.1] Zlib: Compressed 151 to 125 : URL /Gemini
    [Tue Jun 19 09:57:29 2012] [debug] mod_proxy_http.c(1847): proxy: end body send
    [Tue Jun 19 09:57:29 2012] [debug] proxy_util.c(2029): proxy: HTTP: has released connection for (192.168.1.201)
    [Tue Jun 19 09:57:29 2012] [debug] mod_proxy_http.c(1743): proxy: start body send
    [Tue Jun 19 09:57:29 2012] [debug] mod_proxy_http.c(1847): proxy: end body send
    [Tue Jun 19 09:57:29 2012] [debug] proxy_util.c(2029): proxy: HTTP: has released connection for (*)
    [Tue Jun 19 09:57:29 2012] [debug] mod_proxy_http.c(56): proxy: HTTP: canonicalising URL //192.168.1.201/Gemini/
    [Tue Jun 19 09:57:29 2012] [debug] proxy_util.c(1506): [client 192.168.1.5] proxy: http: found worker http://192.168.1.201/Gemini for http://192.168.1.201/Gemini/
    [Tue Jun 19 09:57:29 2012] [debug] mod_proxy.c(1020): Running scheme http handler (attempt 0)
    [Tue Jun 19 09:57:29 2012] [debug] mod_proxy_http.c(1973): proxy: HTTP: serving URL http://192.168.1.201/Gemini/
    [Tue Jun 19 09:57:29 2012] [debug] proxy_util.c(2011): proxy: HTTP: has acquired connection for (192.168.1.201)
    [Tue Jun 19 09:57:29 2012] [debug] proxy_util.c(2067): proxy: connecting http://192.168.1.201/Gemini/ to 192.168.1.201:80
    [Tue Jun 19 09:57:29 2012] [debug] proxy_util.c(2193): proxy: connected /Gemini/ to 192.168.1.201:80
    [Tue Jun 19 09:57:29 2012] [debug] mod_proxy_http.c(1743): proxy: start body send
    [Tue Jun 19 09:57:29 2012] [debug] mod_proxy_http.c(1847): proxy: end body send
    Je doit recherche quoi dans le log pour être plus efficace ?
    Car il est consistant.

  9. #9
    Rédacteur
    Avatar de _Mac_
    Profil pro
    Inscrit en
    Août 2005
    Messages
    9 601
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2005
    Messages : 9 601
    Par défaut
    Active plutôt les traces de mod_rewrite.

    Ce qui me gêne dans les traces que tu donnes c'est que je ne vois rien qui concerne une demande sur /. Donc la demande sur /Gemini a déjà été faite, mais je ne sais pas par qui.

    Donne aussi la trace d'access_log qui correspond à ton appel.

  10. #10
    Membre très actif
    Profil pro
    Développeur .NET
    Inscrit en
    Février 2005
    Messages
    367
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations professionnelles :
    Activité : Développeur .NET
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Février 2005
    Messages : 367
    Par défaut
    Citation Envoyé par _Mac_ Voir le message
    Active plutôt les traces de mod_rewrite.

    Ce qui me gêne dans les traces que tu donnes c'est que je ne vois rien qui concerne une demande sur /. Donc la demande sur /Gemini a déjà été faite, mais je ne sais pas par qui.

    Donne aussi la trace d'access_log qui correspond à ton appel.
    Ok, voila le log de rewrite:
    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
    192.168.1.5 - - [19/Jun/2012:10:38:09 +0200] [babi.homelinux.net/sid#7fe7b1b43748][rid#7fe7aa33e0a0/initial] (3) [perdir /var/www/] strip per-dir prefix: /var/www/ ->
    192.168.1.5 - - [19/Jun/2012:10:38:09 +0200] [babi.homelinux.net/sid#7fe7b1b43748][rid#7fe7aa33e0a0/initial] (3) [perdir /var/www/] applying pattern '/dynmap/up/(.*)' to uri ''
    192.168.1.5 - - [19/Jun/2012:10:38:09 +0200] [babi.homelinux.net/sid#7fe7b1b43748][rid#7fe7aa33e0a0/initial] (3) [perdir /var/www/] strip per-dir prefix: /var/www/ ->
    192.168.1.5 - - [19/Jun/2012:10:38:09 +0200] [babi.homelinux.net/sid#7fe7b1b43748][rid#7fe7aa33e0a0/initial] (3) [perdir /var/www/] applying pattern '^[GgEeMmIiNnIi]' to uri ''
    192.168.1.5 - - [19/Jun/2012:10:38:09 +0200] [babi.homelinux.net/sid#7fe7b1b43748][rid#7fe7aa33e0a0/initial] (3) [perdir /var/www/] strip per-dir prefix: /var/www/ ->
    192.168.1.5 - - [19/Jun/2012:10:38:09 +0200] [babi.homelinux.net/sid#7fe7b1b43748][rid#7fe7aa33e0a0/initial] (3) [perdir /var/www/] applying pattern '^[AaTtLlAaSs]' to uri ''
    192.168.1.5 - - [19/Jun/2012:10:38:09 +0200] [babi.homelinux.net/sid#7fe7b1b43748][rid#7fe7aa33e0a0/initial] (3) [perdir /var/www/] strip per-dir prefix: /var/www/ ->
    192.168.1.5 - - [19/Jun/2012:10:38:09 +0200] [babi.homelinux.net/sid#7fe7b1b43748][rid#7fe7aa33e0a0/initial] (3) [perdir /var/www/] applying pattern '^[XxWwIiKkIi]' to uri ''
    192.168.1.5 - - [19/Jun/2012:10:38:09 +0200] [babi.homelinux.net/sid#7fe7b1b43748][rid#7fe7aa33e0a0/initial] (1) [perdir /var/www/] pass through /var/www/
    192.168.1.5 - - [19/Jun/2012:10:38:09 +0200] [babi.homelinux.net/sid#7fe7b1b43748][rid#7fe7aa3330a0/subreq] (3) [perdir /var/www/] strip per-dir prefix: /var/www/index.html -> index.html
    192.168.1.5 - - [19/Jun/2012:10:38:09 +0200] [babi.homelinux.net/sid#7fe7b1b43748][rid#7fe7aa3330a0/subreq] (3) [perdir /var/www/] applying pattern '/dynmap/up/(.*)' to uri 'index.html'
    192.168.1.5 - - [19/Jun/2012:10:38:09 +0200] [babi.homelinux.net/sid#7fe7b1b43748][rid#7fe7aa3330a0/subreq] (3) [perdir /var/www/] strip per-dir prefix: /var/www/index.html -> index.html
    192.168.1.5 - - [19/Jun/2012:10:38:09 +0200] [babi.homelinux.net/sid#7fe7b1b43748][rid#7fe7aa3330a0/subreq] (3) [perdir /var/www/] applying pattern '^[GgEeMmIiNnIi]' to uri 'index.html'
    192.168.1.5 - - [19/Jun/2012:10:38:09 +0200] [babi.homelinux.net/sid#7fe7b1b43748][rid#7fe7aa3330a0/subreq] (2) [perdir /var/www/] rewrite 'index.html' -> '/Gemini'
    192.168.1.5 - - [19/Jun/2012:10:38:09 +0200] [babi.homelinux.net/sid#7fe7b1b43748][rid#7fe7aa3330a0/subreq] (2) [perdir /var/www/] escaped URI in per-dir context for proxy, /Gemini -> /Gemini
    192.168.1.5 - - [19/Jun/2012:10:38:09 +0200] [babi.homelinux.net/sid#7fe7b1b43748][rid#7fe7aa3330a0/subreq] (2) [perdir /var/www/] forcing proxy-throughput with http://babi.homelinux.net/Gemini
    192.168.1.5 - - [19/Jun/2012:10:38:09 +0200] [babi.homelinux.net/sid#7fe7b1b43748][rid#7fe7aa3330a0/subreq] (1) [perdir /var/www/] go-ahead with proxy request proxy:http://babi.homelinux.net/Gemini [OK]
    Et celui du access:
    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
    127.0.0.1 - - [19/Jun/2012:10:38:10 +0200] "GET /Gemini HTTP/1.1" 301 472 "-" "Opera/9.80 (Windows NT 6.1; Win64; x64; U; fr) Presto/2.10.289 Version/12.00"
    192.168.1.5 - - [19/Jun/2012:10:38:09 +0200] "GET / HTTP/1.1" 301 472 "-" "Opera/9.80 (Windows NT 6.1; Win64; x64; U; fr) Presto/2.10.289 Version/12.00"
    192.168.1.5 - - [19/Jun/2012:10:38:10 +0200] "GET /Gemini/ HTTP/1.1" 302 800 "-" "Opera/9.80 (Windows NT 6.1; Win64; x64; U; fr) Presto/2.10.289 Version/12.00"
    192.168.1.5 - - [19/Jun/2012:10:38:10 +0200] "GET /Gemini/Main.aspx HTTP/1.1" 200 47672 "-" "Opera/9.80 (Windows NT 6.1; Win64; x64; U; fr) Presto/2.10.289 Version/12.00"
    192.168.1.5 - - [19/Jun/2012:10:38:10 +0200] "GET /Gemini/favicon.ico HTTP/1.1" 200 15393 "http://babi.homelinux.net/Gemini/Main.aspx" "Opera/9.80 (Windows NT 6.1; Win64; x64; U; fr) Presto/2.10.289 Version/12.00"
    192.168.1.5 - - [19/Jun/2012:10:38:10 +0200] "GET /Gemini/App_Themes/Default/Default.css HTTP/1.1" 200 15956 "http://babi.homelinux.net/Gemini/Main.aspx" "Opera/9.80 (Windows NT 6.1; Win64; x64; U; fr) Presto/2.10.289 Version/12.00"
    192.168.1.5 - - [19/Jun/2012:10:38:10 +0200] "GET /Gemini/WebResource.axd?d=wxVjTe0JUfLLIogxt47LPiAH7ZhwefEpfa88ORGPuRQbTDBQwBPu5F06DyJiFegyqKBQewJKRMqS80iPi2mKrbogbNA1&t=634605546834856163 HTTP/1.1" 200 21179 "http://babi.homelinux.net/Gemini/Main.aspx" "Opera/9.80 (Windows NT 6.1; Win64; x64; U; fr) Presto/2.10.289 Version/12.00"
    192.168.1.5 - - [19/Jun/2012:10:38:10 +0200] "GET /Gemini/images/arrow_down_small_w.png HTTP/1.1" 200 696 "http://babi.homelinux.net/Gemini/Main.aspx" "Opera/9.80 (Windows NT 6.1; Win64; x64; U; fr) Presto/2.10.289 Version/12.00"
    192.168.1.5 - - [19/Jun/2012:10:38:10 +0200] "GET /Gemini/images/20/speech.png HTTP/1.1" 200 688 "http://babi.homelinux.net/Gemini/Main.aspx" "Opera/9.80 (Windows NT 6.1; Win64; x64; U; fr) Presto/2.10.289 Version/12.00"
    192.168.1.5 - - [19/Jun/2012:10:38:10 +0200] "GET /Gemini/images/ajax_progress.gif HTTP/1.1" 200 975 "http://babi.homelinux.net/Gemini/Main.aspx" "Opera/9.80 (Windows NT 6.1; Win64; x64; U; fr) Presto/2.10.289 Version/12.00"
    192.168.1.5 - - [19/Jun/2012:10:38:10 +0200] "GET /Gemini/images/20/health_dead.png HTTP/1.1" 200 433 "http://babi.homelinux.net/Gemini/Main.aspx" "Opera/9.80 (Windows NT 6.1; Win64; x64; U; fr) Presto/2.10.289 Version/12.00"
    192.168.1.5 - - [19/Jun/2012:10:38:11 +0200] "GET /Gemini/images/favicon.jpg HTTP/1.1" 200 1169 "http://babi.homelinux.net/Gemini/Main.aspx" "Opera/9.80 (Windows NT 6.1; Win64; x64; U; fr) Presto/2.10.289 Version/12.00"
    192.168.1.5 - - [19/Jun/2012:10:38:11 +0200] "GET /Gemini/HttpCombiner.ashx?s=css&t=text/css&v=3250&cache=yes HTTP/1.1" 200 51240 "http://babi.homelinux.net/Gemini/Main.aspx" "Opera/9.80 (Windows NT 6.1; Win64; x64; U; fr) Presto/2.10.289 Version/12.00"
    192.168.1.5 - - [19/Jun/2012:10:38:11 +0200] "GET /Gemini/HttpCombiner.ashx?s=jsMinified&t=text/javascript&v=3250&cache=yes HTTP/1.1" 200 188250 "http://babi.homelinux.net/Gemini/Main.aspx" "Opera/9.80 (Windows NT 6.1; Win64; x64; U; fr) Presto/2.10.289 Version/12.00"
    192.168.1.5 - - [19/Jun/2012:10:38:11 +0200] "GET /Gemini/HttpCombiner.ashx?s=jsMinified&t=text/javascript&v=3250&cache=yes HTTP/1.1" 200 595712 "http://babi.homelinux.net/Gemini/Main.aspx" "Opera/9.80 (Windows NT 6.1; Win64; x64; U; fr) Presto/2.10.289 Version/12.00"
    192.168.1.5 - - [19/Jun/2012:10:38:12 +0200] "GET /Gemini/ScriptResource.axd?d=-ycFfnv_JmmjyqZmu0dNcsLl1fbbyT5WUiUJVVsRs-WdbHBOBKcwoKT1XBELAlbIuL6ilVbQs5iq7tDMCMIJyTqLfWrzGaF3kelbWFJRpGLtE9bGZAK4Ew95BIt_Sb6nom6EryHIIvBbpBR5xO3y8pmosfo1&t=7fe58075 HTTP/1.1" 200 99845 "http://babi.homelinux.net/Gemini/Main.aspx" "Opera/9.80 (Windows NT 6.1; Win64; x64; U; fr) Presto/2.10.289 Version/12.00"
    192.168.1.5 - - [19/Jun/2012:10:38:12 +0200] "GET /Gemini/images/arrow_down_small_w.png HTTP/1.1" 200 696 "http://babi.homelinux.net/Gemini/Main.aspx" "Opera/9.80 (Windows NT 6.1; Win64; x64; U; fr) Presto/2.10.289 Version/12.00"
    192.168.1.5 - - [19/Jun/2012:10:38:12 +0200] "GET /Gemini/images/20/health_some.png HTTP/1.1" 200 511 "http://babi.homelinux.net/Gemini/Main.aspx" "Opera/9.80 (Windows NT 6.1; Win64; x64; U; fr) Presto/2.10.289 Version/12.00"
    192.168.1.5 - - [19/Jun/2012:10:38:12 +0200] "GET /Gemini/ScriptResource.axd?d=U824n-qP3JcRL7QD70uImSqdPzgEHidDWCXoQZYplFHfR3iP0xFbHIAwfSga7cEz4fVE9bbs5csLGQwSi7q-ct3t4mMC7e4Up7kguBEcLRaKvus_JvQ_9IgVArcQgdiiPySf8ev1wV-i-GPfDeJ3sEYP3ahe3rkUt6TumJu8qoJEdjPr0&t=7fe58075 HTTP/1.1" 200 32626 "http://babi.homelinux.net/Gemini/Main.aspx" "Opera/9.80 (Windows NT 6.1; Win64; x64; U; fr) Presto/2.10.289 Version/12.00"
    192.168.1.5 - - [19/Jun/2012:10:38:12 +0200] "GET /Gemini/images/Bullet.png HTTP/1.1" 200 513 "http://babi.homelinux.net/Gemini/Main.aspx" "Opera/9.80 (Windows NT 6.1; Win64; x64; U; fr) Presto/2.10.289 Version/12.00"
    192.168.1.5 - - [19/Jun/2012:10:38:12 +0200] "GET /Gemini/images/20/health_some.png HTTP/1.1" 200 511 "http://babi.homelinux.net/Gemini/Main.aspx" "Opera/9.80 (Windows NT 6.1; Win64; x64; U; fr) Presto/2.10.289 Version/12.00"
    192.168.1.5 - - [19/Jun/2012:10:38:12 +0200] "GET /Gemini/images/ajax_progress.gif HTTP/1.1" 200 975 "http://babi.homelinux.net/Gemini/Main.aspx" "Opera/9.80 (Windows NT 6.1; Win64; x64; U; fr) Presto/2.10.289 Version/12.00"
    192.168.1.5 - - [19/Jun/2012:10:38:12 +0200] "GET /Gemini/images/20/health_dead.png HTTP/1.1" 200 433 "http://babi.homelinux.net/Gemini/Main.aspx" "Opera/9.80 (Windows NT 6.1; Win64; x64; U; fr) Presto/2.10.289 Version/12.00"
    192.168.1.5 - - [19/Jun/2012:10:38:12 +0200] "GET /Gemini/images/20/speech.png HTTP/1.1" 200 688 "http://babi.homelinux.net/Gemini/Main.aspx" "Opera/9.80 (Windows NT 6.1; Win64; x64; U; fr) Presto/2.10.289 Version/12.00"
    Etrange le rewrite de index.html vers /Gemini

  11. #11
    Rédacteur
    Avatar de _Mac_
    Profil pro
    Inscrit en
    Août 2005
    Messages
    9 601
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2005
    Messages : 9 601
    Par défaut
    Ah oui, c'est évident !!!
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    192.168.1.5 - - [19/Jun/2012:10:38:09 +0200] [babi.homelinux.net/sid#7fe7b1b43748][rid#7fe7aa3330a0/subreq] (3) [perdir /var/www/] applying pattern '^[GgEeMmIiNnIi]' to uri 'index.html'
    Les lettres entre crochets sont appliquées avec un "ou" logique : ^[GgEeMmIiNnIi] signifie littéralement "qui commence par G ou g ou E ou ou ou e ou M ou m ou I ou i ou N ou n ou I ou i". C'est pas du tout ce que tu veux dire, je pense. Il faut remplacer ça par ceci :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    RewriteRule ^gemini /Gemini [NC,P]
    RewriteRule ^atlas   /atlas  [NC,P]
    RewriteRule ^xwiki   /xwiki  [NC,P]

  12. #12
    Membre très actif
    Profil pro
    Développeur .NET
    Inscrit en
    Février 2005
    Messages
    367
    Détails du profil
    Informations personnelles :
    Localisation : Belgique

    Informations professionnelles :
    Activité : Développeur .NET
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Février 2005
    Messages : 367
    Par défaut
    Et bien ta solution fonctionne à merveille

    Un grand merci en tout cas.

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. <table> : J'y perd mon latin !
    Par zakuli dans le forum Balisage (X)HTML et validation W3C
    Réponses: 4
    Dernier message: 07/02/2009, 16h32
  2. Problème de typage: j'en perds mon latin
    Par Garulfo dans le forum Caml
    Réponses: 7
    Dernier message: 10/06/2008, 13h22
  3. getElementsByName - j'y perds mon latin !
    Par herve42 dans le forum Général JavaScript
    Réponses: 4
    Dernier message: 17/08/2007, 20h04
  4. Réponses: 6
    Dernier message: 23/05/2005, 15h38

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo