Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 09/01/2019, à 19:05

Wybo

[Résolu] Apache2 - VHost - Rediriger le port 80 vers d'autres ports

Bonsoir,

Savez-vous pourquoi ce virtual host:

- fonctionne avec l'url: mondomaine.com/heimdall

<VirtualHost *:80>
        ServerAdmin postmaster@domaine.tld
        ServerName mondomaine.com
        ProxyPass /heimdall http://localhost:8080/
        ProxyPassReverse /heimdall http://localhost:8080/
        ProxyPreserveHost On
</VirtualHost>



- Et que ce virtual host ne fonctionne pas avec cette url: mondomaine.com/radarr

<VirtualHost *:80>
        ServerAdmin postmaster@domaine.tld
        ServerName mondomaine.com
        ProxyPass /radarr http://localhost:7878/
        ProxyPassReverse /radarr http://localhost:7878/
        ProxyPreserveHost On
</VirtualHost>


Bien entendu, j’ai activer :

a2enmod proxy proxy_http

Activer le vhost

sudo a2ensite heimdall

sudo a2ensite radarr

Et fais un reload de apache

sudo systemctl reload apache2

Chaque vhost se trouve dans un fichier .conf  respectif


-------X----------X----------X-------X----------X----------X-------X----------X----------X-------X----------X----------X-------X----------X----------X-------X----------X----------X-------X----------

EDITÉ - Ci-après le contenu du post #27 du 18.01.19


Ça fonctionne !!! lol big_smile tongue cool

<VirtualHost *:80>
  ServerAdmin postmaster@domaine.tld
  ServerName mondomaine.com
  <Location />
    ProxyPass http://192.168.1.105:8080
    ProxyPassReverse http://192.168.1.105:8080
  </Location>
  <Location /heimdall>
    ProxyPass http://192.168.1.105:8080
    ProxyPassReverse http://192.168.1.105:8080
  </Location>
  <Location /radarr>
    ProxyPass http://192.168.1.105:7878/radarr
    ProxyPassReverse http://192.168.1.105:7878/radarr
  </Location>
  <Location /sonarr>
    ProxyPass http://192.168.1.105:8989/sonarr
    ProxyPassReverse http://192.168.1.105:8989/sonarr
  </Location>
  CustomLog /var/log/apache2/vhost.radarr.log combined
</VirtualHost>

J'ai du depuis radarr et sonarr ajouter :

/radarr
/sonarr

Dans cette interface, après "URL base":
1547747834-capture-d-ecran-2019-01-17-a-18-56-41.png

Après avoir clicé sur "Save" je suis retourné dans le terminal.

sudo systemctl stop radarr.service sonarr.service
sudo systemctl start radarr.service sonarr.service 
sudo systemctl status radarr.service sonarr.service

Un simple :

sudo systemctl restart radarr.service sonarr.service 

Devrait suffire

Et voilà, ça fonctionne.
mondomaine.com/
mondomaine.com/heimdall
mondomaine.com/radarr
mondomaine.com/sonarr

Je vais changer le titre de ce topic en RESOLU et coller le contenu de ce post dans le #1 pour une meilleure lisibilité pour les suivants.

Encore merci krodelabestiole pour m'avoir aidé à avancer dans ce problème !! wink

Maintenant, je vais appliquer ça aux autres service proxy que j'ai et tenté d'activer le SSL.. Je pense que ça vais aussi me prendre aussi quelques soirée, ou pas xD

Dernière modification par Wybo (Le 18/01/2019, à 20:34)


Trouver de l'aide à côté de chez vous : http://parrains.linux.free.fr/
Bien débuter sous Linux - Ubuntu : http://www.siteduzero.com/tutoriel-3-12 … linux.html
Livres libres sur logiciel libre : http://www.framabook.org/

Hors ligne

#2 Le 09/01/2019, à 20:34

krodelabestiole

Re : [Résolu] Apache2 - VHost - Rediriger le port 80 vers d'autres ports

si les 2 sont activés en même temps je crois que c'est le premier qui prend la main.

il faut choisir des domaines différents ou mettre tous tes proxypass sous le même virtualhost.

Dernière modification par krodelabestiole (Le 09/01/2019, à 20:34)

Hors ligne

#3 Le 10/01/2019, à 11:44

Wybo

Re : [Résolu] Apache2 - VHost - Rediriger le port 80 vers d'autres ports

Merci pour ta réponse

Je me suis aussi dit que le 1er prenait la main… Alors j'ai fait quelques tests:

J'ai donc tenté de placer la dizaine de sites web à l'intérieur du virtual host qui lui fonctionnait… Sans succès... Seul le 1er continue de fonctionner....

Ensuite, j'ai fait des tests en désactivent le site qui fonctionnai "a2dissite" et activé/désactivé aléatoirement les autres sites, ensemble ou séparément...

Toujours rien.

Cependant, j'ai constaté qu’aucun de ces sites ne fonctionne seul le premier oui.... Quand je le réactivai.


Du coup, soit c'est un bug à la désactivation site du premier, j'ai pu verifier dans site-eanbled qu'il n'été pas activé, soit c'est un manque de configuration de mes autres service web?

Est-ce qu'il y'a une preparation quelconque à faire avant un ProxyPass?



En lisant la doc d'Apache, je crois comprend que ce que je tente de faire est possible.

D'ailleurs sur ce forum, quelqu'un a rencontré le même problème que moi explique avoir réussi en exécutant exactement ce que je tente de faire.
https://www.commentcamarche.net/forum/a … erveur-web

Voici ce que dit la donc d'Apache, concernant ProxyPass :

Doc Apache a écrit :

Cette directive permet d'assigner des serveurs distants à une portion d'espace du serveur local ; le serveur local ne se comporte pas comme un serveur proxy au strict sens du terme, mais apparaît comme étant un miroir du serveur distant. <chemin> est le chemin local virtuel ; <url> est l'URL partielle du serveur distant.
Supposez que le serveur local ait pour adresse http://wibble.org/ ; alors

   ProxyPass /mirror/foo http://foo.com
une requête locale sur l'adresse <http://wibble.org/mirror/foo/bar> sera convertie en interne en une requête proxy sur <http://foo.com/bar>.
https://www.apachefrance.com/Manuels/Ap … proxy.html



Je crains que ce topic aille rester sans solutions  roll


Trouver de l'aide à côté de chez vous : http://parrains.linux.free.fr/
Bien débuter sous Linux - Ubuntu : http://www.siteduzero.com/tutoriel-3-12 … linux.html
Livres libres sur logiciel libre : http://www.framabook.org/

Hors ligne

#4 Le 10/01/2019, à 16:04

krodelabestiole

Re : [Résolu] Apache2 - VHost - Rediriger le port 80 vers d'autres ports

bien sûr que c'est possible (si j'ai bien compris) :

<VirtualHost *:80>
        ServerAdmin postmaster@domaine.tld
        ServerName mondomaine.com
        ProxyPass /radarr http://localhost:7878/
        ProxyPassReverse /radarr http://localhost:7878/
        ProxyPreserveHost On
</VirtualHost>

dans ta config seul le premier virtualhost peut être appelé puisqu'ils "écoutent" le même port et le même nom de domaine (il ne peut y en avoir qu'un seul de pris en compte pour chaque requête)

une autre option serait de mettre en place des alias globaux. il y a pas de doc ici à ce sujet mais voilà un exemple : https://doc.ubuntu-fr.org/apache2#fichi … javascript

Dernière modification par krodelabestiole (Le 10/01/2019, à 16:05)

Hors ligne

#5 Le 12/01/2019, à 19:10

Wybo

Re : [Résolu] Apache2 - VHost - Rediriger le port 80 vers d'autres ports

En fait sur la dizaine de services web qui tournent seuls UN fonctionne avec reverse proxy..

Bien entendu, tous fonctionnent en iplocal:port ou en ipweb:port

Fort de ce constat, j'ai retroussé les manches et j'ai tout réinstaller depuis zéro... Sur deux machines ...

J'ai essayé de faire un revers Proxy d'une machine vers l'autre

Ne fonctionnant toujours pas, j'ai décidé de ne plus utiliser Apache, mais tenter ma chance avec NginX

Et tu sais quoi ? Nginx se comporte exactement comme Apache

Nginx m'a quand même donné un meilleur résultat puisque j'ai pu voir le chargement d'un des sites... Mais rien de concret ...


Franchement, là j'échoppe de façon sévère ... >.<


Pour résumer, un seul site fonctionne avec le reverse proxy

La différence de ce service web par rapport aux autres est qu’il est le seul à avoir été installé avec docker
Les autres ont été installés normalement.

Seule l'application installer via docker fonctionne donc…

Les autres ne fonctionnent tous simplement pas


Courage.. Énième test.. Tenter d’installer un autre container pour vérifier si reverse proxy fonctionne avec deux services en même temps..

Ça devient de l’empirisme là ^^^


Je te tiens au courant

Mais j'ai le sentiment que le réel problème se situe au niveau des 9 autres service web.. Il doit leur manquer un réglage tout bête


Trouver de l'aide à côté de chez vous : http://parrains.linux.free.fr/
Bien débuter sous Linux - Ubuntu : http://www.siteduzero.com/tutoriel-3-12 … linux.html
Livres libres sur logiciel libre : http://www.framabook.org/

Hors ligne

#6 Le 12/01/2019, à 19:35

krodelabestiole

Re : [Résolu] Apache2 - VHost - Rediriger le port 80 vers d'autres ports

krodelabestiole a écrit :
<VirtualHost *:80>
        ServerAdmin postmaster@domaine.tld
        ServerName mondomaine.com
        ProxyPass /radarr http://localhost:7878/
        ProxyPassReverse /radarr http://localhost:7878/
        ProxyPreserveHost On
</VirtualHost>

houlala j'ai pas fini mon édition, je voulais dire :

<VirtualHost *:80>
        ServerAdmin postmaster@domaine.tld
        ServerName mondomaine.com
        ProxyPass /radarr http://localhost:7878/
        ProxyPassReverse /radarr http://localhost:7878/
        ProxyPass /heimdall http://localhost:8080/
        ProxyPassReverse /heimdall http://localhost:8080/
        ProxyPreserveHost On
</VirtualHost>

Hors ligne

#7 Le 12/01/2019, à 19:37

krodelabestiole

Re : [Résolu] Apache2 - VHost - Rediriger le port 80 vers d'autres ports

Wybo a écrit :

Mais j'ai le sentiment que le réel problème se situe au niveau des 9 autres service web.. Il doit leur manquer un réglage tout bête

non de ce que je comprends le problème est tout bête et tout simple : tu essaies d'appeler 2 virtualhost différents sur la même IP/port et même nom de domaine, ce qui est impossible.

Hors ligne

#8 Le 12/01/2019, à 20:40

Wybo

Re : [Résolu] Apache2 - VHost - Rediriger le port 80 vers d'autres ports

krodelabestiole a écrit :
Wybo a écrit :

Mais j'ai le sentiment que le réel problème se situe au niveau des 9 autres service web.. Il doit leur manquer un réglage tout bête

non de ce que je comprends le problème est tout bête et tout simple : tu essaies d'appeler 2 virtualhost différents sur la même IP/port et même nom de domaine, ce qui est impossible.

Dans ce cas, pourquoi je n'arrive pas à ouvrir un seul site mise à part celui qui a été installé via docker ?? Relis-moi, j'explique plus en détail en haut

Si je choisi de tester avec un seul site qui écoute le port, par exemple radarr, ça ne fonctionne pas ....

Ps .. J'avais déjà tenté la proposition de virtual host que tu vient de poster... Merci quand même :-)

Dernière modification par Wybo (Le 12/01/2019, à 20:41)


Trouver de l'aide à côté de chez vous : http://parrains.linux.free.fr/
Bien débuter sous Linux - Ubuntu : http://www.siteduzero.com/tutoriel-3-12 … linux.html
Livres libres sur logiciel libre : http://www.framabook.org/

Hors ligne

#9 Le 13/01/2019, à 08:30

krodelabestiole

Re : [Résolu] Apache2 - VHost - Rediriger le port 80 vers d'autres ports

Wybo a écrit :

Si je choisi de tester avec un seul site qui écoute le port, par exemple radarr, ça ne fonctionne pas ...

dis nous en détail ce qui ne fonctionne pas, utilise par ex. CustomLog pour un journal des accès et être sûr que c'est le bon virtualhost qui est appelé :
https://doc.ubuntu-fr.org/apache2#creat … s_virtuels

est-ce que tes services fonctionnent en local sur http://localhost:7878/ et http://localhost:8080/ ?

perso j'ai ajouté les variables d'environnement proxy-nokeepalive et proxy-sendchunked et j'utilise cette config comme base pour mes services qui passent par le mod proxy : https://doc.ubuntu-fr.org/apache2#mod_proxy

Hors ligne

#10 Le 13/01/2019, à 11:03

bruno

Re : [Résolu] Apache2 - VHost - Rediriger le port 80 vers d'autres ports

Bonjour,

Ce qu'indique krodelabestiole en #6 devrait fonctionner. Si ce n'est pas le cas il faudrait examiner les logs d'erreur.
Si tu as un vrai nom de domaine l'alternative est d'utiliser ta configuration du #1 avec des sous-domaines que tu aura créé et fait pointer vers l'IP du serveur :

<VirtualHost *:80>
        ServerAdmin postmaster@domaine.tld
        ServerName heimdall.mondomaine.com
        ProxyPass /heimdall http://localhost:8080
        ProxyPassReverse /heimdall http://localhost:8080
        ProxyPreserveHost On
</VirtualHost>
<VirtualHost *:80>
        ServerAdmin postmaster@domaine.tld
        ServerName radarr.mondomaine.com
        ProxyPass /radarr http://localhost:7878
        ProxyPassReverse /radarr http://localhost:7878
        ProxyPreserveHost On
</VirtualHost>


@krodelabestiole pourrais-tu vérifier ces deux points sur la doc que tu cites :
- il me semble qu'il faut aussi activer le module proxy_http ;
- la doc officielle indique : « Si le premier argument se termine par un slash /, il doit en être de même pour le second argument et vice versa. »

Dernière modification par bruno (Le 13/01/2019, à 11:03)

Hors ligne

#11 Le 13/01/2019, à 15:58

Wybo

Re : [Résolu] Apache2 - VHost - Rediriger le port 80 vers d'autres ports

Wybo a écrit :

Bien entendu, tous fonctionnent en iplocal:port ou en ipweb:port

Wybo a écrit :

Bien entendu, j’ai activer :

a2enmod proxy proxy_http

Je prospecte encore sur nginx avant de repartir sur apache pour faire ces différents tests avec CustomLog

@krodelabestiole: Tu dis utiliser proxy-nokeepalive et proxy-sendchunked pour tes services. Peux-tu copier tes virtualHost ici pour que je puisse m'en inspirer ?


Trouver de l'aide à côté de chez vous : http://parrains.linux.free.fr/
Bien débuter sous Linux - Ubuntu : http://www.siteduzero.com/tutoriel-3-12 … linux.html
Livres libres sur logiciel libre : http://www.framabook.org/

Hors ligne

#12 Le 14/01/2019, à 03:04

krodelabestiole

Re : [Résolu] Apache2 - VHost - Rediriger le port 80 vers d'autres ports

<VirtualHost *:80>
        ServerName emby.example.com
        RewriteEngine on
        RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
        ErrorLog /var/log/apache2/error.emby.example.com.log
        CustomLog /var/log/apache2/access.emby.example.com.log combined
</VirtualHost>

<IfModule mod_ssl.c>
<VirtualHost *:443>
        ServerName emby.example.com
        <location />
                ProxyPass http://localhost:8097/
                ProxyPassReverse http://localhost:8097/
                Require all granted
                SetEnv proxy-nokeepalive 1
                SetEnv proxy-sendchunked 1
        </location>
        SSLCertificateFile /etc/letsencrypt/live/example.com/fullchain.pem
        SSLCertificateKeyFile /etc/letsencrypt/live/example.com/privkey.pem
        Include /etc/letsencrypt/options-ssl-apache.conf
        ErrorLog /var/log/apache2/error.emby.example.com.log
        CustomLog /var/log/apache2/access.emby.example.com.log combined
</VirtualHost>
</IfModule>

alors tu peux t'en inspirer mais on n'a pas forcément la même config. j'ai d'autres virtualhosts dans le même style pour d'autres services, sur d'autres sous-domaine. toi tu as tout sous le même domaine, donc en principe tu ne devrais avec qu'un seul virtualhost (ou 2 avec le https, comme ici).

Hors ligne

#13 Le 14/01/2019, à 16:04

HPIR40

Re : [Résolu] Apache2 - VHost - Rediriger le port 80 vers d'autres ports

J'imagine que tout est ouvert comme il faut que cela soit au niveau du pc lui même qu'au niveau de la box

Déja je ferrais un fichier *.conf par site, ça évite de tout mélanger et que apache disjoncte.

Hors ligne

#14 Le 16/01/2019, à 23:15

Wybo

Re : [Résolu] Apache2 - VHost - Rediriger le port 80 vers d'autres ports

1. Installation de apache :

sudo apt-get install apache2

2. Activer les modules nécessaire - proxy proxy_http



sudo a2enmod proxy proxy_http
sudo systemctl restart apache2

3. Créer un fichier vhost et coller le texte suivant - (CustomLog de krodelabestiole)

sudo nano /etc/apache2/sites-available/heimdall.conf
<VirtualHost *:80>
        ServerAdmin postmaster@domaine.tld
        ServerName mondomaine.com
        ProxyPass /radarr http://localhost:7878/
        ProxyPassReverse /radarr http://localhost:7878/
        ProxyPass /sonarr http://localhost:8989/
        ProxyPassReverse /sonarr http://localhost:8989/
        ProxyPreserveHost On
        CustomLog /var/log/apache2/access.emby.example.com.log combined
</VirtualHost>

4. Activer le vhost


sudo a2ensite heimdall


5. Recharger Apache2 && Vérifier le status d’apache2

sudo systemctl reload apache2 && sudo systemctl status apache2

6. Tester sur le navigateur

mondomaine.com/radarr
mondomaine.com/sonarr

7. Réponse depuis le navigateur dans les deux cas

Not Found
The requested URL /radarr was not found on this server.
Apache/2.4.25 (Raspbian) Server at mondomaine.com Port 80
Not Found
The requested URL /radarr was not found on this server.
Apache/2.4.25 (Raspbian) Server at mondomaine.com Port 80

8. Test depuis le navigateur avec ip local

192.168.1.106:7878

Test concluant

9. Changer le vhost

<VirtualHost *:80>
        ServerAdmin postmaster@domaine.tld
        ServerName mondomaine.com
        ProxyPass /radarr http://192.168.1.106:7878/
        ProxyPassReverse /radarr http://192.168.1.106:7878/
        ProxyPass /sonarr http://192.168.1.106:8989/
        ProxyPassReverse /sonarr http://192.168.1.106:8989/
        ProxyPreserveHost On
        CustomLog /var/log/apache2/access.emby.example.com.log combined
</VirtualHost>
sudo systemctl reload apache2 && sudo systemctl status apache2

10. Tester sur le navigateur

mondomaine.com/radarr
mondomaine.com/sonarr

Ça fonctionne toujours pas.......

J'ai fais un truc de faux, mais quoi ?? roll neutral

11. Aller cherche les log

cd /var/log/apache2 && ls -l

total 80

-rw-r--r-- 1 root root     0 Jan 16 22:01 access.emby.example.com.log
-rw-r----- 1 root adm  31266 Jan 16 22:14 access.log
-rw-r----- 1 root adm  10081 Jan 16 22:08 error.log
-rw-r----- 1 root adm  32608 Jan 16 21:52 other_vhosts_access.log

Dernière modification par Wybo (Le 17/01/2019, à 06:29)


Trouver de l'aide à côté de chez vous : http://parrains.linux.free.fr/
Bien débuter sous Linux - Ubuntu : http://www.siteduzero.com/tutoriel-3-12 … linux.html
Livres libres sur logiciel libre : http://www.framabook.org/

Hors ligne

#15 Le 17/01/2019, à 01:47

krodelabestiole

Re : [Résolu] Apache2 - VHost - Rediriger le port 80 vers d'autres ports

Wybo a écrit :
-rw-r--r-- 1 root root     0 Jan 16 22:01 access.emby.example.com.log     ##### 0 <-- rien dedans

effectivement : ça, ça montre que ton virtualhost n'a jamais été appelé !

Tu as une 404, donc il a au moins trouvé un serveur pour mondomaine.com. Apparemment un rapsberry qui fait tourner Apache/2.4.25.


Si c'est la bonne machine, et en partant du principe que ton servername est correct (d'ailleurs fais gaffe tu as laissé ton vrai sous-domaine une fois dans chaque message wink ), il faudrait voir quel vhost prend la main sur celui qui est sensé être appelé.

tu peux nous donner le retour de :

sudo apache2ctl -tD DUMP_VHOSTS

Hors ligne

#16 Le 17/01/2019, à 06:36

Wybo

Re : [Résolu] Apache2 - VHost - Rediriger le port 80 vers d'autres ports

Effectivement, c’est corrigé, merci wink

Voici le retour de la commande

sudo apache2ctl -tD DUMP_VHOSTS

VirtualHost configuration:
*:80                   is a NameVirtualHost
         default server mondomaine.com (/etc/apache2/sites-enabled/000-default.conf:1)
         port 80 namevhost mondomaine.com (/etc/apache2/sites-enabled/000-default.conf:1)
         port 80 namevhost mondomaine.com (/etc/apache2/sites-enabled/heimdall.conf:1)

En lisant ça, je désactive le 000-default.conf

sudo a2dissite 000-default.conf 
sudo service apache2 restart && sudo systemctl status apache2

Je teste ensuite les pages depuis mon navigateur

Et je vais voir mes logs

cd /var/log/apache2 && ls -l
total 104
-rw-r--r-- 1 root root 17333 Jan 17 06:10 access.emby.example.com.log
-rw-r----- 1 root adm  35875 Jan 17 06:07 access.log
-rw-r----- 1 root adm  10485 Jan 17 06:07 error.log
-rw-r----- 1 root adm  32608 Jan 16 21:52 other_vhosts_access.log

Youpi il y'a quelque chose maintenant big_smile

Je tente un :
cat access.emby.example.com.log

Oups, je vois qu'il est bien garnit et surtout qu'il possède adresse ip public et nomme domaine.

Je présente en modifiant les données sensible avec un :
tail access.emby.example.com.log

xxx.yy.xxx.yyy - - [17/Jan/2019:06:14:30 +0000] "PROPFIND /nextcloud/remote.php/dav/files/Khaosan/ HTTP/1.1" 405 615 "-" "Mozilla/5.0 (Macintosh) mirall/2.5.1final (build 20181204) (Nextcloud)"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:15:00 +0000] "PROPFIND /nextcloud/remote.php/dav/files/Khaosan/ HTTP/1.1" 405 615 "-" "Mozilla/5.0 (Macintosh) mirall/2.5.1final (build 20181204) (Nextcloud)"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:15:30 +0000] "PROPFIND /nextcloud/remote.php/dav/files/Khaosan/ HTTP/1.1" 405 615 "-" "Mozilla/5.0 (Macintosh) mirall/2.5.1final (build 20181204) (Nextcloud)"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:16:00 +0000] "PROPFIND /nextcloud/remote.php/dav/files/Khaosan/ HTTP/1.1" 405 615 "-" "Mozilla/5.0 (Macintosh) mirall/2.5.1final (build 20181204) (Nextcloud)"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:16:30 +0000] "PROPFIND /nextcloud/remote.php/dav/files/Khaosan/ HTTP/1.1" 405 615 "-" "Mozilla/5.0 (Macintosh) mirall/2.5.1final (build 20181204) (Nextcloud)"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:17:00 +0000] "PROPFIND /nextcloud/remote.php/dav/files/Khaosan/ HTTP/1.1" 405 615 "-" "Mozilla/5.0 (Macintosh) mirall/2.5.1final (build 20181204) (Nextcloud)"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:17:02 +0000] "GET /nextcloud/ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1" 404 558 "-" "Mozilla/5.0 (Macintosh) mirall/2.5.1final (build 20181204) (Nextcloud)"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:17:30 +0000] "PROPFIND /nextcloud/remote.php/dav/files/Khaosan/ HTTP/1.1" 405 615 "-" "Mozilla/5.0 (Macintosh) mirall/2.5.1final (build 20181204) (Nextcloud)"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:18:00 +0000] "PROPFIND /nextcloud/remote.php/dav/files/Khaosan/ HTTP/1.1" 405 615 "-" "Mozilla/5.0 (Macintosh) mirall/2.5.1final (build 20181204) (Nextcloud)"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:18:30 +0000] "PROPFIND /nextcloud/remote.php/dav/files/Khaosan/ HTTP/1.1" 405 615 "-" "Mozilla/5.0 (Macintosh) mirall/2.5.1final (build 20181204) (Nextcloud)"

Je prend au hasard au milieu du log d'autres écriture qui me semble être plus pertinente :

Une fois avec radarr:

xxx.yy.xxx.yyy - - [17/Jan/2019:06:09:07 +0000] "GET /Content/cells.css?h=bMcD+/URD8bJRuC4ZrS6cw HTTP/1.1" 404 521 "http://mondoamine.com/radarr" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:09:07 +0000] "GET /Content/movies.css?h=ZX8yqdMgYSedHknqcccMPQ HTTP/1.1" 404 522 "http://mondoamine.com/radarr" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:09:07 +0000] "GET /Content/bootstrap.css?h=Cu08P6VKGmbL7JR+REz7Nw HTTP/1.1" 404 525 "http://mondoamine.com/radarr" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:09:07 +0000] "GET /Content/activity.css?h=qGb/lr8wlOFjP6ojdT/Fkg HTTP/1.1" 404 524 "mondoamine.com/radarr" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:09:07 +0000] "GET /Content/logs.css?h=DHA5Xdi32cMm+arZUwDTsQ HTTP/1.1" 404 520 "mondoamine.com/radarr" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:09:07 +0000] "GET /Content/settings.css?h=iqTzIADN2Y4SViQZ3Hjqeg HTTP/1.1" 404 524 "http://mondoamine.com/radarr" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:09:07 +0000] "GET /Content/calendar.css?h=fywjQHqkVz0LYZ6giwovyw HTTP/1.1" 404 524 "http://mondoamine.com/radarr" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:09:07 +0000] "GET /Content/update.css?h=vWlVjCbhQTXYvnrIqZgl8Q HTTP/1.1" 404 522 "http://mondoamine.com/radarr" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:09:07 +0000] "GET /Content/overrides.css?h=6213P51haPu+5U1iMITq/Q HTTP/1.1" 404 525 "http://mondoamine.com/radarr" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:09:07 +0000] "GET /Content/info.css?h=jf+rPHdtcdGib5t0QUZUIQ HTTP/1.1" 404 520 "http://mondoamine.com/radarr" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:09:07 +0000] "GET /polyfills.js?h=lNPw50dpfmIeXiK2IfrqdQ HTTP/1.1" 404 516 "http://mondoamine.com/radarr" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:09:07 +0000] "GET /Content/Images/background/logo.png HTTP/1.1" 404 538 "http://mondoamine.com/radarr" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:09:07 +0000] "GET /api/config/ui HTTP/1.1" 404 517 "http://mondoamine.com/radarr" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:09:07 +0000] "GET /api/system/status HTTP/1.1" 404 521 "http://mondoamine.com/radarr" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15"

Et une fois avec sonarr:

xxx.yy.xxx.yyy - - [17/Jan/2019:06:09:04 +0000] "GET /Content/logs.css?h=DHA5Xdi32cMm+arZUwDTsQ HTTP/1.1" 404 520 "http://mondoamine.com/sonarr" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:09:04 +0000] "GET /Content/settings.css?h=V4Ft+8Y3ou6j1lwp2oAZOQ HTTP/1.1" 404 524 "http://mondoamine.com/sonarr" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:09:04 +0000] "GET /Content/series.css?h=WmYPmWGi9HLDOG3HKG3iCw HTTP/1.1" 404 522 "http://mondoamine.com/sonarr" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:09:04 +0000] "GET /Content/addSeries.css?h=tszBq+JAwWpE/N79nwFunw HTTP/1.1" 404 525 "http://mondoamine.com/sonarr" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:09:04 +0000] "GET /Content/update.css?h=vWlVjCbhQTXYvnrIqZgl8Q HTTP/1.1" 404 522 "http://mondoamine.com/sonarr" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:09:04 +0000] "GET /Content/calendar.css?h=P6vjqXObcEDhfOr1/B4xpw HTTP/1.1" 404 524 "http://mondoamine.com/sonarr" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:09:04 +0000] "GET /Content/overrides.css?h=LP67NsFFK2LTR6Ukg22Rcg HTTP/1.1" 404 525 "http://mondoamine.com/sonarr" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:09:04 +0000] "GET /Content/info.css?h=jf+rPHdtcdGib5t0QUZUIQ HTTP/1.1" 404 520 "http://mondoamine.com/sonarr" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:09:04 +0000] "GET /polyfills.js?h=lNPw50dpfmIeXiK2IfrqdQ HTTP/1.1" 404 516 "http://mondoamine.com/sonarr" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:09:04 +0000] "GET /templates.js?h=FHVUnspRlfU9Fa/iPbIwcg HTTP/1.1" 404 516 "http://mondoamine.com/sonarr" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:09:04 +0000] "GET /vendor.js?h=fe6fSQ+2JFtQUk7ty3Rvvw HTTP/1.1" 404 513 "http://mondoamine.com/sonarr" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15"
xxx.yy.xxx.yyy - - [17/Jan/2019:06:09:04 +0000] "GET /main.js?h=ntIxVVg+PaTCDplgIArp7w HTTP/1.1" 404 511 "http://mondoamine.com/sonarr" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.2 Safari/605.1.15"

Dernière modification par Wybo (Le 17/01/2019, à 07:32)


Trouver de l'aide à côté de chez vous : http://parrains.linux.free.fr/
Bien débuter sous Linux - Ubuntu : http://www.siteduzero.com/tutoriel-3-12 … linux.html
Livres libres sur logiciel libre : http://www.framabook.org/

Hors ligne

#17 Le 17/01/2019, à 08:33

bruno

Re : [Résolu] Apache2 - VHost - Rediriger le port 80 vers d'autres ports

Essaie ainsi :

<VirtualHost *:80>
        ServerAdmin postmaster@domaine.tld
        ServerName mondomaine.com
        ProxyPass /radarr http://localhost:7878
        ProxyPassReverse /radarr http://localhost:7878
        ProxyPass /sonarr http://localhost:8989
        ProxyPassReverse /sonarr http://localhost:8989
        ProxyPreserveHost Off
        CustomLog /var/log/apache2/access.emby.example.com.log combined
</VirtualHost>

Dernière modification par bruno (Le 17/01/2019, à 08:34)

Hors ligne

#18 Le 17/01/2019, à 10:04

Wybo

Re : [Résolu] Apache2 - VHost - Rediriger le port 80 vers d'autres ports

Pareil :-/

Le résultat depuis le navigateur est identique..

Est-ce que tu veux le log également ?


Trouver de l'aide à côté de chez vous : http://parrains.linux.free.fr/
Bien débuter sous Linux - Ubuntu : http://www.siteduzero.com/tutoriel-3-12 … linux.html
Livres libres sur logiciel libre : http://www.framabook.org/

Hors ligne

#19 Le 17/01/2019, à 11:19

krodelabestiole

Re : [Résolu] Apache2 - VHost - Rediriger le port 80 vers d'autres ports

tu peux tester tes services depuis le raspberry pour être sûr ?

par ex. :

curl http://localhost:7878/Content/cells.css
curl http://localhost:8989/Content/logs.css

Dernière modification par krodelabestiole (Le 17/01/2019, à 11:22)

Hors ligne

#20 Le 17/01/2019, à 12:33

Wybo

Re : [Résolu] Apache2 - VHost - Rediriger le port 80 vers d'autres ports

Voici le résultat de la commande :

curl http://localhost:7878/Content/cells.css

Attention, c'est long ^^

.btn{display:inline-block;margin-bottom:0;font-weight:400;text-align:center;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid transparent;white-space:nowrap;padding:6px 12px;font-size:14px;line-height:1.42857143;border-radius:4px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{outline:0;background-image:none;box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{cursor:not-allowed;opacity:.65;box-shadow:none}a.btn.disabled,fieldset[disabled] a.btn{pointer-events:none}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.focus,.btn-default:focus{color:#333;background-color:#e6e6e6;border-color:#8c8c8c}.btn-default:hover{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active.focus,.btn-default.active:focus,.btn-default.active:hover,.btn-default:active.focus,.btn-default:active:focus,.btn-default:active:hover,.open>.dropdown-toggle.btn-default.focus,.open>.dropdown-toggle.btn-default:focus,.open>.dropdown-toggle.btn-default:hover{color:#333;background-color:#d4d4d4;border-color:#8c8c8c}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled.focus,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled].focus,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary.focus,.btn-primary:focus{color:#fff;background-color:#286090;border-color:#122b40}.btn-primary:hover{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active.focus,.btn-primary.active:focus,.btn-primary.active:hover,.btn-primary:active.focus,.btn-primary:active:focus,.btn-primary:active:hover,.open>.dropdown-toggle.btn-primary.focus,.open>.dropdown-toggle.btn-primary:focus,.open>.dropdown-toggle.btn-primary:hover{color:#fff;background-color:#204d74;border-color:#122b40}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled.focus,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled].focus,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success.focus,.btn-success:focus{color:#fff;background-color:#449d44;border-color:#255625}.btn-success:hover{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active.focus,.btn-success.active:focus,.btn-success.active:hover,.btn-success:active.focus,.btn-success:active:focus,.btn-success:active:hover,.open>.dropdown-toggle.btn-success.focus,.open>.dropdown-toggle.btn-success:focus,.open>.dropdown-toggle.btn-success:hover{color:#fff;background-color:#398439;border-color:#255625}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled.focus,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled].focus,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#35c5f4;border-color:#1dbef3}.btn-info.focus,.btn-info:focus{color:#fff;background-color:#0db3e9;border-color:#076989}.btn-info:hover{color:#fff;background-color:#0db3e9;border-color:#0b99c7}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#0db3e9;border-color:#0b99c7}.btn-info.active.focus,.btn-info.active:focus,.btn-info.active:hover,.btn-info:active.focus,.btn-info:active:focus,.btn-info:active:hover,.open>.dropdown-toggle.btn-info.focus,.open>.dropdown-toggle.btn-info:focus,.open>.dropdown-toggle.btn-info:hover{color:#fff;background-color:#0b99c7;border-color:#076989}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled.focus,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled].focus,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#35c5f4;border-color:#1dbef3}.btn-info .badge{color:#35c5f4;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning.focus,.btn-warning:focus{color:#fff;background-color:#ec971f;border-color:#985f0d}.btn-warning:hover{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active.focus,.btn-warning.active:focus,.btn-warning.active:hover,.btn-warning:active.focus,.btn-warning:active:focus,.btn-warning:active:hover,.open>.dropdown-toggle.btn-warning.focus,.open>.dropdown-toggle.btn-warning:focus,.open>.dropdown-toggle.btn-warning:hover{color:#fff;background-color:#d58512;border-color:#985f0d}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled.focus,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled].focus,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger.focus,.btn-danger:focus{color:#fff;background-color:#c9302c;border-color:#761c19}.btn-danger:hover{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active.focus,.btn-danger.active:focus,.btn-danger.active:hover,.btn-danger:active.focus,.btn-danger:active:focus,.btn-danger:active:hover,.open>.dropdown-toggle.btn-danger.focus,.open>.dropdown-toggle.btn-danger:focus,.open>.dropdown-toggle.btn-danger:hover{color:#fff;background-color:#ac2925;border-color:#761c19}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled.focus,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled].focus,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{color:#337ab7;font-weight:400;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.clickable{cursor:pointer}.movie-title-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:322px}@media (min-width:768px) and (max-width:991px){.movie-title-cell{max-width:250px}}.tmdbId-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100px;min-width:100px}.monitor-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:150px;min-width:100px}.profile-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:150px;min-width:100px}.episode-title-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#428bca;text-decoration:none}.episode-title-cell:focus,.episode-title-cell:hover{color:#2a6496;text-decoration:underline;cursor:pointer}@media (min-width:1200px){.episode-title-cell{max-width:350px}}@media (min-width:992px) and (max-width:1199px){.episode-title-cell{max-width:250px}}@media (min-width:768px) and (max-width:991px){.episode-title-cell{max-width:200px}}.air-date-cell{width:120px;cursor:default;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.relative-date-cell,.relative-time-cell{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:default}.relative-date-cell{width:150px}.movie-status-text-cell{width:150px}.history-event-type-cell{width:10px}.download-report-cell{cursor:pointer;width:32px}.download-report-cell i{cursor:pointer}.toggle-cell{cursor:pointer;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}.approval-status-cell .popover{max-width:400px}.approval-status-cell .popover ul{margin-left:-25px}.approval-status-cell i{color:#d9534f}td.episode-status-cell,td.history-quality-cell,td.progress-cell,td.quality-cell{text-align:center;width:80px}td.episode-status-cell .badge,td.history-quality-cell .badge,td.progress-cell .badge,td.quality-cell .badge{font-size:10px}td.episode-status-cell .progress,td.history-quality-cell .progress,td.progress-cell .progress,td.quality-cell .progress{height:10px;margin-top:5px;margin-bottom:0}td.history-quality-cell,td.quality-cell{white-space:nowrap}table.release-table td.quality-cell span.format-badge{display:none}.history-details-cell{cursor:pointer;width:10px}.history-details-cell i{cursor:pointer}.release-title-cell{max-width:400px;word-wrap:break-word}.episode-actions-cell{width:55px}.episode-actions-cell i{cursor:pointer;margin-left:8px}.episode-actions-cell i:first-of-type{margin-left:0}.episode-history-details-cell{width:18px}.episode-detail-modal .episode-actions-cell{width:18px}.movie-actions-cell{width:84px;min-width:84px}.movie-actions-cell i{cursor:pointer}.timeleft-cell{cursor:default;width:80px;text-align:center}.queue-status-cell{width:20px;text-align:center!important}.queue-actions-cell{min-width:65px;width:65px;text-align:right!important}.queue-actions-cell i{cursor:pointer;margin-left:1px;margin-right:1px}.download-log-cell{width:80px}td.delete-episode-file-cell{cursor:pointer;text-align:center;width:20px}td.delete-episode-file-cell i{cursor:pointer}.episode-number-cell{cursor:default}.backup-type-cell{width:20px}.table>tbody>tr>td.episode-warning-cell,.table>thead>tr>th.episode-warning-cell{width:1px;padding-left:0;padding-right:0}.log-message-cell{word-break:break-all;word-wrap:break-word}.execute-task-cell{width:28px}.execute-task-cell i{cursor:pointer}.next-execution-cell,.task-interval-cell{cursor:default}.task-interval-cell{width:150px}.next-execution-cell{width:200px}.tasks .relative-time-cell{width:200px}.age-cell{cursor:default}.blacklist-actions-cell{min-width:55px;width:55px;text-align:right!important}.blacklist-actions-cell i{cursor:pointer;margin-left:2px;margin-right:2px}td.matches-cell.sortable.renderable{padding-top:10px;padding-bottom:10px}td.matches-cell.sortable.renderable .label-large{margin-left:10px}td.matches-cell.sortable.renderable .label-large .label{padding-bottom:0}td.matches-cell.sortable.renderable .label-large .label-warning{padding-bottom:.07em;padding-top:.15em}td.matches-cell.sortable.renderable .label-large .label-error{padding-bottom:.07em;padding-top:.15em}td.matches-cell.sortable.renderable .label{margin-left:5px}td .format-badge{margin-right:10px}
/*# sourceMappingURL=_output/UI/Content/cells.css.map */

Et voici le résultat de :

curl http://localhost:8989/Content/logs.css

Bien plus court

.clickable{cursor:pointer}#logs-screen .log-time-cell{width:100px}#logs-screen .log-level-cell{width:12px;font-size:14px}#logs-screen td{font-size:13px}.log-file-row{cursor:pointer}.log-row{cursor:pointer}
/*# sourceMappingURL=_output/UI/Content/logs.css.map */

Trouver de l'aide à côté de chez vous : http://parrains.linux.free.fr/
Bien débuter sous Linux - Ubuntu : http://www.siteduzero.com/tutoriel-3-12 … linux.html
Livres libres sur logiciel libre : http://www.framabook.org/

Hors ligne

#21 Le 17/01/2019, à 13:22

krodelabestiole

Re : [Résolu] Apache2 - VHost - Rediriger le port 80 vers d'autres ports

ok donc ça ça marche bien effectivement...

essaie de virer ProxyPreserveHost On

apparemment ça peut aussi être utile d'ajouter une directive ProxyPassReverseCookiePath : https://help.nextcloud.com/t/nextcloud- … xy/19742/3
(je pense pas que ça explique les 404 ceci dit)

une doc qui pourrait être utile : https://docs.nextcloud.com/server/15/ad … ation.html

c'est quoi comme service aux racines de sonarr et radarr ?

Hors ligne

#22 Le 17/01/2019, à 19:09

Wybo

Re : [Résolu] Apache2 - VHost - Rediriger le port 80 vers d'autres ports

Avant de regarder tes liens, j'ai tenté :

mondomaine.com:7878

Resultat probant. smile

Et navigant dans les différents menu de sonarr, je suis tombé sur un paramètre intéressant. Voici la photo :

1547747834-capture-d-ecran-2019-01-17-a-18-56-41.png

Du coup dans URL base, j'indique quoi ?

/sonarr

Ou

Mondomaine.com/sonarr

Ou

http://mondomaine.com/sonarr

Je vais essaie de virer ProxyPreserveHost On come tu me le conseil Krodelabestiole et lire le contenu des tes liens.

Par contre, je ne comprend pas ta questions :

krodelabestiole a écrit :

c'est quoi comme service aux racines de sonarr et radarr ?


Trouver de l'aide à côté de chez vous : http://parrains.linux.free.fr/
Bien débuter sous Linux - Ubuntu : http://www.siteduzero.com/tutoriel-3-12 … linux.html
Livres libres sur logiciel libre : http://www.framabook.org/

Hors ligne

#23 Le 17/01/2019, à 19:50

Wybo

Re : [Résolu] Apache2 - VHost - Rediriger le port 80 vers d'autres ports

Bon bah j'ai tester avec

/sonarr

Du coup, je n'ai plus du tout accès à la page... roll

Ni en local, ni avec nom de domaine, port  etc .....


Trouver de l'aide à côté de chez vous : http://parrains.linux.free.fr/
Bien débuter sous Linux - Ubuntu : http://www.siteduzero.com/tutoriel-3-12 … linux.html
Livres libres sur logiciel libre : http://www.framabook.org/

Hors ligne

#24 Le 17/01/2019, à 19:50

krodelabestiole

Re : [Résolu] Apache2 - VHost - Rediriger le port 80 vers d'autres ports

c'est quoi les sites que tu veux afficher ? (basés sur quelle techno ?)

j'ai vu qu'il y avait un nextcloud sous /nextcloud mais à leur racine je sais pas...
en tout cas, oui : c'était pour te dire de faire gaffe à la manière qu'ont ces solutions de gérer les proxy

Hors ligne

#25 Le 17/01/2019, à 19:51

krodelabestiole

Re : [Résolu] Apache2 - VHost - Rediriger le port 80 vers d'autres ports

je te conseille d'indiquer rien ou /

Hors ligne