Salut,
Des personnes qui gèrent ?
J'ai un nom de domaine : domain.com qui pointe vers un dossier /var/www/
J'aimerai que le dossier /opt/app/xxx pointe vers xxx.domain.com
Ainsi que domain.com:9090 pointe vers vvv.domain.com
C'est surement pas clair comme ça mais si besoin je peux skype/teamspeak rapidement.
A savoir que je travaille avec apache2, il y a déjà 2 domain sur la même machine donc 2 fichiers différent avec des virtualhosts.
J'ai beaucoup regardé sur le net mais tout ce que j'ai test ne donne rien donc voilà pourquoi je viens vous demander quelques conseils ;)
Merci d'avance !
edit : config vhost actuelle
<VirtualHost *:80>
ServerAdmin
[email protected]
ServerName www.domain.com
ServerAlias domain.com
DirectoryIndex index.php index.html
DocumentRoot /home/root/www/www.domain.com/htdocs/
ScriptAlias /cgi-bin/ /home/root/www/www.domain.com/cgi-bin/
<Location /cgi-bin>
Options +ExecCGI
</Location>
ErrorLog /home/root/www/www.domain.com/logs/error.log
CustomLog /home/root/www/www.domain.com/logs/access.log combined
</VirtualHost>