How to setup a ProxyPass Virtual Host

On my server which i will call server.server.com I run jenkins a service that runs on port 8080.
I would like to have the virtual domain jenkins.server.com proxy from port 80 to port 8080.
from the linux world i would use:
<VirtualHost *:80>
ServerName jenkins.server.com
ErrorLog "/var/log/httpd/jenkins.server.com.error.log.%Y%m%d"
LogLevel warn
ProxyTimeout 300
ProxyPreserveHost On
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/
</VirtualHost>
I have tried to set up a website and edit the conf file but the server will not start.
Do I have to install mod_proxy, how?
Am i missing somthing?
Server Version 2.2.1
OS X Version 10.8.3

Found the help i needed here: https://discussions.apple.com/message/20785305#20785305

Similar Messages

  • How to define a separate virtual host for each client in SICF

    Hello,
    We have an ERP system with multiple clients running on it. The WebDynpro ABAP applications once developed are available on all clients, as standard. However, this is not our desired behavior. We want:
    1. The WebDynpro ABAP applications should be managed separately in SICF depending on the client
    2. The URL for accessing the WebDynpro application should have a own host name for each client. e.g.
    A WebDynpro application on client 100 should be accessed by http://host1:5000/sap/bc/... and the same application on client 200 should be accessed by http://host2:5000/sap/bc/...
    After a while researching I find out that creating a virtual host for each client in SICF would be a possible solution to fulfill the above mentioned requirments:
    1. Set the profile parameter is/HTTP/virt_host_* with corresponding host name and port number
    2. Create a new virtual host in SICF assigning the profile paramter to it
    3. Assign a client to this virtual host
    My question is how to specify a client to a virtual host? I didn't find any possibilities in SICF!
    Anyone can help me? Thanks a lot in advance!
    Best Regards
    Di Li

    Hi Srikishan,
    thanks for your reply. Your suggested way is certainly a potential, and also my preferred option for solving the multiple-client-capable URL access to WebDynpro / BSP applications.
    However, for some reasons, based on the customer requirements, the client should not be visible in the URL. The URL for accessing the WebDynpro / BSP applications on different client should have different host name, as if they are different companies. Besides that, we want to manage each WebDynpro / BSP application on different clients in SICF separately.
    Therefore, at least on my opinion, we need to introduce a virtual host for each client in SICF. But how do I make it happen?
    Regards
    Di

  • How to define a separate virtual host for each client in ICF for WebDynpro

    Hi,
    We have an ERP system with multiple clients running on it. The WebDynpro ABAP applications once developed are available on all clients, as standard. However, this is not our desired behavior. We want:
    1. The WebDynpro ABAP applications should be managed separately in SICF depending on the client
    2. The URL for accessing the WebDynpro application should have a own host name for each client. e.g.
    A WebDynpro application on client 100 should be accessed by http://host1:5000/sap/bc/... and the same application on client 200 should be accessed by http://host2:5000/sap/bc/...
    After a while researching I find out that creating a virtual host for each client in SICF would be a possible solution to fulfill the above mentioned requirments:
    1. Set the profile parameter is/HTTP/virt_host_* with corresponding host name and port number
    2. Create a new virtual host in SICF assigning the profile paramter to it
    3. Assign a client to this virtual host
    My question is how to specify a client to a virtual host? I didn't find any possibilities in SICF!
    Anyone can help me? Thanks a lot in advance!
    Best Regards
    Di Li

    Hi Srikishan,
    thanks for your reply. Your suggested way is certainly a potential, and also my preferred option for solving the multiple-client-capable URL access to WebDynpro / BSP applications.
    However, for some reasons, based on the customer requirements, the client should not be visible in the URL. The URL for accessing the WebDynpro / BSP applications on different client should have different host name, as if they are different companies. Besides that, we want to manage each WebDynpro / BSP application on different clients in SICF separately.
    Therefore, at least on my opinion, we need to introduce a virtual host for each client in SICF. But how do I make it happen?
    Regards
    Di

  • How to setup alias or virtual dirs in the weblogic webserver

    Hi
    I am trying to setup alias or virtual dirs for my images. How do I do that in
    Weblogic webserver. I am currently using 6.1. My JSP's also may reside in a virtual
    directory. Can weblogic handle that or should I deploy them under the web application.
    Any pointers
    Vasu

    BTW use google:
    http://groups.google.com/groups?as_q=docHome&safe=off&ie=UTF-8&oe=UTF-8&as_ugroup=weblogic.developer.interest.*&lr=&hl=en
    cheers
    mbg
    "Mark Griffith" <[email protected]> wrote:
    >
    I think for 6.1 you need to register the FileServlet (weblogic.servlet.FileServlet)
    in your webapp with docHome as an init parameter. Where docHome points
    to the
    rootnode you want to map. Not too sure.. and I haven't tested it.
    In 7.0 you can use virtualmapping in the weblogic.xml
    http://edocs.bea.com/wls/docs70/webapp/weblogic_xml.html#1037236
    Cheers
    mbg
    "Saran" <[email protected]> wrote:
    Hi,
    Did you get the answer for your question(creating alias or virtual
    directory).
    could you share the answer with me.
    my mail id is [email protected]
    Thanks in advance,
    Saran.
    "Vasudev Krishnamoorthy" <[email protected]> wrote:
    Hi
    I am trying to setup alias or virtual dirs for my images. How do I
    do
    that in
    Weblogic webserver. I am currently using 6.1. My JSP's also may reside
    in a virtual
    directory. Can weblogic handle that or should I deploy them under the
    web application.
    Any pointers
    Vasu

  • How to create a new virtual host under tomcat 4.1.x?

    hi all
    i need some help creating a new virtual host under tomcat 4.1.18!
    that's what i do:
    i'm using the web configuration, reacheable by typing "http://localhost:8080" and then clickign administration
    i create a new host
    name: www.class-site.it
    application base: webapps\class-site
    then i create the context:
    document base: webapps\class-site
    path: /
    and nothing works!!!
    anyone could help me?
    if needed i can also post the server.xml file
    thanx in advance for your help
    sandro

    It should look like this
    <Host name="myvhost.com" debug="0" appbase="/my/path/to/webapps" unpackWars="true">
    <Context path ="" docBase="ROOT" debug="0"/>
    </Host>
    This should be inside the <Engine> tags. You should be able to access a page by going to
    http://myvhost.com:8080/index.jsp
    Obviously you need index.jsp in /my/path/to/webapps/ROOT/index.jsp
    Hope that helps

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

  • Correct DNS Setup for Mailman Virtual Host?

    DNS gurus, help please: I'm setting up a new Snow Leopard server that will rely upon an external name server. The single PTR record for this server will be the server's primary website, www.ourprimarydomain.topleveldomain . This primary domain name currently resolves to our current production server. I'm migrating Mailman before the primary website, and I'd like for Mailman to use a subdomain like mailinglists.ourprimarydomain.topleveldomain . This subdomain currently resolves to Mailman on our current production server. For testing before we switch to the new server, I'd like to set up a sub-subdomain development.mailinglists.ourprimarydomain.topleveldomain .
    Clear as mud? Here's what I think that I need in our external DNS, is this the best way?
    A: development.mailinglists.ourprimarydomain.topleveldomain -> new server IP
    MX: development.mailinglists.ourprimarydomain.topleveldomain -> new server IP
    PTR: none until we migrate primary website
    Will this break anything? If we need a PTR record, perhaps we should register an external domain name that isn't our primary website.
    What about C records? Should I register aliases?
    Thanks for your advice,
    Ted

    OK, I've changed my plan. I think that this is the best for my scenario:
    Register an external A, MX, and PTR for development.mailinglists.ourprimarydomain.topleveldomain -- I read that some email spam filtering systems use PTR (reverse lookup) as one factor in spam identification. So I want a PTR to begin with for testing. Once the mailing lists are migrated, I simply request that the current production domains point to the new IP.
    So ... I think that's it

  • How to create and access a Virtual Host on the J2EE WAS?

    Hello, I have searched through the Forums and help.sap.com and found a lot of information on how to set up a Virtual Host on the J2EE server but am having issues with it working.
    The goal is to provide a simple virtual host on the J2EE Portal server to host some static image and HTML files. Previously I had stored these files in the standard publicly accessible SAP J2EE folder location /usr/sap/<SID>/JCxx/j2ee/cluster/serverx/apps/sap.com/com.sap.engine.docs.examples/servlet_jsp/_default/root/. This location is resolved to when using the URL <host>:50000 for example.
    The main issue here is that during Portal support pack applications this folder gets wiped out and we have to remember to save off any custom files and folders in this location and replace them.
    I would like to create a virtual host to store these static files (i.e., branding-image.jpg, etc...).
    I have run through the process of creating the virtual host both using Visual Administrator and <host>:50000/nwa but am not able to get the virtual host name to resolve properly.
    The following are the steps that I have taken. Let's assume the standard SAP portal (i.e., xSS, etc...) is running properly on <host>:50000.
    1. create virtual host via Visual Administrator/NWA called 'sapwebserver1' by using the Create Host option (takes on the attributes of the 'default' standard virtual host)
    2. change the root directory for this virtual server to a custom folder at E:/tmp/mimes (where E:/usr is where the J2EE files are all installed), no start files were set up and nothing else was changed in the new virtual host record, no permissions were changed on the /tmp/mimes folder from whatever the default Windows user permissions are normally set, I am using a local Windows  administrator account but I have not seen any reference in the help files or the examples that indicate that any specific permissions updates need to be made on the virtual host root folder
    3. restarted the J2EE server as well as the HTTP Provider service
    4. before updating the company DNS, I wanted to test this locally on the server and so have updated the server's local HOSTS file with a <host IP address>   sapwebserver1 entry
    5. from that server I can ping the sapwebserver1 virtual host name and it resolves properly to the machine's physical IP address
    According to all of the documentation and examples I have seen I should now be able to (from that server) launch a browser and access the static files in the virtual host by referring to http://sapwebserver1:50000/branding-image.jpg for example. This is not working and the browser just brings up a Cannot display the web page error in IE. By referring to the virtual host name sapwebserver1:50000 it's supposed to hit the J2EE server and based on the host name sapwebserver1 realize that it should resolve to the root directory E:/tmp/mimes. This is not happening. Just as a test I have created a copy of the 'default' virtual host and called it sapwebserver2, updated the local HOSTS file for this entry, and tried to see if that would work like the 'default' host. My expectation was that http://sapwebserver2:50000 would behave the same was as http://<host>:50000 but it too fails to resolve just like the sapwebserver1 virtual host refernce.
    Would anyone happen to have any pointers on what to do next? I just want a simple virtual host to be able to serve up some static images and files.
    Thanks for any insight or assistance you might be able to provide here.
    Graham

    This defeats the purpose of trying to centralize SAP-related web resources on the SAP server. Typically IIS/Apache or other non-SAP servers are under the control of IT and not the SAP BASIS group.
    We simply would like to have a centralized location to store static web files so that they are not overwritten during Portal support pack applications.

  • Virtual Hosts and mod_oc4j.  How is it done?

    Can someone please explain how to configure mod_oc4j and virtual hosts. It can be done with mod_jk, but I am have major problems in getting it to work with mod_oc4j.

    yes, I am also very interested in this thing. i could not find anything about that in the documentation.
    greetings from munich, .thomas

  • How to setup NPIV as Cisco9124 directly linked a Emulex HBA N-port

    I had a cisco9124 switch and enabled npiv on the switch.
    also I had a HBA card, and setup a N-port.
    I can find the N-port pwwn number on the cisco9124,
    and setup the virtual pwwn to my vsan1.
    my question is:
    my  configuration is correct? can let 9124 directly linked a HBA N-port as  NPIV configuration? I think something is wrong. I am no NPV device.
    how can let the virtual ports know which actual port manage the virtual ports.
    I mean for example:
    my fc1/8 port is with 4 virtual ports, how to setup the 4 virtual ports to fc1/8,
    or  just donot care the fc1/8, just found all the virtual ports and setup  the virtual ports luns, then my emulex HBA card will find the luns?
    BRs

    we use Qlogic 4G 2-port HBA and use RHEL5 OS on DellT105
    we are in RHEL5 created 4 virtual ports on one port of HBA.
    then we can find the 4 virtual pwwn on our MDS9124, then I added the pwwn on our vsan and reactivated.
    then created 4 luns, each lun assigned to each virtual port separately, finally I checked our RHEL5, only found 1 lun is correct.  found 2 luns lost and 1 luns allocated to 2 virtual HBA.
    configuration like the following on our switch:
      vsan 1 wwn 21:01:00:1b:32:a9:f0:04 fcid 0x2e1435 dynamic
      vsan 1 wwn 21:01:00:1b:32:a9:f0:05 fcid 0x2e1436 dynamic
      vsan 1 wwn 21:01:00:1b:32:a9:f0:06 fcid 0x2e1439 dynamic
      vsan 1 wwn 21:01:00:1b:32:a9:f0:07 fcid 0x2e143a dynamic
        member pwwn 21:01:00:1b:32:a9:f0:06
        member pwwn 21:01:00:1b:32:a9:f0:07
        member pwwn 21:01:00:1b:32:a9:f0:04
        member pwwn 21:01:00:1b:32:a9:f0:05
    zoneset name IBMzoneset2 vsan 1
        member IBMzone2
    zoneset activate name IBMzoneset2 vsan 1

  • Virtual hosts and mod_oc4j.  Can someone from Oracle please answer, at least reply.

    Can someone please explain how to configure mod_oc4j and virtual hosts. It can be done with mod_jk, but I am have major problems in getting it to work with mod_oc4j.

    I am not sure about mod_jk so I won't touch that.
    mod_oc4j introduces directives that have the scope of either default server or virtual host - just like most OHS (Apache) directives. By default, these directives are in a file mod_oc4j.conf, and this file is included at the highest level.
    If you do want those mount points defined in mod_oc4j.conf to be available only to a certain virtual host etc., you can either create a mod_oc4j_vh1.conf file and have it included within the scope of the vh1 virtual host. Or, you can just define those directives right within the vh1 virtual host directive.

  • 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

  • 2nd virtual host, and external Internet site

    The first virtual host is setup for our internal users.
    The plan is to setup a second virtual host for an external internet portal for customers.
    Do I need a second SSL certificate, and second wallet ?
    Should this run another IP and therefore need another NIC card in the application server host?

    You can use Virtual Hosts in SAP systems to deliver a specific set of ICF services. In the same host:port running the WAS you can have multiple virtual hosts each delivering a set of ICF services.
    Check this documentation
    http://help.sap.com/saphelp_nw04/helpdata/en/85/5c543aa24b511ce10000000a11402f/frameset.htm
    You use external aliases to give meaningful name for the running services. The external alias can be used to access the service.
    Check this documentation
    http://help.sap.com/saphelp_nw04/helpdata/en/78/9852bdc06b11d4ad310000e83539c3/content.htm
    Hope this helps.
    Thanks and Regards,
    Prasanna Krishnamurthy

  • Virtual Host R3

    Hi,
    Anybody knows how I can bind a virtual host to applicattion in distinct oc4j instances in R3, like
    host: http://www.abc.com/ to oc4j instance1 in /app1 and
    host: http://www.def.com/ to oc4j instance 2 in /app2

    I guess you ment 10.1.3.X with 10GR3?
    Anyway, just start here and look for virtualhost: http://download.oracle.com/docs/cd/B32110_01/web.1013/b28948/toc.htm

  • How to properly setup virtual hosts on leopard server

    I am not just new to leopard server but new to “server” as a whole. I have bought a 10-client leopard server and installed it on my old macbook couple of days ago because of the gui and seemingly ease-of-setup of a leopard server. I have watched and followed a tutorial on Lynda.com to install my server. Unfortunately, that tutorial focuses mainly on running a single web server. My main purpose of setting up the leopard server is to run multiple virtual hosts. Now my server (which has its own public ip address and I shall refer to it as just IP) is up and running but I seem not to be able to get virtual hostings to work properly. Below is a summary of what I have setup and I hope somebody from the community can take a look and point out what I have done wrong (thanks in advance):
    - server setup as advanced
    - dns settings:
    o I am not sure whether a different zones should be setup for each domain, so I have opted to define 1 primary zone only and then define the other domain as a machine. For simplicity sake, I have only used two domains in the example below. I actually need to setup at least half a dozen.
    o primary zone
    • my1stdomain.com. is the primary zone name
    • ns.my1stdomain.com. is the only nameserver
    • mail.my1stdomain.com. is the only mail exchanger
    • www.my1stdomain.com. as machine and IP as value
    • www.my2nddomain.com. as machine and IP as value
    • mail.my1stdomain.com. as machine and IP as value
    • server.my1stdomain.com. as machine and IP as value
    • ns.my1stdomain.com. as machine and IP as value
    o reverse zone
    • ip reverse mapping ns.my1stdomain.com.
    - web settings:
    o sites:
    • I have defined the following 2 sites and point each of them to a different folder:
    • my1stdomain.com
    • my2nddomain.com
    - I have setup dns at my domain registrar to reference ns.my1stdomain.com for both my1stdomain.com and my2nddomain.com,
    I have no problem accessing www.my1stdomain.com but I couldn’t reach www.my2nddomain.com. and I have a hunch it has to do with my dns settings.

    It sounds like there are two compounding errors here.
    • www.my1stdomain.com. as machine and IP as value
    • www.my2nddomain.com. as machine and IP as value
    By definition, www.my2nddomain.com cannot be a record in my1stdomain.com's zone.
    You MUST have one zone for my1stdomain.com (that contains my1stdomain.com's NS, MX, mail, www etc. records) and a SECOND, separate zone for my2nddomain.com that contain's its records.
    Now the records in my2nddomain.com's zone may contain the same data (e.g. the same A record), or even reference my1stdomain.com (e.g. 'www.my2nddomain.com is a CNAME to www.my1stdomain.com), but they are separate zones.
    Secondly.
    I have defined the following 2 sites and point each of them to a different folder:
    • my1stdomain.com
    • my2nddomain.com
    If you want to access the site via 'www.my1stdomain.com' (or 'www.my2nddomain.com') then your site needs to be setup for www.my1stdomain.com, not my1stdomain.com
    As far as the web server is concerned, 'my1stdomain.com' is a completely different address (and therefore a different site) from 'www.my1stdomain.com. While most poeple set them to the same it is entirely appropriate and valid for them to be two different sites as far as the web server is concerned.
    Therefore you need to change your sites' configuration to reference the 'www' version of its hostname.
    If you want to run both 'my1stdomain.com' and 'www.my1stdomain.com' as the same site then add the other hostname under Aliases (this tells Apache what hostnames should map to this virtual host).
    Try fixing those two elements and try again.
    Finally, it's often far easier for others to debug this kind of problem when you talk in real names, not dummy ones. Telling us what the domains in question are, for example, would allow others to query DNS to see what values you're actually publishing, and would go a long way to answering the question for sure, as opposed to just speculation.

Maybe you are looking for