Questions Re: Virtual Hosts & MAMP

I hired a computer science student to install and configure MySQL, phpMyAdmin and virtual hosts on my MacBook Pro, but he screwed it up. So I tried to figure it all out myself once again. I finally downloaded a preconfigured package called MAMP. I now apparently have PHP, MySQL and phpMyAdmin up and running on my machine. But that still leaves virtual hosts.
I checked out the MAMP Pro version ($50) at
http://www.living-e.com/products/MAMP-PRO/index.php and read "You can set up many virtual hosts."
That doesn't make sense to me; shouldn't you be able to set up many virtual hosts even with the free version of MAMP? Or does MAMP somehow make it EASIER to create virtual hosts, and the Pro version simply allows you to make many of these simplified virtual hosts?
Unfortunately, MAMP's support forums seem pretty lame, so I decided to ask some questions here. If MAMP Pro does indeed make it easy to create virtual hosts, then I'll purchase it immediately.
If it doesn't, then can anyone point me to a tutorial that explains the entire process, as clearly as possible? I've modified my httpd.conf, hosts and NetInfo files till I'm blue in the face and have asked questions on three different forums. I was able to create virtual hosts even on my PC; surely it can't be that much harder on a Mac.
Thanks!

Yeah, in another post he decided he does not like the Netinfo solution as he is a new Mac user and wants to keep it simple. I believe Netinfo is for DNSing the localnet anyway.
It turns out it is incredibly simple to configure Virtual Hosts. In fact, it is even simpler in Apache 2 than Apache 1.3 because there is a separate component for configuring the Virtual Domains. Here's hoping OSX 10.5 includes Apache 1.2.
What you do is you first edit your hosts file:
sudo nano /private/etc/hosts
Add these lines to point to your local machine domains:
127.0.0.1 host2.example.com
127.0.0.1 Test
Here we are using
http://host2.example.com/
and
http://Test/
as our domains. When you are set up click these links and the pages should open in your browser.
Edit the file at
sudo nano /private/etc/httpd/httpd.conf
to include these Virtual Domain blocks somewhere in the file:
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /Library/WebServer/Documents/Test/
ServerName Test
ServerAlias Test
ErrorLog /Library/WebServer/Documents/logs/Test-error_log
CustomLog /Library/WebServer/Documents/logs/Test-access_log common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /Library/WebServer/Documents/host2/
ServerName host2.example.com
ErrorLog /Library/WebServer/Documents/logs/host2.example.com-error_log
CustomLog /Library/WebServer/Documents/logs/host2.example.com-access_log common
</VirtualHost>
Note that the file does not even contain sample blocks in the config file as Virtual Hosts has been a recent invention. Apache 2, however, integrates VHosts seamlessly.
In this example, I transcribed paths from the default OSX 10.4 Apache installation, so you may need to adjust the paths a bit since it is untested. Please report back so we can adjust the documentation accordingly.
When finished, put some default docs in the target folders and restart Apache:
sudo apachectl restart
You should be up and running. You may need to reboot for the hosts file to activate, unless you know how to dump the cache like a Unix geek.
Oh, and thanks for the patience on this one, I have been figuring it out too.

Similar Messages

  • Question about Virtual Hosts with Apache 2

    Hi,
    I have a mac mini with 10.5.4 and I was wondering if it is possible to host two websites on this one computer. What I mean by this is I have an ip address 12.34.56.78 that points to the mac mini.
    I also have two domain names, say example1.com and example2.com, each with total DNS control. Is it possible to point both domains to 12.34.56.78 and have different pages show. For example when example1.com is loaded, the file /Library/WebServer/Documents/example1/index.html is loaded. When example2.com is loaded, /Library/WebServer/Documents/example2/index.html is loaded.
    I have tried to do this with virtual hosts, but I can't seem to get it to work. I seem to have permission problems with apache 2 and I get the forbidden error.
    If anyone knows if this is possible, and how to do it that would be of great help. Thanks.

    Awesome, thanks David! I look forward to reading this. I've
    just been
    "dealing" with it. :O)
    Jon
    "David Powers" <[email protected]> wrote in message
    news:elh9uq$el0$[email protected]..
    >I have written a short tutorial on setting up virtual
    hosts in Apache 2.2
    >on Windows. I wrote it as an update for readers of
    "Foundation PHP for
    >Dreamweaver 8", but it contains full instructions, so
    doesn't require a
    >copy of my book to be able to follow it.
    >
    >
    http://foundationphp.com/tutorials/apache22_vhosts.php
    >
    > --
    > David Powers, Adobe Community Expert
    > Author, "Foundation PHP for Dreamweaver 8" (friends of
    ED)
    > Author, "PHP Solutions" (friends of ED)
    >
    http://foundationphp.com/

  • Virtual host creation question

    I have two systems - "A" and "B", where "A" is the
    development system, and
    "B" is the php/Apache host. I'd like to have virtual servers
    configured
    that point back into the local sites on "A", but serve from
    "B".
    So, I edit A's hosts file to contain this -
    192.168.1.80 phphost
    (that's B's ip address)
    which works pretty well. Now, when I enter ''
    http://phphost'' from "A", I
    get the Apache default page. Then, on "B", I edit the Apache
    config file to
    enable virtual hosts, and add this line -
    <VirtualHost *:80>
    DocumentRoot "192.168.1.101/Documents and Settings/Murray R.
    Summers/My
    Documents/SCInc/wildimages/site2/"
    ServerName wild2
    </VirtualHost>
    (where 192.168.1.102 is the IP for "A")
    but that's not working. Can anyone tell me whether this
    scheme can work,
    and if so, where my mistake might be?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================

    I have two systems - "A" and "B", where "A" is the
    development system, and
    "B" is the php/Apache host. I'd like to have virtual servers
    configured
    that point back into the local sites on "A", but serve from
    "B".
    So, I edit A's hosts file to contain this -
    192.168.1.80 phphost
    (that's B's ip address)
    which works pretty well. Now, when I enter ''
    http://phphost'' from "A", I
    get the Apache default page. Then, on "B", I edit the Apache
    config file to
    enable virtual hosts, and add this line -
    <VirtualHost *:80>
    DocumentRoot "192.168.1.101/Documents and Settings/Murray R.
    Summers/My
    Documents/SCInc/wildimages/site2/"
    ServerName wild2
    </VirtualHost>
    (where 192.168.1.102 is the IP for "A")
    but that's not working. Can anyone tell me whether this
    scheme can work,
    and if so, where my mistake might be?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================

  • Virtual Host creation question - the movie

    No answers, so I'm reposting....
    I have two systems - "A" and "B", where "A" is the
    development system, and
    "B" is the php/Apache host. I'd like to have virtual servers
    configured
    that point back into the local sites on "A", but serve from
    "B".
    So, I edit A's hosts file to contain this -
    192.168.1.80 phphost
    (that's B's ip address)
    which works pretty well. Now, when I enter ''
    http://phphost'' from "A", I
    get the Apache default page. Then, on "B", I edit the Apache
    config file to
    enable virtual hosts, and add this line -
    <VirtualHost *:80>
    DocumentRoot "192.168.1.101/Documents and Settings/Murray R.
    Summers/My
    Documents/SCInc/wildimages/site2/"
    ServerName wild2
    </VirtualHost>
    (where 192.168.1.102 is the IP for "A")
    but that's not working. Can anyone tell me whether this
    scheme can work,
    and if so, where my mistake might be?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================

    > Trying that now.
    No workie.... 8(
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Murray *ACE*" <[email protected]> wrote
    in message
    news:[email protected]...
    >> o Has the full drive on machine A been shared out?
    Otherwise, I'm not
    >> sure that path will work. Otherwise, you'd use
    \\192.168.1.101
    >> \sharename1:
    >
    > Yes, it has.
    >
    >> o Why do you want to do this to yourself? Just
    upload like you would to
    >> any other server.
    >
    > I want to test locally.
    >
    >> o On machine B, map a drive letter to the network
    resource, then:
    >>
    >> <VirtualHost *:80>
    >> DocumentRoot "k:\"
    >> ServerName wild2
    >> </VirtualHost>
    >
    > Trying that now.
    >
    > --
    > Murray --- ICQ 71997575
    > Adobe Community Expert
    > (If you *MUST* email me, don't LAUGH when you do so!)
    > ==================
    >
    http://www.dreamweavermx-templates.com
    - Template Triage!
    >
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    >
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    >
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    > ==================
    >
    >
    > "Joe Makowiec" <[email protected]> wrote in
    message
    >
    news:[email protected]...
    >> On Thu 22 Jun 2006 12:14:09p, Murray *ACE* wrote in
    >> macromedia.dreamweaver.appdev:
    >>
    >>> There are two machines - both WXPPro.
    >>>
    >>> Machine A is 192.168.1.101.
    >>> Machine B is running PHP/Apache
    >>>
    >>> I want the virtual host for the apache
    installation on machine B to
    >>> direct me back to the root folder of the site on
    machine A.
    >>
    >> Gotcha. Just throwing things out here and seeing if
    something will
    >> stick:
    >>
    >> o \\192.168.1.101\docume~1\...\whatever
    >>
    >> o Has the full drive on machine A been shared out?
    Otherwise, I'm not
    >> sure that path will work. Otherwise, you'd use
    \\192.168.1.101
    >> \sharename1:
    >>
    >> <VirtualHost *:80>
    >> DocumentRoot "\\192.168.1.101\wildimages\site2\"
    >> ServerName wild2
    >> </VirtualHost>
    >>
    >> (Note: I'm guessing here on the direction of the
    slashes. It's so much
    >> easier in the *nix world - everything goes /)
    >>
    >> o On machine B, map a drive letter to the network
    resource, then:
    >>
    >> <VirtualHost *:80>
    >> DocumentRoot "k:\"
    >> ServerName wild2
    >> </VirtualHost>
    >>
    >> o Why do you want to do this to yourself? Just
    upload like you would to
    >> any other server.
    >
    >

  • Apache server - tomcat - jk, virtual hosts, database/context.xml question?

    Hello,
    I have an web application that runs perfectly in Tomcat 5.5 when running tomcat stand-alone.
    I also have Apache HTTP server integrated with Tomcat using the jk connector and running virtual hosts in a mod_jk.conf file, which is working for html files. When I run apache and tomcat at the same time, the jsp opens but the servlet cannot get a database connection.
    To run virtual hosts and apache and tomcat, I added this host container to server.xml:
    <Host name="www.mydomain.com" debug="0" appBase="d:/WebApps/mydomain"
    unpackWARs="true" autoDeploy="true">
    <Context path="" docBase="" debug="0"/>
    </Host>
    Does anybody see anything wrong with this? Is there some reason why the context.xml (which contains the database info) is not being read?
    Any suggestions are greatly appreciated.
    Thank you,
    Logan

    Hi,
    In the docmentation of Tomcat 5.x is written that is not recommended to put <context> element in the server.xml file. Create a file in CATALINA_HOME/conf/Catalina/www.mydomain.com/ with an XML extension. For example context.xml. In files like this you should write all of your <context> elements.

  • Agent for Apache w/Virtual Hosts question

    I have an apache installation with two vritual hosts defined. The AMAgent for apache is installed and working fine. But ... I only want the agent to manage one of the virtual hosts. The virtual hosts are IP based because they both run over SSL. How do I tell the agent to not manage the second virtual?
    Mark

    I've tried that, and no luck. We actually set com.sun.am.policy.agents.config.notenforced_list.invert to 'true', inverting the meaning of the not enforced list, and there is just one specific sub-URL (https://site1.foo.com/suburl/*) in the list. So everything else should already be 'not enforced'. And testing against other url's under site.foo.com shows that to be true.
    The behaviour I am seeing is actually odd ... When I try to go to https://site2.foo.com/, I get redirected to https://site1.foo.com/. You would think that, if the Agent is the problem, then it would redirect me to the login url defined in AMAgent.properties. But it doesn't ... it just sends me to https://site1.foo.com/.
    But I know the plugin is the issue because, if I comment out the reference to dsame.conf in httpd.conf, everything works as expected.
    Mark

  • Virtual host or DAD question

    If I have an APEX app that is available to internal users at https://myserver.com/pls/apex/f?p=101 but for external users is renamed through a security proxy to https://www.mysecurityproxy.com/myapp/pls/apex/f?p=101 (notice that the external server address has an additional directory level, /myapp), what is the best way to allow both types of users access to the app especially where flash charts are concerned? Should I use a virtual host? If so, how should I make sure that the extra directory level gets included? Do I use the document root? Will this work:
    <VirtualHost *:80>
    ServerName www.mysecurityproxy.com
    DocumentRoot "/myapp"
    </VirtualHost>
    <VirtualHost *:80>
    ServerName myserver.com
    </VirtualHost>
    <VirtualHost *:443>
    ServerName www.mysecurityproxy.com
    DocumentRoot "/myapp"
    </VirtualHost>
    <VirtualHost *:443>
    ServerName myserver.com
    </VirtualHost>
    Thanks, -warren

    Warren,
    I tried to use Flash charts through our reverse proxy a while ago and never could get it setup correctly. I tried messing with the #HOST# substitution string and never could get it just right. This was a while ago, so the details of what I did elude me right now.
    One thing I can tell you is that the suggestions made here on the forum didn't make a difference. Eventually, I abandoned the charts for outside users and just kept inside users pointed to the internal address.
    Earl

  • Problem with DNS and/or Virtual Host (works from inside, not from outside)

    I am running several web sites (as virtual hosts) successfully on one Xserve (192.168.200), which are accessible internally and from the Internet (via forwarding port 80 on our firewall).
    Now I am trying to add another web site (newmini.domain.com), which however is running on a Mac mini (also on the same subnet as the Xserve) at 192.168.100. What I did is make an additional entry under the Xserve's DNS for the domain (domain.com) (+ Machine..., pointing to 192.168.0.100). (I also made the necessary changes to the Mac mini's httpd and hosts configuration--no problem there).
    Now, here's the strange thing: All computers on the subnet, whose DNS points to the Xserve, can see and browse newmini.domain.com fine. No problem. The computers ask the Xserve for the IP of the host in question, the Xserve says, "192.168.100", the request goes to the Mac mini, and it serves the web site as expected.
    But this doesn't happen if the request comes from the Internet. Instead of seeing the Mac mini, the client sees the default web site of the Xserve... So it appears that somewhere, the virtual host part of the HTTP request is lost between our firewall and the Xserve.
    Any ideas? Thanks.

    It's not going to.
    You say you've setup port forwarding on the firewall. Port forwarding only cares about the port number (80). It knows nothing about the nature of the request (e.g. the hostname that the web request is for). Therefore all extenal connections on port 80 get sent to the XServe. The newmini doesn't see the traffic at all.
    If you only have a single public IP address you can only forward port 80 traffic to a single machine. Your options are to either use a different port number, or configure the XServe to proxy the connection to the mini (so now the traffic goes router -> XServe -> Mini -> XServe -> router), although that might not do what you want since it still places load and dependencies on the XServe.

  • Oracle9iAS R2 - Virtual Hosts with Portal and SSO with OIDDAS application

    Hi!
    I have installed a the machine with name minsk.discover.local. The machine have installed Infrastructure and Portal. The instalation is sucessfull and i work fine. But i have publish Portal to WEB with name intranet.discover.com.br. The Oracle describe:
    1 - Create the virtual hosts in SSO and PORTAL - OK
    2 - run ptlasst to create SSO Partners Applications - OK
    After this steps iwork fine with Portal and SSO, but when i click in portlet to create user to access the application OIDDAS, the Portal redirect to login page of SSO in address mct.com.br, the internal name, when then name not responde in the internet.
    I need a help!!!!
    Marcio Mesti

    I just spoke to the Oracle App server admins, the two servers in question are clustered.
    So my question changes slightly to:
    What is the best way to install and configure a webgate for clustered Oracle App servers with mulitple virtual hosts, that are residing behind a load balancer (Traffic Manager)?
    Thanks,
    Andy

  • Use require group in virtual host

    Hi,
    I have set up several virtual hosts in my middle tier, and configured them as partner applications so that OID/SSO can be used for authentication. It works fine, but the only supported method I can see is 'require valid-user' which allows any user in OID access to all virtual hosts. Does anyone know of a way around this using OID (not mod_auth). We want to allow users within a group access to individual virtual hosts.
    Thanks,
    Karen

    Hi there,
    I just wanted to clarify my question, has anyone been able to use group authentication using OID to restrict access to websites hosted using AS10g? My website is just plain html, but maybe someone has done something similar by adding a java wrapper to perform the authentication (that seems like overkill to me but maybe there is a more elegant workaround)?
    Thanks,
    Karen

  • How to confiture virtual hosts with multiple domain names

    hello,
    I've read through some of the postings here on virtual hosts, but I thought I'd better solicit advice before I actually try some of the things I've read about.
    In a nutshell, I've purchased multiple domain names that I'd like to alias to a new site (currently it is just a subfolder in the main site directory) on my OS 10.3.x server. There is only the one main site configured right now on the box, so I know I need to set up a second "virtual site" pointing to the files in this subfolder to make it function as its own site.
    I've dabbled around with the sites settings in the GUI, but I'd probably be most comfortable setting all this up in the httpd.conf by hand if I could. But I'm weary of this because I know it might be better to use the GUI because of OS X Server's flavor of WebObjects and Apache (sigh).
    So, I have two main questions:
    1) How would I set up this second site using the GUI in server settings? Do I need to first move the subfolder out of the main folder before it can be designated its own site? Or can I just point to it in the GUI? Can I use one of my purchased domain names in the domain field?
    2) Currently, I have URL Forwarding set with my multiple domain names, but I'm thinking there might be a better way to do this? For SEO I'd rather use some type of redirect rather than being penalized by search engines for having what looks to be multiple domains pointing to the same site.I'm thinking I should create virtual sites for each domain name I've purchased with a hard redirect back to the main site?
    Any suggestions would be appreciated.
    Thanks
    G4 Mac OS X (10.3.9) 10.3.9 Server
    G4 Mac OS X (10.3.9) 10.3.9 Server

    thank you for your reply.
    > You can create each site as a new Site in Server
    Admin. When you do this you can choose any
    directory on disk as the document root for each
    site.This means you can move the sites' folders out of
    /Library/WebServer/Documents if you like - you could
    create /Library/WebServer/site1,
    /Library/WebServer/site2, etc. (or even be outside of
    /Library/WebServer if you want).
    so, are you are saying that I could designate one site to be
    /Library/WebServer/Documents/site1
    and another to be
    /Library/WebServer/Documents/site1/directory1
    even though directory1 is contained within site1's structure? I'm not advancing this as a good idea, necessarily. I'm just wondering if Apache would complain.
    > Each site should have the domain name set as per your
    registered domains. Apache will need this to
    determine the correct site to serve for each
    request.
    Well, after some additional research I'm thinking I'm missing a critical piece of the puzzle. That being access to the DNS host server that manages the context of my server. I have purchased domain names through an outside registrar that point to my site and I can create virtual hosts on my server, but I don't have the ability to add the new virtual host names into the DNS server that manages my box. If that makes sense. Or maybe I'm missing something?
    >
    I'm not sure why you're using URL forwarding at all.
    Without that piece of information it's impossible to
    tell you whether you should continue using them or
    not - in general there's no need to use URL
    forwarding if you have multiple Virtual Hosts setup,
    but it sounds like you have multiple hostnames
    pointing to the same content, so your needs may be
    different.
    I'm using forwarding for the reason I list above. I didn't purchase hosting with the registrar where I purchased my domain names, so they are parked on the registrar's name server with URL forwarding to my server. The DNS server that manages my box resides in a different location and I don't have the ability to add DNS entries pointing to virtual hosts that I want to set up. Am I stuck?
    G4 Mac OS X (10.3.9) 10.3.9 Server

  • 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

  • Problem Changing the Root Directory of the Default Virtual Host in J2EE 7.0

    Hi,
    I'm trying to change the root directory for the default virtual host in J2EE 7.0.
    i did the following steps in visual admin: services -> HTTP Provider -> Runtime -> Virtual Hosts -> default:
    Root Directory: "D:/usr/sap/<server>/<instance>/j2ee/cluster/server0/apps/sap.com/crm~b2b/servlet_jsp/b2b/root/b2b" (this the correct path to the application)
    Start Page:"z_index.jsp"
    I restarted HTTP Provider Service and the J2EE.
    When I start http://<server>:<port> i get the following error:
    The requested resource /z_index.jsp is not available
    Details:   File [z_index.jsp] not found in application root of alias [/] of J2EE application [sap.com/com.sap.engine.docs.examples].
    sap.com/com.sap.engine.docs.examples is the initial default root directory, but i changed it to the correcht path...
    Can anybody help me?
    Yours
    Michael
    Message was edited by:
            Michael Cendon

    Hi,
    hqt200475 wrote:
    Hi,
    I have the Environemt:
    + Linux SUSE 11 + Oracle Enterprise 11.2.0.2
    oracle@stb:~> uname -a
    Linux stb 2.6.32.12-0.7-default #1 SMP 2010-05-20 11:14:20 +0200 x86_64 x86_64 x86_64 GNU/LinuxMy Problem is changing the home directory of an existing Standalone-ASM:
    /u00/app/oracle/product/11.2.0/grid_1/I want to move it to
    /u00/app/grid/product/11.2.0/grid_1/My Question: what is the optimal path?
    Optimal Flexible Architecture standard
    All Oracle components on the installation media are compliant with Optimal Flexible Architecture. This means, Oracle Universal Installer places Oracle Database components in directory locations, assigning the default permissions that follow Optimal Flexible Architecture guidelines.
    Oracle recommends that you use Optimal Flexible Architecture, specially if the database will grow in size, or if you plan to have multiple databases.
    /u00/app/oracle/product/11.2.0/grid_1 - Oracle home directory for Oracle Grid Infrastructure 11g for a standalone server, if user owner of installation is "oracle"
    /u00/app/grid/product/11.2.0/grid_1 - Oracle home directory for Oracle Grid Infrastructure 11g for a standalone server, if user owner of installation is "grid"
    http://download.oracle.com/docs/cd/E11882_01/install.112/e16763/appendix_ofa.htm
    Hope this helps,
    Levi Pereira

  • Virtual hosting in Weblogic 6.0

    hi,
    I have created a virtual host with the name MyVirtualHost and VirtualHost names
    as mysite , in wl6.0 using the admin console.
    I have cofigured DefaultWebApp_myserver as the default web application.I checked
    the config.xml file and an entry has been made in it <VirtualHost
    DefaultWebApp="DefaultWebApp_myserver"
    Name="MyVirtual Host"
    PostTimeoutSecs="20"
    Targets="myserver"
    VirtualHostNames="mysite"
    />
    How do I access it?
    I tried http://mysite and http://mysite:7001 but I get the default "page cannot
    be displayed " page with IE.
    Any Help?
    Thanx
    Sunil

    Not quite sure what the question is, but the answer most likely rests in wl 6.0 docs under "virtual
              hosting".
              Gene
              "Virendar Rana" <[email protected]> wrote in message news:3a7202b7$[email protected]..
              > I have multiple high-level DNS domain for which I want to setup Virtual Hosting in a single
              Weblogic Server 6.0?
              

Maybe you are looking for

  • 2 problems with mini

    My ipod mini has suddenly started speaking some foreign language and I cannot get it back into English, Any Ideas how do do it? Also, when I sync it, it continues to stay in the mode of the "do not disconnect". How do I get it to stop? I would like t

  • I have an iphone 4 and have a lock on top with a circle around it .how do i turn it off?

    my iphone has a lock on top with a circle around it .How do it turn it off?

  • IPad calendar won't stay open

    I got up this morning and I can't keep the calendar open.  I rebooted the iPad to see if that would fix it and it didn't.

  • To include logo in layout

    Hi everybody, I want to know how to include a company's logo in a layout as a header.The layout that i have with me is in GIF format.The name of the logo is logo.gif How it can be done? Regards, Varadharajan

  • How to place popup menu on clicking a Component

    Hi everybody. I have a swing application where I have JFrame and so many components in that. I want to open Popup menu on clicking a button. The menu should have three menu items into that. It looks very simple but I am not sure how should I do that.