Make a name virtual server HTTPS only

I am using BCI 11.1.7 and using the Web Cache, OSH, and WebLogic.  I have several servers to virtual name defined in OSH.  I want to implement that one of them is only connected via HTTPS and HTTP requests are redirected to the HTTPS version.  I tried the obvious thing, using mod_rewrite in the configuration of the virtual server in OSH to redirect the HTTP requests:

RewriteCond %{HTTPS} off

RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]

Of course since all the traffic of the OHS Web Cache using HTTP this simply causes an endless loop of redirects.

So I wonder if there is a header, or something sent by Web Cache, I can use to tell if the original application used HTTPS.  Otherwise if there is a way to configure this at the level of the Web Cache, which would work as well.  Otherwise I think I'll finish with a certain configuration of Frankenstein that will be featured on http://www.thedailywtf.com in 2018

I was dumping all the headers using JSP and found out the header (undocumented?) HTTPS-SSL defined by the WebCache is 'off' or 'on '.  So I used:

RewriteCond %{HTTP:SSL-Https} !on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]

Tags: Fusion Middleware

Similar Questions

  • Can I create a static IP address for my virtual server when my physical network only has a dynamic IP address?

    Hi all!

    About, what I'm trying to do is to create an entire virtual network. I'm working on and studying for my MCSE and wanted to create a virtual server and a few virtual desktops.

    I wanted to put up a few roles on the server which (sort of) requires me to have a static IP address. My question is can I create something like a "static IP address make fun" to do?

    I prefer not to pay the additional sum of $ my ISP for a static IP address if I have to. Other than this virtualization project, I don't need a static IP address.

    Thank you!

    Create and internal network, then NAT so they can talk to the internet.

  • Problems of mouse after the conversion of a hard drive file virtual Microsoft Virtual Server 2005 for ESXi 3.5

    Today I used VMWare Converter 3.0.3 to convert a file evaluation VHD Windows 2003 Enterprise Edition SP2 (Virtual Server 2005) ESXi 3.5. It seems to work without error. However, I have a pending issue. In other words, based on the results of pilot of "VMware Pointing Device" in my being rooted at the bottom right of the Virtual Console of the mouse. The mouse buttons seem to work, but the mouse itself will not move. I have VMware Tools installed and that you have reinstalled them several times, just in case. If I change the mouse driver to the driver "mouse Compatible PS/2", it works, sort of. It moves around the screen and the same slides perfectly in and out of the console window, as you'd like. However, it is jerky. Hardware acceleration is maximum. The video driver and all the other features seem to work perfectly.

    I converted a Windows 2008 VHD and it worked well.

    If I do a new installation of Windows 2003, it works perfectly, mouse and all. If the problem seems to be limited to a hard drive Windows 2003 virtual conversion. I don't have a Windows 2003 machine to test if the importation which would have the same bug or not.

    A very similar discussion was due in a previous thread several years ago http://communities.vmware.com/thread/36507.

    Any help to fix this annoying bug would be appreciated.

    Thanks in advance

    Normally uninstall us the services that we believe may conflict with VMware devices (such as mouse), so that these problems do not occur. But just to be sure, it would be nice if you could 'uninstall' as suggested CONTINIUM and see if that makes a difference. An only problem here, is that you will not be able to uninstall the present of the VMware VM and you may need to uninstall this VS VM before proceeding with the conversion.

    You can also see if this helps: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1002239

    Post edited by: paragsha

  • This application can be launched with a version of Microsoft Windows 95 OSR2.1/98/ME/NT 4.0/2000/XP/Server 2003 ONLY

    Silent Hunter 3 and 4 DO NOT recognize Windows 7 (i.e., This application can be launched with a version of Microsoft Windows 95 OSR2.1/98/ME/NT 4.0/2000/XP/Server 2003 ONLY). Help!

    My OS is Windows 7 Pro. and I have quite a few other games and programs that does not work in my 64-bit system

    Hi WolfenOne,

    I tried to check the compatibility of the program with Windows 7 and could not find any information in the Windows 7 Compatibility Center.

    Access the link below to check the compatibility with Windows 7.

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/default.aspx

    Step 1

    You can Runprogram("test.html") resolution of compatibility issues in windows 7 and check if it helps. 

    To run the troubleshooting program compatibility troubleshooter, follow these steps:

    1. open the troubleshooting program compatibility Troubleshooter by clicking the Start button, then Control Panel.

    2. in the search box, type "convenience store" (without the quotation marks) and then click Troubleshooting.

    3. in the context of programs , click on run programs for previous versions of Windows.

    4. follow the instructions in the troubleshooting.

    Access the link below to learn more about how to make older programs work in Windows 7.

    http://Windows.Microsoft.com/en-us/Windows7/make-older-programs-run-in-this-version-of-Windows

    Step 2

    If you are unable to install the program in compatibility mode, you can access the link below and search for information about the installation and execution of programs in XP mode:

    http://Windows.Microsoft.com/en-us/Windows7/install-and-use-Windows-XP-mode-in-Windows-7#section_1

    I hope this helps. Let us know the results.

    Thank you and best regards,

     

    Srinivas R

    Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to set the cookie-http-only

    Hi all

    We run Oracle Weblogic 12.1.1 on Windows 2008 Server.

    The server is used to host an application required by Documentum.

    For a feature in Documentum to work, we must define "cookie-http-only" false. This is an applet which allows the user to select a local file and upload to the server.

    Oracle documentation says I should change 'weblogic.xml' and so I made the following changes:

    < session descriptor - >

    < http-only cookie > false < / http-> cookie

    < timeout-dry > 3600 < / timeout-dry >

    < 60 > invalidated-interval-dry < / invalidation-interval-dry >

    < name > ADMINCONSOLESESSION < / cookie-name >

    -< cookie-max-age-dry > 1 < / cookie-max-age-dry >

    < url rewriting compatible > false < / url-rewriting-enabled >

    < / session descriptor >

    I found the file in the following folder:

    %WEBLOGIC_HOME%\ wlserver_12.1\server\lib\consoleapp\webapp\WEB-INF

    I found files with the same name in the following directories too, but I didn't touch them:

    %WEBLOGIC_HOME%\wlserver_12.1\server\lib\consoleapp\consolehelp\WEB-INF

    %WEBLOGIC_HOME%\wlserver_12.1\server\lib\consoleapp\consolehelp\WEB-INF

    After this, I restarted the Weblogic Server. However, the issue in Documentum is still there, and they claim that it is from Weblogic.

    Is, I followed the correct procedure to set the "cookie-http-only"? ".

    Thanks in advance,

    Nocolas thanks for the tip.

    You were right. Changes should be made in the file weblogic.xml located in the application folder, which is my case ' D:\Documentum Apps\taskspace\WEB-INF '.

    I made the changes and restart the server and then the problem is resolved.

  • 4 virtual servers in a single physical Machine with a physical LAN card, how possible to assign 4 different unique to each virtual server IP address?

    Can someone tell me please, that each server Machine should have an IP address of seprtae to connect the client computers. If we have 4 Server virtual machines in VMware in a physical server with a LAN card with only a MAC address. How can assign us the same IP address to all computers in Virtual Server 4? While we need four IP addresses of different/seprate for each server computer to connect to client computers. can someone explain to me please. (will be greate if you can give me a few examples). Thanks in advance.

    You will need four different IP for each virtual machine, and each VM will have a different MAC address generated automatically by vSphere.

    Assuming you are using vSphere, I highly recommend you take a look at this document: http://www.vmware.com/files/pdf/virtual_networking_concepts.pdf

  • Advantages/disadvantages of moving data to a virtual server Vcenter

    What are the advantages/disadvantages of the passage of our database of Vcenter 2.5 on the physical server to our virtual server to SQL 2005?

    Thank you

    the only con I can think of is that your VCDB breaks down, the fact vCenter.  However, as a virtual machine running your VCDB isn't a bad thing.  After all, you can take advantage of the DRS/HA.  One thing I would do is create a rule of DRS, if you run vCenter as a virtual machine, to keep the VCDB and vCenter VM together but also to set a priority of restarting at the top for two virtual machines.

    .. .and of course make sure that you back up your VCDB and perform adequate maintenance

  • vCenter is virtual server - how to upgrade ESX host?

    Our vCenter server is a virtual server.  I've been thinking how to run update manager on the host ESX, vCenter is sitting on.   The only thing I can think of is to use the VMware Converter stand alone app and move the vCenter server to another ESX host and then start vCenter / Manager Update on the new ESX host to update the original ESX host.

    Is there an easier way?

    you have a shared storage?  If so, go to the host computer running the vCenter VM on, turned off, make a note of the data store that it is, remove the inventory, go to another host, browse the data store, find the vmx file, right-click "add to the inventory.

    .. .or you can use VMware Converter to move the VM vCenter.  Another way would be to turn off the VM vCenter and do the upgrade using the CLI interface.

    Post edited by: Troy Clavell - missed a step (out of stock)

  • How to start vritual machine on vSphere virtual server

    Hi all

    I would like to start the virtual machine on vsphere virtual server. Unfortunatelly when I try to start it I see the message:

    "You can not on virtual machine in the virtual machine.

    I found a solution on google but only worked for vSphere4 virtual server.

    Thanks in advance

    Artur

    Always the same answer. You must edit the .vmx for your servers files virtual vSphere.

    ---

    MCSA, MCTS, VCP, VMware vExpert 2009

    http://blog.vadmin.ru

  • Virtual server problem

    We are having a problem with pages not displayed for a virtual server that has been installed on one of our existing servers. If I ask index.cfm to the new virtual server, I get index.cfm to the existing virtual server. HTML pages are displayed correctly, and so are the second virtual server pages that do not have the same name as a file on the first.

    The symptoms are exactly as described in this technical note, but the catch is that "Cache web server paths" is already disabled in the CF Administrator (and the jrun.xml setting is also correct).

    Anyone know of any other cause of this problem (and, hopefully, a solution)?

    Thank you

    Tim

    For the benefit of someone else with the same problem, we solved this problem by following the steps in the http://www.bloginblack.de/archives/000120.cfm ( English translation)

  • When I run a web browser immediately loaded two blank tabs. How to make the browser to load the only?

    When I run a web browser immediately loaded two blank tabs. How to make the browser to load the only?

    Have you checked the home page to make sure that if is not the vertical bar (|) symbols?

    See the following for a few suggestions:

  • The server has not completed the compliance audit of the licenses. If the server is joined to a domain, make sure that the server can connect to a domain controller.

    Hi all

    Can I confirm with expert from Microsoft, it's windows foundation server 2012 may not be the first domain controller (which means that the first AD in the forest)? It must be attached to the root of the forest as a domain controller. If I'm promoting it to be first DC in new forest, he invites you to "the server has not completed the compliance audit of the licenses. If the server is joined to a domain, make sure that the server can connect to a domain controller. If the license compliant check cannot be completed, the server will automatically close in 9 days...

    Thank you & best regards
    Andy

    Hi Andy,.

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet Windows Server Forums:
    http://social.technet.Microsoft.com/forums/en/category/WindowsServer

    Hope the helps of information.

  • Alternative to IIS6.0 as SMTP virtual server

    Hi all

    My company does a cloud-based mail filtering and our last jump internally is fundamentally a vanilla Windows server with IIS6.0 enabled for SMTP delivery to our customers, a receiving SMTP is used by our system to capture logging to a database for our customer portal. A similar setup is used to deliver outgoing messages for customers who use us for the relay.

    We have been asked on the TLS delivery, but not all customers want to implement and if I understand correctly, IIS6.0 essentially deals with TLS as an all or nothing, there is no other opportunistic choice.

    Is there another solution that I can use? Preference is another function/role I can activate the virtual SMTP service, or a complement of standard Windows that we can always use with SMTP sink for our logging.

    EDIT *.

    Posted in TechNet, here:

    https://social.technet.Microsoft.com/forums/en-us/d9637c6a-87de-4A53-bdf8-abcf70ff3c6d/alternative-to-iis60-as-SMTP-Virtual-Server?Forum=winserversetup

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • I would take my existing Server 2008 and upgrade to Server 2012 and the purchase of a virtual server in a data center

    Original title:

    Virtualization server 2012

    I got too many answers to this question. I need the correct answer before buying any CALs galore.

    I would take my existing Server 2008 and upgrade to Server 2012 and the purchase of a virtual server in a data center. I have 25 computers that need to communicate with the server throughout the day, all the different machines. I want to know the best option without breaking the Bank. I permit the data center included in the package to my server.

    Try asking in the Windows Server forum:
    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

  • I use a server DNS Server 2008 and need to transmit the DNS lookup on a Linux server that only allows you to Port 3128 for DNS.

    Hello

    I use a server DNS Server 2008 and need to transmit the DNS lookup on a Linux server that only allows you to Port 3128 for DNS.

    How can I configure my DNS server to use this port for shipments?

    Thanks for your replies

    Marcus

    Hello

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.
     
     
    Here are a few Server DNS forwarders. Links for refrence,
     
     
     
    I hope this helps.

Maybe you are looking for