You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<VirtualHost*:80>
# Altere o email do administrador.ServerAdmin[email protected]ProxyRequestsoffDocumentRoot /var/www
ProxyPreserveHostOn# Altere a URL que vai ser usada# para acessar o siteServerName example.com
# Caso mais de uma URL for usada,# adicione as outras aqui, uma em# cada linha.ServerAliaswww.example.comErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
# Alguns possíveis valores: debug, info, notice, warn, error, crit,# alert, emerg.LogLevel error
<Location/>
# Configure aqui a URL do site que se quer acessar.ProxyPass http://internal.example.com:8444/
ProxyPassReverse http://internal.example.com:8444/
Order allow,deny
Allowfrom all
</Location>
</VirtualHost>
Olá @rdeavila, tudo bem? Tenho as seguintes dúvidas:
i) O que preciso modificar para ter a seguinte url: example.com/webapps ? ii) O que preciso ativar para o proxy ficar ativo?
iii) Quando tento acessar example.com/webapps, tenho a seguinte mensagem de erro: Not Found - The requested URL was not found on this server.
O meu arquivo .conf
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName exemplo.com
ProxyRequests Off
ProxyPreserveHost Off
ProxyPass "/webapps" "http://127.0.0.1:8080/"
ProxyPassReverse "/webapps" "http://127.0.0.1:8080/"
<Location "/webapps">
Order allow,deny
Allow from all
Olá @rdeavila, tudo bem? Tenho as seguintes dúvidas:
i) O que preciso modificar para ter a seguinte url: example.com/webapps ? ii) O que preciso ativar para o proxy ficar ativo?
iii) Quando tento acessar example.com/webapps, tenho a seguinte mensagem de erro: Not Found - The requested URL was not found on this server.
O meu arquivo .conf
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName exemplo.com
ProxyRequests Off
ProxyPreserveHost Off
ProxyPass "/webapps" "http://127.0.0.1:8080/"
ProxyPassReverse "/webapps" "http://127.0.0.1:8080/"
<Location "/webapps">
Order allow,deny
Allow from all