Just a cut’n’paste typo.
> On Nov 19, 2014, at 1:27 AM, Igor Cicimov <icici...@gmail.com> wrote:
>
>
> On 19/11/2014 12:39 PM, "H Plato" <hpl...@gmail.com
> <mailto:hpl...@gmail.com>> wrote:
> >
> > I’m having problems getting a reverse proxy to work as a subdirectory.
> > Using the following configuration, Apache can full proxy an internal site:
> >
> > <VirtualHost 192.168.0.50:80 <http://192.168.0.50/>>
> > ServerName www.domain.com <http://www.domain.com/>
> > DocumentRoot /data/www/www
> > ErrorLog /var/log/apache2/www_error_log
> > TransferLog /var/log/apache2/www_access_log
> >
> > <Directory "/">
> > Options Indexes FollowSymLinks ExecCGI
> > AllowOverride AuthConfig
> > Order allow,deny
> > Allow from all
> > AllowOverride All
> > Require all granted
> > </Directory>
> >
> > ProxyRequests Off
> > ProxyPass / http://192.168.0.51:80/ <http://192.168.0.51/>
> > ProxyPassReverse / http://192.168.0.51:80/ <http://192.168.0.51/>
> > ServerAlias www.proxy.domain.com <http://www.proxy.domain.com/>
> > ServerName proxy.domain.com <http://proxy.domain.com/>
> >
> > </VirtualHost>
> Do you really have two ServerName statements in the vhost or is it just a
> typo?