Hello, if you define more than one virtualhost you need to distinguish
them somehow, so Apache knows where requests will "land".

This "somehow" you must use is called ServerName, each virtualhost
must have a unique severname.

Also if this is Apache httpd 2.2 you will need a directive called
"NamedVirtualhost *:80" defined once in server/global config.

2017-06-01 18:31 GMT+02:00 Luiz Guilherme Nunes Fernandes
<narutospi...@gmail.com>:
> Dears,
>          i need redirect my apache for use cups and i need use Directory
> /var/www/html/jasmine with another application. What is a configuration
> correct? in apache show "Not Found" for directory of Jasmine, if i remove
> proxy pass directory jasmine work.
>
> <VirtualHost *:80>
>
>     ProxyPreserveHost Off
>     ProxyPass / http://localhost:631/
>     ProxyPassReverse / http://localhost:631/
>
> </VirtualHost>
>
> <VirtualHost *:80>
>
> <Directory "/var/www/html/jasmine">
> Require all granted
> </Directory>
>
> </VirtualHost>
>
>
> --
> <<<<<<<<<<<<<<<<<<<------------------------------------------------------------------->>>>>>>>>>>>>>>>>>>
>
> < Disse-lhe Jesus: Eu sou o caminho, e a verdade e a vida; ninguém vem ao
> Pai, senão por mim >
>                                                              (João 14:6)
>
>                                                                     Att.
>                                         ♪ ♫  Luiz Guilherme Nunes Fernandes
> ♫ ♪
>
> <<<<<<<<<<<<<<<<<<<------------------------------------------------------------------->>>>>>>>>>>>>>>>>>>



-- 
Daniel Ferradal
IT Specialist

email         dferradal at gmail.com
linkedin     es.linkedin.com/in/danielferradal

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to