Connecting two virtual hosts
I am trying to configure portal to work with machines in the internal network and outside world. Is there a way to do it?
Dolf-Jan
For the courtesy of others, please try not to cross-post the same question to multiple forums.
Your answer can be found on the 9i AS Portal Forum at the link below:
http://technet.oracle.com:89/ubb/Forum70/HTML/000040.html
Similar Messages
-
In the same server I have two virtual hosts (site1.com, site2.com). For each virtual host I have a PUBLIC page (40, 50).
The following accesses work perfectly:
(1) http://www.site1.com/portal/page?_pageid=40,1&_dad=portal&_schema=PORTAL
(2) http://www.site2.com/portal/page?_pageid=50,1&_dad=portal&_schema=PORTAL
... But the following ones also
(1) http://www.site1.com/portal/page?_pageid=50,1&_dad=portal&_schema=PORTAL
(2) http://www.site2.com/portal/page?_pageid=40,1&_dad=portal&_schema=PORTAL
Imagine that site1 is 'Coca Cola' and site2 'Pepsi' (page 40 is 'Coca Cola' and 50 'Pepsi'!)
How to avoid it?
I think about two ways of solving it:
1. To hide the url and to avoid the manipulation of the number of page. (Died the dog ended the anger)
2. To do that the page 40 works only with the virtual host site1 and the page 50 with the virtual host site2.
The question is:
How to do someone of these options?
Thanks for the helpHi Sachin,
you're right with two different VM you can manage that, but this is similar to have two different server. My goal is to use only a server (phisical or virtual)... I think with 8.8 version we can do it, but I glad if someone has some experience of this scenario..
Regards,
Giovanni -
Installing 2 ssl certificate on one machine with two virtual hosts
Hi,
If you have a managed server in a cluster that has two virtual hosts running
on it how can you intsall the ssl certificates for both virtual hosts, in
the admin console.
any help would be great!OK....I figured it out.
I was able to set the IPV4 properties on the ones needing filtering to use the IP or OpenDNS as the primary DNS and my server address as the secondary and that works.
I removed OpenDNS forwarder from the server, flushed dns on all machines and so far it's working perfectly. The machines that are not going to be filtered just go through the server for DNS.
Hopefully, after a while it doesn't break down! -
Rebuilt Permissions, now can't connect to Virtual Hosts. Any ideas?
I was having a problem with Aperture. One solution to fix the problem was to repair permissions. However, in doing this it has messed up my virtual hosts. I have set up several virtual hosts on my Mac for web development, and since the repair my Mac can't seem to connect to them or the built in home site for that matter.
A couple things that I have noticed are:
1. When I open terminal (tsch) it doesn't show [localhost:~] by default anymore, it now shows [mdonahue:~]. Now when I try to change directories (ie. cd /etc/httpd/) it gives me an error: Command not found. Actually, I just tried it again to help me remember the exact command and now it opens to [www:~] and after a restart it's now gone back to [mdonahue:~]. How do I get it back to default [localhost:~]?
2. The IP address (for web sharing) has changed from 127.0.0.1 to 192.168.30.100 (it seems to have picked from DCHP). I have tried to update this address for each host in the NetInfo Manager but have had no success. I know this IP is used in the HTTPD file, but since I can't seem to figure out how to access the HTTPD file (because of problem 1) I don't know if fixing this change will work either.
In the Preferences, when I go to Sharing and select Web Sharing from the list, below the list is a link to the root site folder, but when I click it I get the message: Unable to connect. I've tried to set the IP's back to the original and restart but again no luck.
Anybody have any ideas what I need to fix?
Thank you,
Mike D.Additional issue:
After rebooting web sharing won't start up. I select if and click start and it says it's starting but doesn't finish. I've tried atarting it from Terminal (apachectl start) but I get the following messages:
[localhost:~] mike% apachectl start
Processing config directory: /private/etc/httpd/users/*.conf
Processing config file: /private/etc/httpd/users/+entropy-php.conf
[Mon Feb 5 13:12:46 2007] [warn] module mod_php5.c is already added, skipping
Processing config file: /private/etc/httpd/users/mike.conf
Processing config file: /private/etc/httpd/users/mstockus.conf
[Mon Feb 5 13:12:46 2007] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
fopen: Permission denied
httpd: could not open error log file /private/var/log/httpd/error_log.
/usr/sbin/apachectl start: httpd could not be started
[localhost:~] mike%
It seems that it has decided to revert to the [localhost:~] default for some reason. Can someone decipher this?
Still puzzled. -
Connecting 2 virtual hosts to one portal
I am trying to configure portal to work with machines in the internal network and outside world. Is there a way to do it? Many Thanks!
Please post this question to the Oracle Portal forum when it comes online. It is scheduled for early next week.
-
Publish Abap Web Service in ICF virtual host
Hello
We have configured our abap aplication server with two virtual host in SICF
one the default_host that listen in http 8080 port and other virtual host that
listen in http 8090 port.
We need define some ABAP web services that listen in default_host:8080 and other virtual host in virtualhost2:8090.
We define de web service with SE80 wizard and then create the configuration end point
with SOAMANAGER.
Our problem is that soamanager ever create the entrie of endpoint in sicf transaction, under default_host:8080 service tree not under virtualhost2 service tree. and so we can not call
the web service like http://virtualhost2:8090/sap/bc.... because don't exist, only exist
http://defaul_host:8080/sap/bc....
we try to copy the entry of the tree under virtualhost2 in the proper place of the tree,
but when call the webservice with soaui the system report the error:
No Web service configuration for this access path: ""
i can see that there are entries in the table SRT_CFG_SRV_ASGN that are related with this
problem, because assign the url of the endpoint of the ws to virtual host, but i don't
know how the system generate this entries.
someone know how call ABAP web service with icf virtual host?
thanks
regards
diegoHi Trevor
For test purpose i can do it works.
The key point is create the proper entry in the table SRT_CFG_SRV_ASGN that refer to the correct VIRTUAL_HOST.
When you genreate the endpoint of the service with soamanager, the system generate an entrty in this table with the fiel VIRTUAL_HOST = 0, you can copy this entry and change only two fields.
VIRTUAL_HOST = <the number of your virtual host>
HASH --> you can calculate this field with the FM CALCULATE_HASH_FOR_CHAR, in the parameter DATA contatenate the content of the fiels VIRTUAL_HOST and URL (be careful with the upercase), this function module return you the hash.
(First you have to replicate the icf tree that soamanager create under your virtual host tree)
With this configuration i can call to my WS over the virtaual host, using soaui.
I hope this can be useful for you.
Regards
diego -
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,
NoamanHi,
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] -
Serving virtual hosts with different instance of weblogic6.1
We are using the apache plugin and weblogic6.1. Is it possible to send the request
for each virtual host to a different instance of weblogic6.1 instance? If so how?
For ex in my httpd.conf I want to say
<VirtualHost abc.xyz.xom>
WebLogicHost 192.168.10.20
WebLogicPort 8001
</VirtualHost>
<VirtualHost cde.xyz.com>
WebLogicHost 192.168.10.20
WebLogicPort 8002
</VirtualHost>
Thanks in Advance
VirenWe have two virtual hosts for our SSO server.
Intranet users use
Name: sso.parlinkom.gv.at
Address: 161.110.13.4
but internet user use
Name: clsso.parlinkom.gv.at
Address: 161.110.1.17
Yes, we have one portal.
Thank you in advance
Wolfgang -
NEED TO REFERENCE 2 DIFFERENT SSL CERTIFICATES BASED ON VIRTUAL HOST NAMES
Hi,
If you have a managed server in a cluster that has two virtual hosts running
on it how can you intsall the ssl certificates for both virtual hosts, in
the admin console.
any help would be great!I think that you can only have one server certificate per server currently
since the certificate establishes the server's identity and there isn't
support for a server to have two identities at the same time.
"RAGUTAM BOMMAREDDY" <[email protected]> wrote in message
news:[email protected]..
Hello,
Can I reference 2 different SSL certificates in the same
weblogic.properties
file?
Reason is we have 2 groups of users for a web application: one will use
a
French-language DNS to access
the application, and the other will use English DNS. Both DNS will point
to
the same application on the same
server.
Example of what we require:
weblogic.security.certificate.server=mycert1.pem
weblogic.security.key.server=mykey1.der
weblogic.security.certificate.authority=rootCertificate1.pem
----and---
weblogic.security.certificate.server=mycert2.der
weblogic.security.key.server=mykey2.der
weblogic.security.certificate.authority=rootCertificate2.pem
mycert1 will correspond to DNS1, and mcert2 will correspond to DNS2, and
both
DNS1 and DNS2 point to the same application on the same box.
Thanks,
Ragu -
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. -
Mapping Virtual Host to WebApp
Hi,
Does anyony know how to accomplish the following:
- Have two virtual hosts on one server:
dev.example.com and test.example.com
- Create two OC4J containers on the AppServer
(one for DEV and one for TEST)
- Deploy two different versions of an EAR file
to the DEV and TEST containers.
Make sure that http://dev.example.com/application leads to the development version and http://test.example.com/application leads to the test version.
So, the only distinction between the two is the host-name and the rest of the URL is supposed to be the same. How can I then make sure each URL leads to the appropriate webapp?
ThanksWilfred,
This should work for two url's going to different sites/pages
The following is from the httpd.conf file on my devl/test server:
<VirtualHost *:7778>
ServerName host2.home.com
DirectoryIndex host2.html
Port 80
RewriteEngine On
RewriteOptions inherit
OssoConfigFile c:\oracle\oramid\Apache\Apache\conf\osso\osso_host2.conf
OssoIpCheck off
DocumentRoot "c:\Oracle\OraMid\Apache\Apache\htdocs"
</VirtualHost>
<VirtualHost *:7778>
ServerName host1.home.com
DirectoryIndex host1.html
Port 80
RewriteEngine On
RewriteOptions inherit
</VirtualHost>
--in the next entries replace the http://....with the site you want the users to be redirected to.
Redirect /host2.html http://host2.home.com/portal/page?.....
Redirect /host1.html http://host1.home.com/portal/page?.....
I had to make all the changes directly to the httpd.conf file through OEM (directly to the file should work also). Tried the virtual hosts entries through oem to add the âDirectoryIndexâ information but they kept discarding changes from each otherâ¦.
Make sure the corresponding entries for the DirectoryIndex match the Redirect. The actual files donât have to exist, Apache will look for them since that is the VirtualHost entry and redirect to the url specified in the Redirect.
Now when I enter http://host1.home.com I am taken to the Page specified in the redirect and when I enter http://host2.home.com I go to the page specified in that redirect.
Still have the logout issue âreturningâ to the default home page for the system. I'll be using a page with references to the existing sites with the addition of something that says â..if youâre done you may close your browser..â
HTH,
Dennis -
I would like to set two virtual hosts on one server. According to the apache's document, I have done the following in Apach httpd.conf. Howerver, I don't why it does not work. Does anyone can help me?
nameVirtualHost 10.1.1.1
<VirtualHost 10.1.1.1>
ServerName devserver
DocumentRoot "c:\dev"
</VirtualHost>
<VirtualHost 10.1.1.1>
ServerName testserver
DocumentRoot"c:\test"
</VirtualHost>I would like to set two virtual hosts on one server.
According to the apache's document, I have done the
following in Apach httpd.conf. Howerver, I don't why
it does not work. Does anyone can help me?
nameVirtualHost 10.1.1.1
<VirtualHost 10.1.1.1>
ServerName devserver
DocumentRoot "c:\dev"
</VirtualHost>
<VirtualHost 10.1.1.1>
ServerName testserver
DocumentRoot"c:\test"
</VirtualHost>Hi,
Have you tried something like this:
nameVirtualHost 10.1.1.1
<VirtualHost devserver>
ServerName devserver
DocumentRoot "c:\dev"
</VirtualHost>
<VirtualHost testserver>
ServerName testserver
DocumentRoot"c:\test"
</VirtualHost>
Jim -
Virtual Host Error..
Hi,
i created two virtual hosts and later deleted it and edited the config files also(httpd.conf,mod_odc4j.conf)....now wen i click teh virtual host link in http server in the enterprise manager its giving the following error..please help...what to do next???
An error was encountered while loading page. Entity not found.
Resolution:
Entity not found
Base Exception:
Indexes in DCM Daemon have become out of sync from those of SMI client.
Resolution:
Shutdown and restart the failing SMI clients. If it still does not work, please restart DCM daemon and restart clients.. Base Exception:
Indexes in DCM Daemon have become out of sync from those of SMI client.
Resolution:
Shutdown and restart the failing SMI clients. If it still does not work, please restart DCM daemon and restart clients.dcmctl updateconfig from $OH\dcm\bin.
EM uses DCM to maintain a copy of the files so yours are out of sync since you haven't made the changes through EM.
If this is a production server be very careful of this ; is this 10.1.2 ? -
Can I make Virtual Host accessible to local network only?
On our web server (with only one interface and IP address), we have two virtual hosts:
-An intranet site which should not be viewed by general public.
-A public website accessible by general public over the internet.
How do I ensure that our web server only serves the intranet site to the local 192.168.0.0/16 network, whilst still allowing anyone to view the public website?Quick thoughts. You can handle this a few ways. Here are two fast ones.
You can just use the host name and order your virtual hosts public first, private second. Then make sure that the URL for the public site is the only one on you public DNS. For example, if you have two VHs, www.yourdomain.com and wiki.yourdomain.com. Then on the public DNS servers, create a record for the www host only. That way, if the wiki host is entered outside of the environment, it will not resolve to an address. Now if you are using wildcards on the outside, then this may cause some issues and I can not predict this early in the morning if the wildcard would resolve to the primary VH or pass the URL in the header.
So the other option is to modify the directory container within the virtual host file. For example, your VH file has a Directory container that probably looks something like this.
<Directory "/Library/WebServer/Documents">
Options All -Includes -ExecCGI -Indexes +MultiViews
AllowOverride None
<IfModule mod_dav.c>
DAV Off
</IfModule>
</Directory>
And to it the following:
order deny,allow
deny from all
allow from 192.168
This will restrict access the to the 192.168 subnet. Refine it more if needed to 192.168.0 etc.
Hope this helps -
How to connect the two virtual machine .
I installed VM workstation and created two virtual machine .Please suggest me how to connect them internally each other though vm network editor.I want create RAC Setup for practice.
NAT is the default adapter type in VirtualBox, which will work in almost any configuration and networking environment. Using the NAT adapter, the host system will establish connections on behalf of the guest OS. NAT requires that the corresponding VM guest adapter uses DHCP and cannot be used to provide any services unless you configure port forwarding (>1024) at the VirtualBox VM NAT adapter.
Bridged networking is the most transparent adapter type, but requires a physical network adapter on the host OS, which is limited depending on the host system and hardware, e.g. wireless. It also requires that the user understands network and routing restrictions of the host system in case of using the interface to communicate between the host and VM. A combination of host-only and NAT may sometimes be necessary to allow the VM to connect to the internet and allow the host to communicate with the VM guest OS.
Btw, the host-only adapter IP actually works on behalf of the host OS and can be used to allow the VM to access the host system. So if Internet is not required, the NAT or bridged adapter are not required. I'm not sure if many people realize that, since it's not really mentioned in the documentation. So if you use the host-only adapter, simply use the host-only IP instead of the host system real IP to connect the VM to the host OS.
I also switched to VirtualBox a couple of years ago, mainly because it provides more VM hardware options, is free and because of the ability to manage multiple virtual machines and group them together. I have about 70 virtual machines for testing and evaluating configured on my home computer. I also like the option in VirtualBox to clone a VM based on a Snapshot.
VMware provides a Virtual Network Editor in VMware Workstation (KB 1018697), which allows to customize any of the existing virtual network adapter or add new ones. The available technologies under any Type 2 hypervisor are very similar between different products:
http://www.vmware.com/support/ws45/doc/network_configure_ws.html
Maybe you are looking for
-
Stacking simple jobs with batch on Solaris 10 x86
Hey Guys, I have a user that needs to load up a bunch of very low priority (nice 19) jobs on a 4 CPU machine so that once one completes, another one starts. I thought batch would be a good use for this. We don't have any mpi worries or anything, thes
-
MY iPhone is completely frozen. I did a hardest and finally after 10 times it came up with the iTunes logo with a plug-in sign. It is still frozen. WHat should I do. MErmaid
-
Website Design Using Adobe Flash
Hi everybody, I need some help from anyone that expert in website design using adobe flash player. Please send me a PM. Thank you Jarlabs
-
new pixma pro 100 the ink supply level seems stuck on full for all 8 cartriges despite a fair amount of printing connected with USB Mac OS 10.9 any ideas on how to get this working? thanks in advance
-
Good evening, I have been asked to take over a website. Whomever designed it used an applet at the bottom of the index.htm that displays a button that when pressed displays a *.png image in a new browser window. <APPLET codeBase=./ height=24 width=37