Re: CSRF does not work in iframe.

Petra Humann <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
> Am 07.09.2017 um 09:07 schrieb Bhuvan Gupta <[email protected]>:
> 
>  I create a allMonit.html which have two iframe with src of two different monit http interface running on two different system

Use apache2 with proxy:

ProxyPass /firstserver/ http://firstserver:2812/
ProxyPassReverse /firstserver/ http://firstserver:2812/
<Location /firstserver/>
          Require ip ...
          AuthName "Monitor"
          AuthType Basic
          AuthBasicProvider file 
          AuthUserFile "..."   
          require valid-user
</Location>

The iframe contains the source of http[s]://monitoringserver/firstserver/.

Regards.
Petra Humann


-- 
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.