ACE probing of "virtual hosts" on web servers

We got some web servers that hosts multiple web sites and would like to probe each of these sites.  Is there a way to configure a probe to present the request for a particular web site versus the other without falling into the catch all clause of the http server configured on the box ?
Thanks

Hello Folks,
I wonder if you could get away with just using the built-in HTTP probe rather than the scripted probe?  With the built-in HTTP probe, you can configure all sorts of HTTP headers, including the Host header which might be all you need for your server hosting multiple sites.
Just to clarify on the support for scripted probes that TAC supports:  If the script is downloaded from cisco.com, and is not modified, then TAC will support it.  It is not supported if it is modified, and TAC will not support custom-created scripts.
Hope this helps,
Sean

Similar Messages

  • Hosting 2 web servers

    Is it possible for me to host 2 web servers using 1 public ip, if I do a nat statement to both of them, how will it know which server to use from the outside ?

    Hello Carl,
    I can see that you have some trouble configuring NAT.
    Please check the following link for some usefull information:
    http://www.cisco.com/en/US/products/ps6350/products_configuration_guide_chapter09186a008044eddc.html
    But answering your question:
    straight link:
    Avoiding Server Overload Using TCP Load Balancing
    Perform this task to configure server TCP load balancing by way of destination address rotary translation. These commands allow you to map one virtual host to many real hosts. Each new TCP session opened with the virtual host will be translated into a session with a different real host.
    SUMMARY STEPS
    1. enable
    2. configure terminal
    3. ip nat pool name start-ip end-ip {netmask netmask | prefix-length prefix-length} type rotary
    4. access-list access-list-number permit source [source-wildcard]
    5. ip nat inside destination-list access-list-number pool name
    6. interface type number
    7. ip address ip-address mask
    8. ip nat inside
    9. exit
    10. interface type number
    11. ip address ip-address mask
    12. ip nat outside
    http://www.cisco.com/en/US/products/ps6350/products_configuration_guide_chapter09186a008044eddc.html#wp1048769
    example:
    ip nat pool real-hosts 192.168.15.2 192.168.15.15 prefix-length 28 type rotary
    ip nat inside destination list 2 pool real-hosts
    interface serial 0
    ip address 192.168.15.129 255.255.255.240
    ip nat outside
    interface ethernet 0
    ip address 192.168.15.17 255.255.255.240
    ip nat inside
    access-list 2 permit 192.168.15.1
    All from cisco website.
    If this helps, please rate my post.
    Thanks,
    Vlad

  • 2 Logical Host, 2 Web Servers, Big Problem?

    I am setting up a sun HA cluster using 2 E4500 servers. I have created 2 logical hosts, each one needs to host a Netscape iPlanet 4.0 web server sitting at port 80. Each logical host is serving up web applications for different clients.
    If I need to fail over one of the logical hosts so that they are both running on the same system, the newly imported instance of the web server will fail because port 80 is already in use by the logical host that is on that physical host.
    At first this seemed totally wrong. Each logical host should be able to run applications on any port they need to. Then someone who has a lot more time on Solaris told me that this was not the case, and each logical host had to steer clear of using the same ports as other logical hosts in the same cluster.
    Can someone clue me into what is reality?
    Any good documentation that tells how to set this stuff up?
    Thanks!
    Bruce

    Hi,
    The best way to resolve this would be to try implementing the same.
    Instead of going through an entire cluster install/configuration
    process, you may want to try setting up two different web servers
    on a single node. You may want to set up a virtual interface (like
    le0:1, hme0:1 etc) for this. You coud then try connecting to
    individual web servers on port 80. If this works, then the two
    webserver/two node cluster implementation should also work.
    Hope this helps.
    Thanks,
    Gopinath.

  • Apache, name based virtual hosts and multiple servers.

    Hi,
    Ive been playing with Apache and name-based virtual hosts for a while now, but, ive been doing it with one single server... now i have the need to forward a name-based request to another server inside the intranet (wich doesnt have a public IP, but a private)...
    Something like this:
    internet -----> Webserver (name based vhosts) ----> intranet-webserver
    Where "webserver" has several domains resolved via name based virtual hosting, and one of those needs to be redirected (or forwarded) to another server on the LAN.
    Any ideas on how to do this? i tryed searching the web, but i dont know under which keywords, so i always end on single server virtual hosting help sites.
    thanks in advance!

    you need to define a virtual server for it..but inside that definition.. define a proxy.
    Then the middle webserver, will actually handle the request to the intranet server, on behalf of the internet client..and then pass the traffic to the internet client.
    this looks like a reasonable example..
    http://www.linuxfocus.org/English/March … le147.html
    namely, the section "Mapping Virtual Servers"

  • Accessing portal server with virtual host via web dispatcher

    Hi,
    I have portal installed at http://hostname.com:50000. A web dispatcher is installed in front of it which uses port number 80 and redirects to http://hosname.com:50000.
    so when i say http://hostname, my web dispatcher redirects to http://hostname.com:50000/ from where i can access my portal.
    now I want to create an alias for my hostname, say when user types http://mydev, it should redirect to http://hostname.company.com thru webdispatcher.
    so i created virtual host for my portal server . how to use this in my virtual hosts in my webdispatcher.
    I have already gone throug this..
    http://help.sap.com/saphelp_erp2005/helpdata/en/fe/cda776f2f64d5287c614b2f715c25f/frameset.htm
    would be great if some one can help me in this regard.
    Thank you
    P.S: I dont want to create a DNS alias with name mydev, then i think virtual host concept doesnt make sense, atleast in java engines..which has different concept in SAP systems.

    HI Jacob,
      Thank you for the reply.. I am little bit confused.could you please clarify the followint to me.
    My requirement is when user types "http://epdev", it should redirect to http://hostname.company.com:50000
    1. To do that, according to what you said, I will create a DNS alias epdev to the IP address where my portal is hosted. so when the user types http://epdev, I have set up a parameter in web dispatcher profile to redirect to http://hostname.company.com:50000/.. so my requirement is fulfilled now..I hope this the correct proc for what I intended to achieve. am I right?
    2. As said above, I am using web dispatcher only for redirection to a fully qualified name, as portal requires as fully qualified domain name. Is there a possibility other than web dispatcher for redirection.
    3. if the above procedure works, I got a question like..what is the use of "virtual hosts".
    How is it different from creating for instance, creating as many DNS aliases to IP address.
    Although, it was explained at http://help.sap.com/saphelp_erp2005/helpdata/en/0b/fbf5a47928f84e8d0beba8371508e6/frameset.htm
    I didnt clearly understand it.
    I would really appreciate, if you could clarify these to me.
    Thank you

  • Virtual host j2ee

    Hi,
    I have a web dispatcher installed in front of my portal. and in my j2ee engine of my portal, I defined 3 virtual hosts x,y,z with thier entries in DNS.
    As I said, I am accessing my portal server through web dispatcher. and I studied the following document to set up my virtual hosts in web dispatcher...
    http://help.sap.com/saphelp_erp2005/helpdata/en/fe/cda776f2f64d5287c614b2f715c25f/frameset.htm
    but I couldnt find how to find INDEX OF VIRTUAL HOSTS (VHOSTIDX)that i created.
    I am talking about j2ee engine and all the documentation available is focussed on abap stack.
    could some one please help me in this regard.
    Thank you

    Hi Benny,
      Than you for the reply.. here is the scenario...
    when i type
      http://adm:50000/  it will take me to index.html
      http://anon:5000/  it will take me to anonymous homepage
       http://login:50000/ it will take me to ep login page.
    as you can see (adm,anon,login are all referring to same IP address, i.e. they are 3 virtual hosts to one host machine), they are behaving as different web servers each of them taking you to a different page.
    this works fine..if I access directly.. but with webdispatcher in the middle.. i need to configure something called as VHOSTIDX.. but I cant find it in visual admin of j2ee engine..
    YEP, ICF stuff is different... but my problem is with j2ee..
    could you please help me in this regard.
    Thank you

  • Virtual hosting on leopard server

    Hello,
    I have a leopard server on which I want to have two sites served from the same ip address port combination.
    I am using the Server Admin tool bundled with OSX server to configure Apache.
    I have created two sites in Sites tab. One has the name "mydomain.org" and the other has the name "machinename".
    They are both configured to serve from the same local IP address.
    The name "mydomain.org" is served by DNS and the name "machinename" is configured on the client's /etc/hosts file.
    From what I know of virtual hosting, the web server receives a http header called 'Host' with the host name that was used on the browser, to select the files to serve. I have sniffed the http network packets from my client machine to the web server and seen this header set correctly to the hostname used on the browser.
    The problem is that just one site is being served to both names. I want to select the site according to name.
    What can I be doing wrong ?

    Done it the hard way.
    StuG

  • Difficulty with Virtual Named hosts on Web Ser

    I am having a difficult time with creating Several Virtual Named Hosts with Apache2. I am trying not to use the Apache Manual modifications to the config file, sothat I can stil manage cia Server Admin. I am running OSX 10.5.2 and have several domains registered . Additionally I have a DNS Server running on the Xserver the primary zone is yadayadayada.com with zone as follows;
    yadayadayada.com. Primary Zone
    www.yadayadayada.com. ALIAS yadayada.com.
    machineyada Machine 74.11.11.11
    HomePage Service machineyada.yadayadayada.com:80
    I have reverse Zones, and a Secondary zones setup for my DSL Service provider and my Domain host. I have two DSL Lines setup using a Cisco router , the cisco router provides DHCP , and multiplexes the two DSL lines to share bandwidth.
    the web is setup as follows;
    Domain_Name Address Port
    * 80
    yadayadayada.com. * 80
    yadayadayada1.com * 80
    I dont have Realms setup and all other Web config parameters are set as default
    my name servers are registered , and have propagated verified by a nslookup. I have them setup to point to the same phydical server using the multiplexed ip adresses i.e.
    ns1.yadayadayada.com 74.11.11.11
    ns2.yadayadayada.com 74.11.11.12
    when I browse to either www.yadayadayada.com or www.yadayadayada1.com I get the default website, when the default web is deactivated i receive server not available .
    According to the documentation once you have a unique domain name and a Zone for that domain you should be able to host multiple Named Virtual hosts, however after explicitly following the "Vague" directions I am still not able to get the configuration to return the correct sites. does anyone have any experiance with Virtual Named hosts, or must i resort to the Apache Docs ?
    Thanks for the assistance in advance.

    Obfuscating the domain name often leads to confusion - for example are errors introduced via typos in the obfuscation?
    Given the information that you've posted, your DNS isn't setup correctly.
    You're trying to access 'www.yadaydayada.com', but you don't have any 'www' record in your 'yadayadayada.com' zone file. However, since you seem to get a response from the web server clearly you have some kind of additional DNS setup that you're not posting here.
    In any case, as far as Apache is concerned, there is no relationship between 'yadayadayada.com' and 'www.yadayadayada.com'. They are two completely different hostnames and I wouldn't expect Apache to serve yadayadayada.com's web site when you're trying to access 'www.yadayadayada.com'. You'll need to either assign a server alias for the other domain, or add an additional Virtual host for 'www.yadayadayada.com' (and make sure the DNS points to the right place, of course).

  • Setting up multiple web sites (virtual hosting).

    Dear members:
    I am considering OS X Server for a personal project and would like some advice to help me decided what route to take.
    My computer will soon be turned into a server hosting my web sites and some other services at my home office. I am thinking about OS X Server as I have done some research and found OS X to require quite a bit of work so that it can do virtual hosting.
    How simple is it to configure virtual hosting in OS X Server ? I am considering the latest Leopard version in case it matters. I am not experienced and wish to employ an application that will simplify this process.
    Any help will be very appreciated.
    Thank you,
    Joseph Chamberlain

    You could create local PAC file <http://findproxyforurl.com/pac_file_examples.html> where you can return multiple PROXY servers.  You would create text file with your PAC script in it.  Then specify System Preferences -> Network -> Advanced -> Proxy -> Automatic Proxy Configuration, and click "Choose File".
    If you choose to take BDAqua's advice and create multiple Network Locations, you can then use either
    /usr/sbin/networksetup -switchtolocation "MyCompanysProxy1"
    /usr/sbin/networksetup -switchtolocation "MyCompanysProxy2"
    /usr/sbin/networksetup -switchtolocation "MyCompanysProxy3"
    or
    /usr/sbin/scselect "MyCompanysProxy1"
    /usr/sbin/scselect "MyCompanysProxy2"
    /usr/sbin/scselect "MyCompanysProxy3"
    you can put them into a script of your choosing.  Shell script, or Automator Run Shell Scirpt, or Applescirpt do shell script (or Perl, Python, Ruby, etc...)

  • Configuring default web apps for virtual hosts

    Hi,
    This posting is meant save time for anyone trying to specify a default web app
    for each of their virtual hosts (as opposed to specifying a default web app for
    each of their wl servers). This applies to weblogic 6.1, on NT. (I haven't tried
    this on other platforms).
    If you are trying to use the admin console to do this, give up. It's not possible.
    The "Virtual Host/Configuration" window lets you specify everything about that
    vhost configuration EXCEPT a default web app. (The "Default Web Application" drop
    down menu will always have only one option to choose from: "none").
    Instead, shutdown your server, and edit your domain's config.xml file manually.
    Attached is an example config file that specifies that the web app "kz" should
    be the default web app for the vhost "wl.kz.com", and that the web app "kahuna"
    should be the default web app for the vhost "www.kahuna.com".
    Hope this helps,
    Brian O'Donnell
    Lead Developer, Learning Network
    [config.xml]

    Hi,
    Is it possible to configure default web appls for virtual hosts
    with Weblogic 6.0 on NT platform? I tried to configure the configure.xml as Brian
    did, it doesnot work. I am just wondering if there's any other possible way to
    do this.
    Thanks.
    Mei
    "Brian O'Donnell" <[email protected]> wrote:
    >
    >
    >
    Hi,
    This posting is meant save time for anyone trying to specify a default
    web app
    for each of their virtual hosts (as opposed to specifying a default web
    app for
    each of their wl servers). This applies to weblogic 6.1, on NT. (I haven't
    tried
    this on other platforms).
    If you are trying to use the admin console to do this, give up. It's
    not possible.
    The "Virtual Host/Configuration" window lets you specify everything about
    that
    vhost configuration EXCEPT a default web app. (The "Default Web Application"
    drop
    down menu will always have only one option to choose from: "none").
    Instead, shutdown your server, and edit your domain's config.xml file
    manually.
    Attached is an example config file that specifies that the web app "kz"
    should
    be the default web app for the vhost "wl.kz.com", and that the web app
    "kahuna"
    should be the default web app for the vhost "www.kahuna.com".
    Hope this helps,
    Brian O'Donnell
    Lead Developer, Learning Network

  • Console shows web application deployed to server but not to the virtual host yet things still work, huh?

    I finally figured out how to get the virtual hosting piece to work in
    wls811. Now I have a question about the console presenting me with some web
    app information. The Web Application Modules node and the Deploy tab shows
    me the application is deployed to the server and it's Active, however the
    console indicates the web app is not deployed to the virtual host and is
    inactive. But the server is resonding to requests for each of my Virtual
    Host Names, so they must be deployed to the virtual hosts as well.
    Anyone with some ideas? Thanks.

    do you see any deployment exception in the server.log ? if nothing please post the web.xml and sun-web.xml

  • 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
    diego

    Hi 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

  • Web sharing - virtual hosts and CGI

    This topic might be a bit advanced for this forum, I'm not sure. But here goes.
    I'm trying to set up my laptop to act like a web server so that I can do test development on it. I have two web sites, and have successfully created virtual hosts for each of them.
    The part that I'm struggling with now is enabling CGIs, as I want to learn to write CGIs in Perl. I can't seem to find any site that discusses how this is done in Leopard. One said something like "just put the CGIs into /Library/WebServer/CGI-Executables and it'll work", but of course, since I've got virtual hosts defined, it seems that anything addressed to "localhost" defaults to the first virtual host and thus there is no way to refer to a CGI placed in that location. Besides which, I'd like to know how to enable CGIs placed in a folder on each of my virtual sites, so that I could test them in place.
    Any ideas?

    One said something like "just put the CGIs into /Library/WebServer/CGI-Executables and it'll work", but of course, since I've got virtual hosts defined, it seems that anything addressed to "localhost" defaults to the first virtual host and thus there is no way to refer to a CGI placed in that location.
    That is an incorrect assumption.
    By default, Apache is configured to recognize any URI that begins with /cgi-bin and serve that request via a CGI script in /Library/WebServer/CGI-Executables
    This is true even though each site's DocumentRoot is set somewhere else on the file system (that's by design since it makes it harder for a remote attacker to affect your CGIs)
    Since it does not matter which site the request was on, any /cgi-bin request would be served from there, so:
    http://www.domain1.com/cgi-bin/some.cgi
    http://www.domains2.net/cgi-bin/other.cgi
    would both be served from /Library/WebServer/CGI-Executables even though they are for two different virtual hosts.
    Now, of course, if you want each site to be separate and have its own set of CGIs (maybe some.cgi for domain1 does something different from some.cgi on domain2) then this approach causes problems. For this you will need to edit each site to have its own cgi-bin directory.
    Unfortunately (although I haven't tested it) I think Matt's solution won't work because Apache is going to catch all /cgi-bin/ requests and serve them from /Library/WebServer/CGI-Executables, never getting to the cgi-bin directory within each site's documentroot.
    To set site-specific CGI directories you need to add a ScriptAlias command to each site's .conf, such as:
    ScriptAlias /cgi-bin/ /path/to/site/cgi-bin/
    This tells apache that any request for /cgi-bin/* should be served from /path/to/site/cgi-bin
    Ideally the path should be outside of the site's normal document root, but it can be inside if you really want.

  • Help! Azure Cloud Services and Virtual Machine Web Servers Load Balancing

    I have a cloud service. I have two virtual machines setup as web servers each with IIS installed. I have configured my domain registrar to point my domain name to the cloud service IP address. I also went into the endpoints of each virtual machine and verified
    that I have http port 80 setup on both in a load balanced set. 
    I am unable to access websites on either server at this point. DNS propogation site shows "error: token mismatch"...this has been setup since yesterday and still error.
    Can anyone assist me in where I went wrong? Am I confused to how the cloud service should work? I am assuming it will allow me to load balance the two virtual machines in the way I have configured above. Please help!!!!

    Hi,
    Thank you for posting in here.
    We are checking on this issue and will get back at earliest.
    Regards,
    Manu Rekhar

  • Getting web host name, web-port, oral-report server name and virtual path

    Hi.
    I have been using oralce forms 6i on oracle application server 10g. I have three servers installed on remote locations.I just want that when i am hosting an application on a server, the web host name, web port , oracle report server name and the path of directory should be selected in a dynaminc variable at application level at run time. In this manner, I will be able to make a single application for all three servers. Any other solution to this problem is also welcomed. Please help anyone and oblige me.

    Hi Rajesh,
    Actually Web AS Host name is <Servername>.<domain name>:<Port no>
                 Web AS Path for R/3 is </sap/bc/bsp/sapd>
    Refer the following link.
    <a href="https://forums.sdn.sap.com/thread.jspa?threadID=402561">https://forums.sdn.sap.com/thread.jspa?threadID=402561</a>
    <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=265076">https://www.sdn.sap.com/irj/sdn/thread?threadID=265076</a>
    Regards
    Hemalatha
    /Assign points if helpful/

Maybe you are looking for

  • How do I put an event into my reminder list?

    With the old ical, I could simply drag an event over to the "to do" list (now Reminders) on the right side.  I need this function for appigo Todo on my iphone.  Anybody know how to add an event to the reminder list?  I hate to have to type everything

  • Sorry, a serious error has occurred that requires Adobe Premiere Pro to shut down! Frustrated.

    I keep getting this error went stating a project. I import the media and then *bang* I am hit with this error message. I have searched around for a solution and can't find one. It was working perfectly up until 4/5 days ago. I also updated to the lat

  • What is the table name from which......

    Hi, when i run a report KE30 - Execute Profitability Report through TCode KE30 in r/3 ( profatibility analysis and profitibility report ) from which table does the report pics the data. Is the report generation in r/3 is thorugh ABAP only ? thanks in

  • Custom Error Message (How to?)

    Hello, I have a removeInstance tied to a button in the click event.  I know this will generate a default Adobe error if the minimum number of rows have been reached. I would like to replace the default Adobe error of "index out of bounds" with a more

  • Add Column in Sales Order

    Hello, Is it possible to add an extra column with other columns in the sales Order Form ? The column must be other than the existing columns in the SAP form settings. Rgds Subrata