Configure ServerName apache centos

0

I have a problem with apache in centos , I explain.

I have an application server in a virtual machine, the idea is that from a browser on my computer I can connect to the ip of that server, but I have some doubts regarding the configuration of apache since I am new to this and I am configuring it with already created files of the company where I work. I have a virtual host configuration file that has the following:


ServerAdmin [email protected]
ServerName sagir.guadaltel.es
ErrorLog logs/sagir.guadaltel.es-error_log
CustomLog logs/sagir.guadaltel.es-access_log common
RewriteEngine on
RewriteRule ^/$ /sagir [R]


        ProxyPass ajp://localhost:8109/TrewaAdm
        ProxyPassReverse ajp://localhost:8109/TrewaAdm



        ProxyPass ajp://localhost:8109/sagir
        ProxyPassReverse ajp://localhost:8109/sagir



        ProxyPass ajp://localhost:8209/sagir2
        ProxyPassReverse ajp://localhost:8209/sagir2



(The label that separates the "proxypass" is Location, I did not manage to appear, I'm sorry)

My question is, Where and how should I configure the serverName? , otherwise, following the company's manual, I was told to copy some .war files and .ear which are the source code of the page on which I must work, copy them in /etc/guadaltel/aplicaciones/jBoss1.6.0_45-GA/server/nodo1/deploy

asked by Roberto Antonio Rico Palma 21.03.2018 в 15:07
source

0 answers