| Author |  | 
| lavaz 
 
 
 Joined: 21 Mar 2014
 Posts: 3
 
 
 |  | 
| Back to top |  | 
| James Blond Moderator
 
  
 Joined: 19 Jan 2006
 Posts: 7442
 Location: EU, Germany, Next to Hamburg
 
 | 
|  Posted: Fri 21 Mar '14 17:41    Post subject: |   |  
| 
 |  
| How did you set up your reverse proxy? |  | 
| Back to top |  | 
| lavaz 
 
 
 Joined: 21 Mar 2014
 Posts: 3
 
 
 | 
|  Posted: Fri 28 Mar '14 16:16    Post subject: |   |  
| 
 |  
| Sorry i could not answer before. 
 This is how i have configured the apache:
 
 NameVirtualHost cam.fsap.com
 <VirtualHost cam.fsap.com>
 
 ServerName cam.fsap.com
 ServerAlias cam.fsap.com
 ProxyRequests On
 
 ProxyPass / http://192.168.1.10
 #        ProxyPassReverse / https://192.168.1.10
 
 
 DocumentRoot "/srv/www/htdocs"
 ServerAdmin weba@fsap.com
 ErrorLog /var/log/apache2/error_log
 TransferLog /var/log/apache2/access_log
 SSLEngine on
 SSLProxyEngine on
 SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
 
 SSLCertificateFile /etc/apache2/ssl.crt/fsap.com.crt
 SSLCertificateKeyFile /etc/apache2/ssl.key/fsap.com.key
 SSLCACertificatePath /etc/apache2/ssl.crt/
 SSLCACertificateFile /etc/apache2/ssl.crt/SSL_CA_Bundle.pem
 
 CustomLog /var/log/apache2/ssl_request_log   ssl_combined
 </VirtualHost>
 |  | 
| Back to top |  | 
| James Blond Moderator
 
  
 Joined: 19 Jan 2006
 Posts: 7442
 Location: EU, Germany, Next to Hamburg
 
 | 
|  Posted: Fri 28 Mar '14 17:01    Post subject: |   |  
| 
 |  
| I wonder why you commented out the  ProxyPassReverse How ever, could you present an url that is a 404?
 
 
 Do you use Apache 2.2 or 2.4 ? if you use 2.4 you can also use mod_proxy_html to correct the wrong path in the HTML if there is something wrong.
 |  | 
| Back to top |  | 
| lavaz 
 
 
 Joined: 21 Mar 2014
 Posts: 3
 
 
 | 
|  Posted: Mon 07 Apr '14 15:57    Post subject: |   |  
| 
 |  
| Hi, 
 The ProxyPassReverse is commented because of a test i made. Now it is uncommented again.
 
 I use Apache 2.2
 
 Regards.
 |  | 
| Back to top |  | 
| jraute 
 
  
 Joined: 13 Sep 2013
 Posts: 188
 Location: Rheinland, Germany
 
 | 
|  Posted: Mon 07 Apr '14 16:21    Post subject: |   |  
| 
 |  
|  	  | lavaz wrote: |  	  | <VirtualHost cam.fsap.com>
 
 ServerName cam.fsap.com
 ServerAlias cam.fsap.com
 ProxyRequests On
 
 ProxyPass / http://192.168.1.10
 #        ProxyPassReverse / https://192.168.1.10
 
 
 DocumentRoot "/srv/www/htdocs"
 ServerAdmin weba@fsap.com
 ErrorLog /var/log/apache2/error_log
 TransferLog /var/log/apache2/access_log
 SSLEngine on
 SSLProxyEngine on
 SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
 
 SSLCertificateFile /etc/apache2/ssl.crt/fsap.com.crt
 SSLCertificateKeyFile /etc/apache2/ssl.key/fsap.com.key
 SSLCACertificatePath /etc/apache2/ssl.crt/
 SSLCACertificateFile /etc/apache2/ssl.crt/SSL_CA_Bundle.pem
 
 CustomLog /var/log/apache2/ssl_request_log   ssl_combined
 </VirtualHost>
 | 
 
 1) Having ProxyRequests On is surely not useful if you want a reverse proxy.
 It should be ProxyRequests Off.
 
 2) You always need a ProxyPass and a ProxyPassReverse -Path
 
 3) You should not mix http and https (have a look a what you typed)
 
 4) Try to start without the SSLEngine/SSLProxyEngine !
 
 Best Greetings
 JR
 |  | 
| Back to top |  |