Https and virtual host redirect configuration

Hello,
IAS10EE
Only one of a number of mod pl/sql applications needs to be available from the internet via https - https certificate has been installed and is working.
I've amended the default ssl.conf to try to redirect all https traffic to the one application see below
<VirtualHost *:443>
# added
ServerName portal.tw.com
ServerAlias portal.tw.com
Options +FollowSymLinks
DocumentRoot "/opt/ris/apex"
RewriteEngine On
RewriteRule .* https://%{SERVER_NAME}/pls/apex/f?p=103:101 [R=301,L]
RewriteLog /opt/ris/log/rewrite.log
## end add
Problem is that I cannot get a https://portal.tw.com to display when the rewrite rule is in
When taking out the rewrite all DADs are accessible which I do not want!
I cannot see any log entries in access_log, error_log, ssl_request_log that hints/explain the error
Has anyone any ideas how to modify above to get it working or how to troubleshoot this?
Many thanks
Pete

Thanks for your reply
in the access_log and ssl_request_log I can see that the page is being requested
so the redirect 301 is working but no page is sent back to the browser, the browser sort of hangs. I suspect the rewrite rule is missing something - Any ideas that I can try?
Thanks
Pete
Looking in ssl_request_log -
UNKNOWN SSL_RSA_WITH_RC4_128_MD5 "GET /pls/apex/f?p=103:101 HTTP/1.1" 395
an entry like this every second
Looking in current access_log*
[07/Nov/2006:00:12:20 -0800] "GET /pls/apex/f?p=103:101 HTTP/1.1" 301 395
an entry like this every second

Similar Messages

  • Http deny and virtual hosts

    solaris 8 ips sp4 gw and server on 1 host
    got 5 domains en added these to the platform.conf
    and using ssl cert to access these domains.
    everything works fine but when i add the url the user
    can access only in the domain policy url list and deny the rest i get a 502 gateway error ! log gateway says
    sessionid not allowed ! what's wrong ?
    adding http://domain.sub.com in allow list doesn't help

    Hi,
    Is there a "*" in the deny URL list. Looks like portal gateway checks deny list and denys all the URL's
    without even the virtual host. Please try removeing "*" from the deny list.
    Hope this helps.
    Regards,
    Raj_indts
    Developer Technical Support
    Sun Microsystems http://www.sun.com/developers/support

  • Virtual host redirection

    Hi All,
    We have a web site based on oracle portal and two virtual hosts have been defined in httpd.conf file as follows:
    <VirtualHost *:7779>
    ServerName www.mycompany.com
    Port 80
    ServerAdmin [email protected]
    RewriteEngine On
    RewriteOptions inherit
    OssoConfigFile /opt/oracle/product/portal_int/Apache/Apache/conf/osso/osso_www.conf
    OssoIpCheck off
    </VirtualHost>
    <VirtualHost *:7779>
    ServerName abc.mycompany.com
    Port 443
    AddCertHeader HTTPS
    ServerAdmin [email protected]
    SimulateHttps On
    RewriteEngine On
    RewriteOptions inherit
    RewriteRule ^/$ /portal/page/portal/MyHome [PT]
    OssoConfigFile /opt/oracle/product/portal_int/Apache/Apache/conf/osso/osso_abc.conf
    OssoIpCheck on
    </VirtualHost>
    Now when a request for abc.mycompany.com/PublicPages is made the request gets redirected to www.mycompany.com/PublicPages while the request for abc.mycompany.com/PrivatePages (requiring authentication) is served by abc.mycompany.com/PrivatePages itself.
    I want to know:
    1> How can I configure this type of behaviour for name based virtual hosts so that request for abc.mycompany.com/PublicPages is served by abc.mycompany.com/PublicPages itself and doesn't get redirected to www.mycompany.com/PublicPages.
    2> Where can I find the URL mappings for pages in the Oracle portal.
    3> How can I control the redirection of requests in general, on the basis of name based virtual hosts.
    Regards,
    Noaman

    Hi,
    Thank you for posting in Windows Server Forum.
    From the listed error it seems that there is RD Virtualization Host process get failed and user authentication redirection can’t occur successfully.  Because it seems that there might be some configuration issue during your RDVH configuration. So if possible
    please check the whole configuration again and see whether it can resolve your issue.  You can refer beneath article for rechecking.
    Lab Ops 6 – Setup VDI in Windows Server 2012R2
    http://blogs.technet.com/b/andrew/archive/2013/10/14/lab-ops-6-setup-vdi-in-windows-server-2012r2.aspx
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Oracle application server 10g http server virtual host

    Hi,
    I have defined a new virtual host, changed its setting and create a folder with html file for redirection.
    Now when i am trying to access that new virtual host it is redirecting me to the old application.
    e.g.
    old.domain.com taking me old application.
    new.domain.com taking me old application.
    in HTML file i wrote url like ... http://myappsserver:port .......
    could you please tell me am i missing some thing..
    thanks

    You can find the port usage by executing opmnctl status -l from the command line. This should give you the port usage for each opmn-governed component. In a standard setup, web cache normally runs on port 7777 while Oracle HTTP Server runs on 7778. Alternatively, you can check the httpd.conf for the parameter Listen. This will give you the Oracle HTTP Server port as well.
    Did you test with the directive NameVirtualHost added?

  • Ias console - HTTP Server - Virtual Host Error

    Http server is working, but when clicked on the virtual hosts or server settings, mime settings.. the console shows this error.
    An error was encountered trying to retrieve configuration data.
    Failed to initialize configuration parameter ApacheMainServer.. Entity not found. Resolution: Entity not found Base Exception: The document returned by plugin "apache" is null, or does not have a root element, or does not properly formatted. Resolution: Check to see if the document is properly constructed. A document should not be null and should contain at least one root element.. Base Exception: The document returned by plugin "apache" is null, or does not have a root element, or does not properly formatted. Resolution: Check to see if the document is properly constructed. A document should not be null and should contain at least one root element.
    ANYONE HAVE ANY INFO REGARDING THIS ?

    You can find the port usage by executing opmnctl status -l from the command line. This should give you the port usage for each opmn-governed component. In a standard setup, web cache normally runs on port 7777 while Oracle HTTP Server runs on 7778. Alternatively, you can check the httpd.conf for the parameter Listen. This will give you the Oracle HTTP Server port as well.
    Did you test with the directive NameVirtualHost added?

  • Help with apache and virtual hosts

    I hope someone can help me I had installed shared point for testing and learning it. I had setup alternative mapping and know I want to add sub domain to my Apache web server. So I have sub domain redirecting back to share point. Also mine website is being redirected to share point. How I can have sub domain redirected to share point and main website go to my drupal ? I had created virtual host for main website but I still  get redirected to share point.

    I have this and the problem is that main domain goes to share point.
    <VirtualHost xxxx.us:80>
    ServerName xxxx.us
    ServerAlias www.xxxx.us
    DocumentRoot "/srv/http"
    ServerAdmin [email protected]
    ErrorLog "/var/log/httpd/error_log"
    CustomLog "/var/log/httpd/access_log" common
    <Directory />
    Options FollowSymLinks
    AddHandler cgi-script .cgi .pl
    Options ExecCGI Indexes FollowSymLinks MultiViews +Includes
    AllowOverride None
    Order deny,allow
    Deny from all
    </Directory>
    </VirtualHost>
    <VirtualHost sharepoint.xxxx.us:80>
    ServerName sharepoint.xxxx.us
    ServerAlias sharepoint.xxxx.us
    DocumentRoot "/srv/http"
    ServerAdmin [email protected]
    ErrorLog "/var/log/httpd/error_log"
    CustomLog "/var/log/httpd/access_log" common
    RewriteEngine On
    RewriteLog "/var/log/httpd/rewrite_log"
    RewriteLogLevel 9
    RewriteCond %{HTTP_HOST} !^(sharepoint\.)?hebe\.us$
    RewriteRule ^(.*)$ http://hebe.us$1 [L,R=301]
    ProxyRequests On
    ProxyPreserveHost On
    ProxyVia full
    ProxyPass / http://192.168.0.38/
    ProxyPassReverse / http://192.168.0.38/
    </VirtualHost>
    Last edited by tritron4 (2013-06-19 17:01:08)

  • Wiki and virtual hosts

    Is there any way to limit the visibility of group wikis when using virtual hosts? Let me explain...
    We have two public sub-domains that map to two virtual hosts on a single Leopard server box:
    site1.example.com
    site2.example.com
    Each site has it's own wiki that is up and running just fine.
    The problem is when we visit
    site1.example.com/groups
    we see the wikis for both site1 and site2 listed. When we click site1 we get through to the site1 wiki. When we click site2, we get a file not found error. The opposite happen when we visit site.example.com/groups.
    What I'd really like is for site1.example.com/groups to only list the site1 wiki and site2.example.com/groups to only list the site2 wiki.
    Is this possible?

    I managed to do this by a 'cheap and nasty' method!
    The group listing is created by the file
    /usr/share/wikid/lib/appletemplates/grouplisting.xsl
    it is the ONLY xsl file that cannot be overridden by a custom wikitheme, but it can be edited.
    Within this file you will find an unordered list,
    <ul class="contentlist">
    </ul >
    if you replace this by
    <ul class="contentlist">
    <script type="text/javascript">
    if(location.hostname=='www.foobar1.com'||location.hostname=='foobar1.com')
    document.write('<li><a href="http://www.foobar1.com/groups/group_name1/"><span class="img"><img src="/collaboration/images/group.jpg" alt="" width="32" height="32"/></span><span class="title">title1</span><span class="description">A website that ...</span></a></li>');
    document.write('<li><a href="http://www.foobar1.com/groups/groupname2/"><span class="img"><img src="/collaboration/images/group.jpg" alt="" width="32" height="32"/></span><span class="title">title2</span><span class="description">Another website </span></a></li>');
    document.write('<li><a href="http://www.foobar1.com/groups/groupname3/"><span class="img"><img src="/collaboration/images/group.jpg" alt="" width="32" height="32"/></span><span class="title">title3</span><span class="description">A final website .</span></a></li>');
    else if(location.hostname=='www.foobar2.com'||location.hostname=='foobar2.com')
    document.write('<li><a href="http://www.foobar2.com/groups/group_name4/"><span class="img"><img src="/collaboration/images/group.jpg" alt="" width="32" height="32"/></span><span class="title">title4 </span><span class="description">The Home site of </span></a></li>');
    document.write('<li><a href="http://www.foobar2.com/groups/group_name5/"><span class="img"><img src="/collaboration/images/group.jpg" alt="" width="32" height="32"/></span><span class="title">title5</span><span class="description">An online t;/span></a></li>');
    else
    document.write('<li><a href="http://www.foobar3.info/groups/group_name6/"><span class="img"><img src="/collaboration/images/group.jpg" alt="" width="32" height="32"/></span><span class="title">title6 </span><span class="description">The Home site .</span></a></li>');
    document.write('<li><a href="http://www.foobar3.info/groups/group_name7/"><span class="img"><img src="/collaboration/images/group.jpg" alt="" width="32" height="32"/></span><span class="title">title7</span><span class="description">A wiki for .</span></a></li>');
    </script>
    </ul>
    Save and restart the webserver from within serveradmin and it should appear.
    OK, so it doesn't automatically respond to new groups as you create them but it's easily updated and, if you follow the instructions from a thread I started on wiki_entry tags you COULD update it from within an admin wiki
    I don't claim it's pretty, or that it will survive apple's update once they have sorted out their inability to cope with virtual hosting, but it works.

  • Web App and Virtual Host and Clustering

              Hi,
              How are you doing?
              What is the best way to deploy a web application using a virtual host on a clustered
              environment?
              Here is what we are doing:
              o Deploy the web application on the virtual host
              o Deploy the virtual host on the cluster
              o Make the web appliation, the default application on the virtual host
              This seems to work, but I have additional questions?
              In the above deployment, looking at the deploy tab for the web application shows
              that the application is deployed to both the cluster as well as the virtual host.
              Even though we didn't explicitly deploy to the cluster! What happens if we deploy
              explicity (i.e., target) the web application to the cluster?
              What other approaches / configurations are you guys using?
              Thank you so much,
              -Bart Simpson
              

    Never mind, I think I have a solution. Even though e-docs say that DefaultWebApp attribute at virtual host level was deprecated as of WL 8.1 (inline with Servlet 2.3 specification) one can directly edit config.xml file and add the attribute.
    For instance, here is an example to set webapp APP1 as a default webapp for virtual host vhAPP1:
    <VirtualHost
    Name="vhAPP1"
    DefaultWebApp="APP1"
    ... />

  • CFCs and virtual hosts on Apache

    I'm running Apache 2.0.x and using a virtual host to remap
    the document root to a separate drive (d:\public\test)
    When I try to use remoting, I get the error:
    [RPC Fault faultString="File not found:
    C:\WebServer\Apache2\htdocs\test\test.cfc"
    faultCode="Server.Processing" faultDetail="null"]
    at mx.rpc::AbstractInvoker/
    http://www.adobe.com/2006/flex/mx/internal::faultHandler()
    Now the htdocs directory is the primary document root for the
    server, but this is being overridden by the specific document root
    change in the virtual host entry. Regular CF pages that reference
    this component work fine, but flex is throwing a fit.
    Any ideas?
    Chris

    try cross domain xml in server root..may be it will work.
    have a look on cross domain help page :
    http://www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html

  • Servername and virtual host name is the same - how to handle this

    Hi,
    I set up a server with the hostname yxzwiki.org
    In the Server app under Websites this domain points to /Sites
    In this /Sites directory is all my content (several Wikis) and also the phpmyadmin.
    What is the issue now?
    I want this xyzwiki.org not only as the hostname but as a virtual host as well.
    So I have the following entry in the corresponding conf file.
    <VirtualHost *:80>
      ServerName xyzwiki.org
      ServerAdmin [email protected]
      DocumentRoot "/Sites/xyzwiki/xyzenwiki"
      DirectoryIndex index.html index.php
    How can I handle this?
    xyzwiki.org shows the content of /Sites/xyzwiki/xyzenwiki but I cannot e.g. get access to http://xyzwiki.org/phpmyadmin
    Any ideas?
    Thanks
    Tristan

    I guess I have talk more about this issue that people got the chance to help
    xyz.org is the host name of our server.
    The intention of this server is to run a wiki via mediawiki.
    When we first set up the server we planned to have three language versions and the corresponding wikis were found on the server under
    en.xyz.org for the English version
    de.xyz.org for the German and
    es.xyz.org for the Spanish version
    But then we decided ONLY to concentrate on the English version and so prefix en became deprecated and we only want the domain xyz.org that shows the English Wiki.
    The English wiki is on our server under /Sites/xyz-wiki/xyz-enwiki
    In the Server.app I defined /Sites as the server website and I have a virtual host for xyz.org AS WELL that defines /Sites/tangowiki/tangoenwiki.
    This seems to overrule the entry in the server.app as xyz.org shows the content of /Sites/xyz-wiki/xyz-enwiki
    As I have other "services" as well under /Sites, e.g. phpmyadmin it is not possible for me with xyz.org/phpmyadmin to get to this service.
    So what I am looking for is a trick that I can keep the /Sites directory as the main directory for xyz.org. I was thinking of a symlink for the index.php from /Sites/xyz-wiki/xyz-enwiki and to remove the virtual host entry but this does not work. Any other ideas.
    Cheers
    Tristan

  • Apache Bridge and Virtual Hosts?

    Hi,
              I'm running Apache 3.1.19 with the bridge to two clustered 'Weblogic
              5.1sp8's - Apache is configured for several virtual hosts.
              Is it better to run several instances of Apache each with its' own bridge -
              not entirely sure how the bridge is written/operating so the concern is
              that if the bridge blocks for one virtual host, it does so for all?
              How can I find out more about the bridge and how it's written? I've also
              heard mention of being able to configure the bridge to do weighted
              load-balancing rather than simple round-robin - can't find this in the
              bridge documentation though - can anyone help?
              Thanks!
              yrs James
              

              James,
              As my understanding of Apache plugin modules, it only supports
              round-robin load balancing at this time.
              Brian
              "pipex news" <[email protected]> wrote:
              >Hi,
              >
              >I'm running Apache 3.1.19 with the bridge to two clustered
              >'Weblogic
              >5.1sp8's - Apache is configured for several virtual hosts.
              >
              >Is it better to run several instances of Apache each with
              >its' own bridge -
              >not entirely sure how the bridge is written/operating
              > so the concern is
              >that if the bridge blocks for one virtual host, it does
              >so for all?
              >
              >How can I find out more about the bridge and how it's
              >written? I've also
              >heard mention of being able to configure the bridge to
              >do weighted
              >load-balancing rather than simple round-robin - can't
              >find this in the
              >bridge documentation though - can anyone help?
              >
              >Thanks!
              >
              >yrs James
              >
              >
              >
              >
              

  • FMS3 Linux and virtual host

    Instaled FMS3 on my Linux box, but some strange things happen
    with virtual host configuration:
    1. add virtual host directory to /conf/_defaultRoot_ (just
    making a copy of _defaultVHost_). It contains all needed files -
    Application.xml and Vhost.xml with default settings
    2. Restart the server
    When I login into admin console, new vhost appears in the
    list, but it's impossible to connect to it, or just restart it.
    Permissions are ok.
    Am I forgetting something?

    I finnaly get it - FMS starts fmscore process for each vhost,
    but after about 5-7 minutes of work every process quits. Logs don't
    say anything, what can it be?
    /opt/adobe/fms/fmscore -console -adaptor _defaultRoot_ -vhost
    test.com -ap -conf /opt/adobe/fms/conf/Server.xml -name
    _defaultRoot_:test.com:::
    Adobe Flash Media Server (Core)Console mode.
    Host: localhost IPv4: 127.0.0.1
    Starting admin app on core (4651).
    Core (4651) connecting to admin.
    Core (4651) connected to admin.
    Core (4651) connection to admin accepted.
    Core (4651) sending register cmd to edge.
    Core (4651) disconnected from edge.
    Core (4651) disconnecting from admin.
    Unloaded application instance admin

  • How to Install Physical and Virtual Host

    I am getting licensing issues after I installed Essentials 2012R2 on a physical machine and then used the same license to virtualize it.  It's saying my physical machine needs to hold all the FSMO roles in which my virtual machine is hosting those roles.
    I read that Microsoft allows you to use the Essentials license for the physical and virtual server.  Is that correct? 
    Is there a specific service I need to remove on the physical machine in order for these errors to stop?  I still have the Windows Server Essentials Experience service installed. Is that what needs to be removed?
    Thanks,
    Doug

    Hi Doug,
    There is an article that provide details of licensing for Windows Server 2012 R2 Essentials. Please refer to and check if can help us to understand licensing for Windows Server 2012 R2 Essentials better.
    Understanding Licensing for Windows Server 2012 R2 Essentials and the Windows
    Server Essentials Experience role
    Please also refer to following article and check if can help you.
    Customize Deployment - Windows Server Essentials
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Weblogic, Apache and Virtual Hosts

    Hello,
    I have apache set for name-based Virtual Hosting (I'm serving 2 domains from the
    same IP) and am running into the following problem:
    Even though DOMAIN 2 has its own document root specified in the Apache httpd.conf
    file, that is different than the document root for DOMAIN 1, both URLs are serving
    up the same index.jsp from WebLogic (v. 5.1).
    If I change the httpd.conf entry for DOMAIN 2, to serve up index.html instead
    of index.jsp, it works????
    Is there some setting I need in weblogic.properties???
    Any help would be appreciated!!
    Thanks,
    Mark Mangano

    Hello,
    I have apache set for name-based Virtual Hosting (I'm serving 2 domains from the
    same IP) and am running into the following problem:
    Even though DOMAIN 2 has its own document root specified in the Apache httpd.conf
    file, that is different than the document root for DOMAIN 1, both URLs are serving
    up the same index.jsp from WebLogic (v. 5.1).
    If I change the httpd.conf entry for DOMAIN 2, to serve up index.html instead
    of index.jsp, it works????
    Is there some setting I need in weblogic.properties???
    Any help would be appreciated!!
    Thanks,
    Mark Mangano

  • Apache mod_rewrite, htaccess and virtual host

    Does not appear that the htaccess file is doing anything at all; I tested with a 301 redirect and even put some random nonsense in it in hopes to provoke a server error and nothing.
    httpd.conf : http://pastebin.com/36qFCg5q
    httpd-vhosts.conf
    <VirtualHost *:80>
        DocumentRoot "/Users/jwindhall/Railo/tomcat/webapps/ROOT/dentist_app"
        ServerName xxx.com
        ServerAlias www.xxx.com
    <Directory "/Users/jwindhall/Railo/tomcat/webapps/ROOT/dentist_app">
        Options All Includes Indexes
        Order allow,deny
        Allow from all
        AllowOverride All
    </Directory>
    ProxyRequests Off
    <Proxy *>
    Options All Includes Indexes
    Order allow,deny
    Allow from all
    AllowOverride All
    </Proxy>
    ProxyPass / http://www.xxx.com:8080/
    ProxyPassReverse / http://www.xxx.com:8080/
    </VirtualHost>
    jwindhall.conf:
    <Directory "/Users/jwindhall/Railo/tomcat/webapps/ROOT/dentist_app">
    Options Indexes MultiViews FollowSymlinks
    AllowOverride All
    Order allow,deny
    Allow from all
    </Directory>

    The question etresoft was asking was around what goal or end or configuration you were trying to achieve here, and not who you might be.  With some background on the problem and on the particular goal, we might be able to provide you with a more direct solution, or debug the error. 
    It looks like you're trying to run some Tomcat stuff.  Something like this?
    Though that articile doesn't indicate it, the provided set-up there looks to be specific to OS X client.  Are you running OS X Server, or OS X client.  And in either case, which version?   (The management user interfaces do vary here, both by client and server, and by version.)
    The article also looks to be for 10.6 or earlier, or it presumes that you have Java installed.  That's not the default, so that's something you'll need to establish.
    Apache redirects do work on OS X and OS X Server.  If you're just testing that, get rid of Java and Tomcat and the rest (from your configuration test) and test just the URL redirects.
    Apache is also sensitive to file protections and ownerships, as it strives to avoid allowing an attacker at your whole system (by default), though those protections can be overridden.
    As a first step toward troubleshooting your current configuration, invoke the Apache configuration test on your system and see if it tosses any errors, and also check the Apache server logs for relevant errors.  The logs are usually in the /var/log/apache2 directory, though that can be changed.  This'll make sure the core giblets are working.  The next steps would usually then involve checking the protections on the web directories, and then testing Java and Tomcat individually.
    OS X Server is a little more simple to set up and (mostly) avoids needing to access the configuration files, and the directories and related are IMO a little easier to deal with; you're using Server Admin.app or Server.app (depending on the OS X Server version) to manage all that, and not a text editor.
    And you may already be aware of this; do not try to use a GUI editor to edit the configuration files.  TextWrangler will work here, but most other GUI editors won't.  Using a command-line editor is more common; nano or vim or emacs or such.  FWIW.

Maybe you are looking for

  • Error message when syncing says I'm not authorized to play the songs

    I connected my nano to my laptop via USB port to recharge the nano. The songs normally automatically sync at the same time, no problem, but this time I got an error message saying it couldn't sync some songs because I'm "not authorized to play them o

  • I need to locate my missing Droid Turbo!!

    I misplaced/lost my Droid Turbo Today and very quickly (probably too quickly) switched to my old back up phone (LG Vortex). I have the Clean Master app and a couple of others i'm not sure of the names of right now that can give me the phones location

  • Error while using CachedRowSetImpl  nextPage()

    import com.sun.rowset.CachedRowSetImpl; import java.sql.Connection; import java.sql.Statement; import java.sql.ResultSet; import java.util.logging.Level; public class RowSet   private CachedRowSetImpl  crs;   public RowSet()   public RowSet(int size,

  • Customer Invoice Printing FB70

    Hi All, I want to print customer invoice for transaction FB70. Please give me the details like triggering the form (Customization settings) and standard SAPScript form name. And one more, Is there any option for attaching any file to this invoice. Th

  • Communicating with ports

    I have a question about developing code that can communicate to a port and therefore someting in the outside world. I see tutorials for doing this for various things but I don't understand how they know what to assign for different "packets" that the