SimpleStorageResource doesn't support virtual host style urls for S3 - spring-cloud

Does SimpleStorageResource support virtual host style urls?

Related

control and monitor proxy server IPv4

There is a private proxy server IPv4 and 1 port. It is possible to use HTTPS or SOCKS5. It will be used on multiple computers (configuration at the browser level, not a PC). DNS server shared (CloudFlare)
Since I am the owner of this proxy, I want to control and monitor it, namely to see:
the number of devices using it at the moment (online)
workload on proxy, traffic
What sites each computer runs
What of this is possible and with what tools? Is there a general solution (one tool) for all tasks?
Is VPS / VDS required for such purposes? If not, how is an addition than he can be useful?
From present:
Tinyproxy can generate static html file with you needs.
Artica Proxy has a web front end with statistics. Users and transit and sites.
From the past (not maintained):
squid: can generate static html file with your needs.

Access virtual host without domain pointing to it

I have a domain which pointed to an IP address (A). This IP address hosts several other websites with their domains. I now forwarded this domain to another host but I also need to access the old site which now does not have a domain pointing to it. Of course I can't just access the old site by typing the IP address into the browser. How can I do it instead?
If you're on unix, you should modify the /etc/hosts file; C:\Windows\System32\Drivers\etc\hosts if you're on Windows. (This will likely require admin privileges.)
This overrides the public DNS which would otherwise map an IP to a domain name. The change tells your machine that the old IP address is the location of example.com, where your hosts file has a line that reads:
xxx.xx.xx.xx example.com www.example.com
And xxx.xx.xx.xx is your old server's IP.
Remember to comment out or remove the line when you're done! You may confuse your future self, otherwise!
"Host" Header in HTTP is used to identify which of the many websites to visit on a virtual hosting web server. Virtual hosting is when a single IP address hosts websites(http content) for many different domains.
For eg. "Host: www.example.com"
You will find such a header in all virtual hosting websites.
Use an extension like Tamper chrome to add Host to the header. Specify your domain name in this header.
Illustration -
The university in which I studied uses virtual hosting, hence using Host header is imperative.
See the following image.
Now, if I type the IP address (obtained from ping utility) directly. You see a default page.
Now If I use tamper chrome extension to add Host header.
We can see that it lands on a page on bvcoend.ac.in domain.
I have to polish it further so that the landing page is the home page, but this process captures the essence of Host header used in virtual hosting.
Update : Using Fiddler to modify Host header seems to work fine for me, somehow tamper chrome isn't doing it's job perfectly (miss the good old Firefox Tamper data days).

Can we create transit vlan on Virtual Server hosted on IBM Cloud?

Something similar as with Vyatta Gateway is their possible to have the transit Vlan on VM.
You can not create transit vlan on virtual server as you do with vyatta gateway, because a Network Gateway is sized to handle the routing load for multiple VLANs and the virtual server no.
For more information you can review these documents:
https://www.ibm.com/cloud/virtual-servers
https://knowledgelayer.softlayer.com/topic/gateways
https://knowledgelayer.softlayer.com/learning/network-gateway-devices-vyatta

Interfaces using the same internal virtual switch in Hyper-V don't ping

I have Windows Server 2008 and Windows 7 on virtual machines (HyperV). Win7 has 2 internal interfaces (Local Area Connection 4 and 5), the same situation is on Server 2008.
All interfaces are using one, the same internal virtual switch.
I thought that they are all in the same subnet now and should ping each other, but the only machines that can communicate are interface 5 (Win7) with interface 4 from Server.
How can I connect them all? Do I understand this interfaces and virtual switches properly?
When I do ping command I get: Reply from ...Server IP adress.. Destination host unreachable.
Virtual switch has static IP adress 192.168.1.1, when I set default Gateway on my interfaces I get error: warning- Multiple default gateways are intended to provide redundancy to a single networ. They will not function properly when the gateways are on two seperate, disjoint networks.
Your internal interfaces are suppose to have one configured for the current network your on and the other interface can be bridged to have the virtual network established. One interface will have the same Local Area network as the machine your using to run the virtual machines which allows your virtual machines to use the network. Also make sure you name your interfaces to keep them distinguished from each other, for example "NAT" and the other "Internalnet" hope this helps.

make virtual host available through local network for iphone

I'm building a site on my localhost with a virtual host (mynewsite.com). Instead of uploading files to an actual server and I'd prefer to just test locally. I have the virtual host working on my desktop, I just want it to be available so I can see it on my iPhone or any computer on my network. So if I go to mynewsite.com on my iPhone it will display the site from my localhost. I think I need to do port forwarding but I'm having difficulty figuring it out. I'm on a Mac with MAMP.
How do I make the virtual host available to my iPhone through my Linksys router for testing?
My httpd.conf in MAMP looks like:
<VirtualHost *:80>
DocumentRoot "/Users/jaysonp/Sites/mynewsite"
ServerName "mynewsite.com"
ServerAlias *.mynewsite.com
...
Then in my host file I have:
127.0.0.1 mynewsite.com
I should note that I can't just hit the ipaddress on my iPhone, there is code that checks against the domain name for the site to work.
Thanks!
Please see my answer here. But basically, you just have to modify the Wifi settings in your iPad to use the IP address of your development machine as an HTTP proxy.
You can use application to edit hosts file on the devices. Use iFile application. You can add more any hostname. You can see some picture here but I wrote in my language.
http://www.anop72.info/iphoneipad-เรียก-url-vhost-ทำอย่างไร/
Hope this helps.
You just need to change the host file of respective machine on which you want to see your virtual host.
For Example:
(in Linux and macOS ): /etc/hosts
(in Windows ): c:/windows/system32/drives/etc/hosts
(in Android ): Android is also the part of linux so the host file location is same in android too. But you need root access to change the host file.
(in iOS ): (anyone who knows can edit here!!)
Open the host file and
192.168.1.70 mynewsite.com
192.168.1.70 is the ip address of the machine in which your project is running on a virtual hosting -> mynewsite.com
All of the other devices must be connected to the same network .
Just use the IP address of your virtual host. If your iPhone is on the same local network as your [virtual] host - the IP address will work fine.
I am not quite sure how you are defining "virtual" host - i.e. are you using Xen or VMware or something - or just running a web service on your dekstop?
If it is the former - you need to set up the IP services through Xen/VMware - if it's the later - its you desktop machine's IP address.