Virtual Hosts - I'm lost!

I've been pulling my hair out trying to figure out how to get MySQL, phpMyAdmin and virtual hosts set up on my MacBook Pro. I finally paid a computer science student $100 to do it for me, and he botched it, so I'm now going back to square one.
My websites are located in /Users/username/sites/. I've modified the httpd.conf, hosts and NetInfo files, and I can now preview the home page of ONE of my virtual host sites. The problem is that I see the page whether I type http://localhost/, http://Geobop/, http://GW/ or http://GS/ into my browser. It should preview only at http://Geobop/.
I rediscovered the article Enabling Virtual Hosts on MacOS X at http://www.evolt.org/article/EnablingVirtual_Hosts_on_MacOSX/18/13138/
and added a script to my httpd.conf file, as follows:
# Leave this one alone - it makes sure that localhost works.
<VirtualHost 127.0.0.1>
DocumentRoot /Library/WebServer/Documents
ServerName localhost
</VirtualHost>
#<VirtualHost 127.0.0.1:80>
# ServerName geobop
# ServerAdmin [email protected]
# DocumentRoot /Users/MYNAME/Sites/Geobop
#</VirtualHost>
If I understand correctly, this is supposed to make http://localhost/ display something unique, rather than a local website. However, all the URL's I cited above still display the same thing...but this time around they display blank pages with columns of numerals along the left margin.
In an earlier experiment, I deleted all my virtual hosts from httpd.conf. Then all these URL's displayed the following:
Index of /
Name Last modified Size Description
[DIR] Parent Directory 13-Mar-2007 15:49 -
[ ] index.php 06-Oct-2006 15:36 1k
[ ] php5.fcgi 06-Oct-2006 18:18 1k
[ ] phpMyAdmin-2.9.0.2.tar 06-Oct-2006 17:44 11.4M
[ ] phpinfo.php 06-Oct-2006 15:20 1k
[ ] phpinfo.php5 06-Oct-2006 18:20 1k
Apache/1.3.33 Server at localhost Port 80
Can someone tell me what's going on and how to fix it? If I can get Apache and my virtual hosts squared away, then I'm going to try to get MySQL and phpMyAdmin back up and running.
Thanks.

I don't know much about it, but I do have two comments since it does not sound like a virtual hosts problem.
1) Netinfo Machines will not work by default. You will need to configure lookupd to give Netinfo priority over DNS:
lookupd -configuration
The default configuration will be:
LookupOrder: Cache FF DNS NI DS
configname: Host Configuration
What you need to do is configure lookupd to give NI priority over DNS. Here is how it should look:
LookupOrder: Cache NI FF DNS DS
To do this, use commands like this, you will need to have root access enabled:
su
lookupd -configuration
cd /etc
sudo mkdir lookupd
cd lookupd
echo LookupOrder Cache NI FF DNS DS > hosts
reboot
lookupd -configuration
After rebooting, your lookupd order should put NI in front of DNS. Now you can make entries in the "machines" column to your local domains.
2) MySQL is not installed, however a socket is configured so yeah it's a little confusing. You have to go to the website http://dev.mysql.com/downloads/mysql/5.0.html and scroll down to OSX. Just ignore the pesky questionnaire screen before the download page.

Similar Messages

  • Lost Virtual Hosts After Apache Upgrade

    I have migrated my server from 10.4.11 to 10.5.1. The upgrade appeared to go fine but the virtual hosts I have disappeared. I tried using the 1.3 to 2.2 Apache conversion process but that failed. I tried cleaning up the site files, modified the /var/db/.ApacheVersion file to 2 and then tried copying httpd.conf and sites from a working version of a clean install of 10.5 where I had gotten the virtual hosts to work. I am at a loss. I would be willing to do a clean install of Apache 2 but I am not sure how to do that.
    Interestingly, the mailman pages work for the virtual hosts but no matter what I seem to do, the other web pages for the different sites default to the "Documents" directory.
    Thanks for any help you can provide.
    Paul

    The plot thickens...
    When I do a ps -ax, I see the following processes:
    untitled text 6:16: 47 ?? 0:01.29 /usr/sbin/httpd-1.3 -F -D LAUNCHD
    untitled text 6:43: 102 ?? 0:00.13 /usr/sbin/httpd-1.3 -F -D LAUNCHD
    untitled text 6:80: 325 ?? 0:00.13 /usr/sbin/httpd-1.3 -F -D LAUNCHD
    untitled text 6:86: 529 ?? 0:00.13 /usr/sbin/httpd-1.3 -F -D LAUNCHD
    untitled text 6:94: 2042 ?? 0:01.61 /usr/sbin/httpd -D FOREGROUND
    untitled text 6:104: 2079 ?? 0:00.60 /usr/sbin/httpd -D FOREGROUND
    untitled text 6:105: 2082 ?? 0:00.55 /usr/sbin/httpd -D FOREGROUND
    Also, looking in Console, it appears that errors are being logged in the /var/httpd/ error and access log files and not in the log files assigned by ServerAdmin /var/log/apache2... Though ServerAdmin suggests that I am running 2.2, it appears that I may still be running 1.3. Any suggestions?

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

  • The essential guide to DW cs4... by D. Powers: when from wamp to xampp+virtual host and having problems :(

    Following the book in chapter 2 I think Ivé followed everything correctly, but have encluded all the things I've edited below.
    I was using wamp with no problems but after trying to set up a virtual host and now using xampp im abit lost its probabsomething stupid but I can find the prob.
    (This post is abit long and dragged out so I used some colour to try ease the reading..)
    When I try to view a dynamic page in live view or in firefox I get the following error:
    **when using:
    <VirtualHost *:80>
    DocumentRoot c:/xampp/htdocs
    ServerName localhost
    </VirtualHost>
    result:
    Access forbidden!
    You don't have permission to access the requested object.     It is either read-protected or not readable by the server.
    If you think this is a server error, please contact the webmaster.
    Error 403
    thegoodlife
    2009/10/13 12:47:48 PM
    Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0
    *when using:
    <VirtualHost *:80>
    DocumentRoot c:/htdocs
    ServerName localhost
    </VirtualHost>
    result:
    Object not found!
    The requested URL was not found on this server.          If you entered the URL manually please check your     spelling and try again.
    If you think this is a server error, please contact the webmaster.
    Error 404
    thegoodlife
    2009/10/13 12:32:58 PM
    Apache/2.2.12 (Win32) DAV/2 mod_ssl/2.2.12 OpenSSL/0.9.8k mod_autoindex_color PHP/5.3.0 mod_perl/2.0.4 Perl/v5.10.0
    This is what I've done, blue indicating where I have or was meant to edit, red being the relivant context. (hope it helps )
    1. Created a new folder called htdocs (C:\htdocs)
    2. Changed the pathname to:
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "C:/htdocs"
    and
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "C:/htdocs">
    3. Created vhosts folder; with a sub-folder called thegoodlife (C:\vhosts)
    4. entered new vhost:
    # Additionally, comments (such as these) may be inserted on individual
    # lines or following the machine name denoted by a '#' symbol.
    # For example:
    #      102.54.94.97     rhino.acme.com          # source server
    #       38.25.63.10     x.acme.com              # x client host
    127.0.0.1 localhost
    127.0.0.1 dwcs4
    127.0.0.1 thegoodlife
    127.0.0.1 bin.errorprotector.com ## added by CiD
    5.It says uncomment the command by removing the #, (Supplemental configuation.), but this is the origional file; already uncommented?
    # Real-time info on requests and configuration
    Include "conf/extra/httpd-info.conf"
    # Virtual hosts
    Include "conf/extra/httpd-vhosts.conf"
    # Distributed authoring and versioning (WebDAV)
    Include "conf/extra/httpd-dav.conf"
    6.Set the permissions and changed the code as instructed, unsing (c:/xampp/htdocs) as advised.
    # You may use the command line option '-S' to verify your virtual host
    # configuration.
    <Directory C:/vhosts>
      Order Deny,Allow
      Allow from all
    </Directory>
    # Use name-based virtual hosting.
    ##NameVirtualHost *:80
    # VirtualHost example:
    # Almost any Apache directive may go into a VirtualHost container.
    # The first VirtualHost section is used for all requests that do not
    # match a ServerName or ServerAlias in any <VirtualHost> block.
    <VirtualHost *:80>
    DocumentRoot c:/xampp/htdocs
    ServerName localhost
    </VirtualHost>
    <VirtualHost *:80>
    DocumentRoot c:/vhosts/dwcs4
    ServerName dwcs4
    </VirtualHost>
    <VirtualHost *:80>
    DocumentRoot c:/vhosts/thegoodlife
    ServerName thegoodlife
    </VirtualHost>
    Then creating the site definition:
    local root forlder: C:\htdocs\thegoodlife\
    testing server folder: C:\vhosts\thegoodlife\
    URL prefix: http://thegoodlife/
    hope i've covered all area's where I could have gone wrong

    Just one more thing - the description of what i did while first Kernel appeared:
    Happened 2 days ago. Wasn't turning it off for like a day, only sleep mode by closing it. Worked fine all day, wasn't doing anything, except for checking mail 2-3 times and having windows 7 virtual machine opened but doing nothing, everything was going fine. Then closed it without turning off.
    Opened 3-4 hours later, everything was working fine for 30 minutes of checking mail, then Kernel appeared. After that pretty much everything i did is described in part 1-5.
    Note: all the time MBP was connected to internet via wifi, so updates to both MBP and virtual machine of all programs were possible.
    I only shared downloads and desktop folders, so windows couldn't have access to system folder of Mac Os.
    Hope this might help...Thanks again.

  • No Virtual Host Found

    Ok soooo
    Like everyone else.. ok like some others here... iCal seems to be a major sticking point with 10.5 Server. I'm not an expert, but have been the server admin for several years now so am kind of learning as I go. Here's what I've done:
    1. Clean install of 10.5 "advanced"
    2. Updated to 10.5.1
    3. Created a few users
    4. Created a few groups
    5. Have AFP, mail, web, SMB, chat , and half of VPN up and running correctly.
    6. When trying to start iCal, I get the error message "No Virtual Host Found"
    Most of these posts deal with Open Directory, so I enabled that service, went thru the setup for it, and now OD seems to be working.
    But I STILL can't get iCal to start running.
    This is a very small office... there is only 1 server, since we are not using it as a NAT, there is no DNS running.
    So what am I missing?

    Well out of sheer frustration, I once again started from scratch. While both the "Standard" and the "Workgroup" setups seem similar, I opted for the "Standard" setup to start.
    I believe the one key element to success is to choose Open Directory as one of the first services to set up... there is a list you check during setup, and Open Directory is one of them.. I checked it, and iCal, and File and Print Sharing, and most likely e-mail as the only services for the server to set up and auto configure for me.
    Once that was done, I added a user or two, and things became much clearer.
    On 10.5 Clients, go to the Utilities folder, and look for an application called Directory Utility, and launch it.
    It's possible that your server may have been found by the client, but if it is, I'd elect to delete it and start afresh just to be sure everything is correct.
    For clients INSIDE the office, when asked for the server name or IP address, I entered the IP address of the server, and it went into auto pilot after that, asking me if I wanted it to configure the client computer.... in my case, I checked Yes.
    It will then configure the client to use the services you've set up on the server(so, in reality, you may want to wait 'til you have more services up and running).
    It asks for your username and password on the server, as well as the password for the client machine. As I understand it, if the client password is different, it will change the password on the server to match(but my password is the same, so can't promise what happens when they are different).
    It DID configure both e-mail and iCal to work correctly with the server. In iCal there is a new listing on the left called yourdomain server, and one default calendar there. You can add more if you like.
    Once you have several users up and running, in the client iCal prefs, under the Accounts tab, there is a tab for "Delegation". This is were you allow other users to see and /or write to your calendar. Click the "Edit" button, and the rest should be cake. The users must be valid users on the server. Likewise, there is a window showing accounts you can access and the privileges you have there.
    In my case, I'm not so much working with others, but am looking for a replacement for the iCal sync function of Dot Mac. I was able to log into my account on the server from a computer at work, one at home, and a laptop. All three reflect changes made on any of the client computers I operate.
    (As a note... for the laptop, which is sometimes IN the office and sometimes OUT of the office, as well as the computer at home, in Directory Utility, I used the FQDN of the server. This connects to the server from outside the LAN and works just the same as if I were inside.)
    Now if only there was an option of what to publish in the server.... with Dot Mac, I elect to publish only that there is an event.. no name or anything else... this allows clients to see when I'm busy, but not who I'm busy with. Unless I can figure out how the calendar can be seen by anyone on the web, AND I can hide the event info, I'm stuck on Dot Mac.
    I WISH I had an answer for the "no virtual host" issue. I did run into a problem with a web site, and found the only way to fix it was to delete the web site entry in the Server Admin, then re-instate it again, and all was well. I'm thinking it MAY be possible to delete the iCal service in Server Admin, save changes, re-start the server, then add the iCal service again.... its possible that will get you around the No Virtual Host message, but since I started over, I can't test to tell you if it will or wont work. I can tell you that there is nothing in the iCal Server Admin that is vitally different that what was there before, so I'm at a loss about the no virtual host message.
    Soooo that's my iCal service story. Long, hard, bitter, and difficult. I've said this before, but Apple really need to create some type of "Re-Initialize" server button to put you back with a fresh install, instead of having to re-install it. I've lost track of how many times I've done that with 10.5, and know I had to do it with 10.2, 10.3 and 10.4 as well. For now, I'm on the Standard Setup, but intend to migrate to the Advanced after this seems stable AND I've got a good working copy on a separate drive to go back to should things go haywire. I can say that while I've have had to use Server Admin some(for the firewall for sure), there seems to be no interference between the settings I make in Server Prefs and Server Admin.
    Good luck to you all!

  • Apache virtual host with OSX Server?

    I have been running OSX Server for a while now, and just recently I decided to get McMyAdmin for my Minecraft server. The web client for McMyAdmin runs on port 8080, but I wanted it on port 80. I wanted to use it with my domain, so I just created a sub domain and pointed it to my server. The problem is that OSX Server apparently doesn't let me use port 80, even when websites are turned off. I decided to delete Server and just use plain apache. This worked until I realized that my website was only accessible locally. I have all the correct ports forwarded, etc. But I get the error:
    Response Error.
    Technical description:
    502 Bad Gateway - Response Error, a bad response was received from another proxy server or the destination origin server.
    when I try to connect from outside my network. This is probably just some simple thing I missed but it would be nice if someone could just point out what I did wrong here. Back to the point, I want to know how to run the proxy to my web client on port 8080 AND ALSO run OSX Server with or without apache virtualhost.
    Thanks in advance,
    Eamon

    Web is stupidly easy - Apache has extensive support for multiple virtual hosts in a single server and will happily support as many domains/hostnames as you can throw at it.
    Mail is a little trickier since it needs to hook into some kind of directory server to validate user addresses.
    Mac OS X's Open Directory does support this, but it's a little cumbersome (basically every user has to exist in the main Open Directory domain as well as having a secondary email address(es) in the other domain(s).
    This can get especially tricky when you have users with the same shortname in different domains - for example if you give [email protected] a secondary email address of [email protected] and you then get a new user [email protected], you can't give the third 'joe' the address 'joe' in Open Directory since that's already taken. This means he'll have to login using different credentials from his email address. Confused yet? You bet.
    If you're prepared to eschew Open Directory you can just use Postfix's built-in support for virtual hosting, but it's a little more complex to setup and support and is entirely command-line based (i.e. there's no GUI for setting it up or supporting it).
    So, for that reason you might be prepared to setup multiple virtual machines for each domain. It really depends on how much the domains are related (if at all).

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

  • HOW TO DEFINE VIRTUAL HOST NAME IN HPIA64 + SAP R/3 ENTERPRISES 4.7

    Hi all,
    I am trying to install sap r/3 enterprises 4.7 with OS as HP-UX and Database as Oracle in a cluster environment.
    In cluster environment sap installation should be done on virtual hostname ( package id ). I'm using the env variable SAPINST_USE_HOSTNAME=<VIRTUAL HOSTNAME>.
    My cluster is running and I'm able to ping it from network, but at the time of SAP Installation my sapinst starts with the physical host name not with the virtual host name.
    What can be the solution ..?
    Thanks,
    Chandresh Pranami.

    Hi Chandresh,
    Try executing sapinst with virtual hostname.
    eg. ./sapinst SAPINST_USE_HOSTNAME=<VIRTUAL HOSTNAME>.
    This should work.
    -Pinkle

  • How can I connect to multiple WLS instances from a single Apache virtual host

    Configuration : WebLogic 5.1 SP8 & Apache
    I need to be able to have a configuration that looks something like this.
    www.company.com/x -> WL cluster01
    www.company.com/y -> WL cluster02
    In all the examples that I have been able to find they alway defines the the WL
    connection for the entire virtual host, but I need to be able to do it on a location
    basis is that possible?
    Thanks
    Jens Schutt

    httpd.conf:
    <VirtualHost 172.17.9.24:443>
    DocumentRoot "/www/X"
    ServerName qawebivesta.qa.livecapital.com
    ErrorLog /usr/local/apache/logs/qaweb1.error_log
    TransferLog /usr/local/apache/logs/qaweb1.access_log
    SSLEngine on
    SSLCipherSuite
    ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
    SSLCertificateFile /usr/local/apache/conf/ssl.crt/server.crt
    SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/server.key
    <Files ~ "\.(cgi|shtml|phtml|php3?)$">
    SSLOptions +StdEnvVars
    </Files>
    <Directory "/usr/local/apache/cgi-bin">
    SSLOptions +StdEnvVars
    </Directory>
    SetEnvIf User-Agent ".*MSIE.*" \
    nokeepalive ssl-unclean-shutdown \
    downgrade-1.0 force-response-1.0
    Debug ON
    DebugConfigInfo ON
    <Location /ivesta/>
    SetHandler weblogic-handler
    WebLogicHost qawlgc1
    WebLogicPort 7001
    </Location>
    <Location /TMPPhase2>
    SetHandler weblogic-handler
    WebLogicHost qawlgc1
    WebLogicPort 11001
    </Location>
    </VirtualHost>
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    /TMPPhase2 works fine, but when I try to access /ivesta I get a 404 from WebLogic
    "https://qawebtmp.qa.livecapital.com/ivesta/index.jsp?__WebLogicBridgeConfig
    Weblogic Apache Bridge Configuration parameters:
         WebLogic Cluster List:
              General Server List:
                   Host: 'qawlgc1' Port: 11001
              DefaultFileName: ''
              PathTrim: ''
              PathPrepend: ''
              ConnectTimeoutSecs: '10'
              ConnectRetrySecs: '2'
              HungServerRecoverSecs: '300'
              MaxPostSize: '-1'
              DynamicServerList: ON
              StatPath: false
              CookieName: WebLogicSession
              Idempotent: ON
              FileCaching: ON
              DisableCookie2Server: OFF
              QueryFromRequest: OFF
              Build date/time: Jun 25 2001 15:09:34
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    This should have been connecting to my 7001 instance not the 11001.
    Thanks
    Jens
    "Eric Gross" <[email protected]> wrote:
    What do you mean the wrong port? Post the complete output from
    WebLogicBridgeConfig as well as the URL you used.
    Also, paste the weblogic relative portions from your httpd.conf
    Thanks,
    Eric
    "jens" <[email protected]> wrote in message
    news:[email protected]...
    I also used ?__WebLogicBridgeConfig to verify that it did pick up thewrong port.
    Here is my build date for mod_wl.so in SP10
    Build date/time: Jun 25 2001 15:09:34
    Thanks
    Jens
    "Eric Gross" <[email protected]> wrote:
    Make sure you are using the latest plugin. As well, add parameter:
    DebugConfigInfo=ON and make a request with a query paramater of
    ?__WebLogicBridgeConfig and you should then see the build date/time.
    We can
    then see if you are indeed using the latest plugin.
    It is not a possibility to get the source.
    Regards,
    Eric
    "jens" <[email protected]> wrote in message
    news:[email protected]...
    And the solution where you put the WebLogic parm under location
    the
    last
    location
    over rule the previous.
    I have also tried to upgrade my plug-in from SP8 to SP10 but that
    didn't
    make
    any difference either.
    Is it possible to get the source code for the plug-in, I'm afraid
    that
    it
    don't
    follow put's all it's parm's a the vhost level no matter where in
    the
    conf
    file
    they are placed.
    HELP
    Jens
    "Eric Gross" <[email protected]> wrote:
    Yu is correct.
    Here is another way to do it as well:
    MatchExpression /x
    WebLogicCluster=server1:port,server2:port|PathTrim=/x
    MatchExpression /yWebLogicCluster=server3:port,server4:port|PathTrim=/y
    The general syntax for this would be:
    MatchExpression exp name=value|name=value
    Where exp=Mime type(*.jsp) or exp=/x(path)
    The next argument in the list is a pipe(|) delimited list ofname=value
    pairs (ie: WebLogicHost, WebLogicPort, WebLogicCluster, PathTrim,
    PathPrepend, etc..).
    Hope this helps.
    Regards,
    Eric
    "Yu Tian" <[email protected]> wrote in message
    news:[email protected]...
    Hi Jens,
    I think you can proxy by ppath.
    <Location /x>
    SetHandler weblogic-handler
    WebLogicCluster cluster1
    </Location>
    <Location /y>
    SetHandler weblogic-handler
    WebLogicCluster cluster2
    </Location>
    thanks
    Yu
    "Jens" <[email protected]> wrote in message
    news:[email protected]...
    Configuration : WebLogic 5.1 SP8 & Apache
    I need to be able to have a configuration that looks something
    like
    this.
    www.company.com/x -> WL cluster01
    www.company.com/y -> WL cluster02
    In all the examples that I have been able to find they alway
    defines
    the
    the WL
    connection for the entire virtual host, but I need to be able
    to
    do it
    on
    a location
    basis is that possible?
    Thanks
    Jens Schutt

  • How to configure multiple virtual hosts for the same context root /

    Hi,
    I am using Glassfish V1 U1 - b14 on Solaris.
    I am trying to configure two applications to be mapped to the / root context, each one in its own virtual host.
    Two things I have noticed:
    1. I have to manually add virtual-hosts="hostId" in domain.xml/application-ref ... looks like just simply deploying the app does not do that although the application is set as default for its particular virtual host. Is this a bug?
    2. Although I have set for each virtual host the default web-app correctly, and they both respond fine, I cannot map both of them to the / context. The second application (chronologically deployed) does not respond when called with the / context ....
    Any ideas? Is this a bug again?
    Regards,
    Rares
    Message was edited by:
    raresp

    Wow, that's a shame. All mighty Application Server and two different apps on two different virtual hosts are considered ambiguous to have the same context root definition.... Fair play to Tomcat and 90% of the rest of servlet containers!
    In my case I have the same EAR we are planning to deploy to many (up to 30) virtual hosts. Faking different context roots for each deployment will bring unnecessary overheads...
    Should I file a bug or feature request?
    Thanks again for your answer, although you're basically saying it is not possible I will wait and look a while for a possible solution before bringing this topic to a conclusion.

  • ICal Error: "No virtual host found for iCal Service" - Help!

    Trying to set up iCal on OS X Server 10.5.6
    Server is up and running and successfully providing web services on its FQDN. Server is not currently used to support network users / services, but as and when it does it will be the Master Opendirectory server.
    I have created a couple of test accounts on the server (simply in the Users group) and enabled both for Calendar Access.
    I have provided the details of the FQDN on the iCal page, and checked that the default port (8008) has been opened in the firewall.
    In web services there is one virtual domain (using name based virtual server) and the default domain in operation. Both appear to be functioning as would be expected.
    When I click on 'start service' for iCal, I get this error.
    "No virtual host found for iCal service"
    I cannot find any information about this in iCal manual, or online documentation. Can anyone here provide pointer to where this information is, or what it means?
    Would be most grateful.

    Hey there,
    See if any of the solutions provided in either of these older threads can steer you in the right direction.
    http://discussions.apple.com/thread.jspa?threadID=1201737
    http://discussions.apple.com/thread.jspa?threadID=1242823&start=0&tstart=-3
    B-rock

  • How to configure virtual hosts and separate tiers

    The configuration we require with WLS must:
    1) provide virtual hosts that can operate under their own SSL environments (some one way, some two way, with different certs)
    2) perform all XML parsing of received message objects in the web layer in order to (a) offload CPU from ejb layer to web layer and (b) prevent any malformed message from penetrating to the ejb layer - reject in the web layer
    3) the web tier must be physically separate from the ejb tier - an integrated WLS server is not acceptable for security reasons
    4) the ejb layer must be clusterable
    5) DNS round robin is sufficient protection for web layer failover
    I do not see clearly how to accomplish this configuration using the WLS suite. Would appreciate guidance on this prior to plunking down big dollars for licenses.
    Thanks

    The configuration we require with WLS must:
    1) provide virtual hosts that can operate under their own SSL environments (some one way, some two way, with different certs)
    2) perform all XML parsing of received message objects in the web layer in order to (a) offload CPU from ejb layer to web layer and (b) prevent any malformed message from penetrating to the ejb layer - reject in the web layer
    3) the web tier must be physically separate from the ejb tier - an integrated WLS server is not acceptable for security reasons
    4) the ejb layer must be clusterable
    5) DNS round robin is sufficient protection for web layer failover
    I do not see clearly how to accomplish this configuration using the WLS suite. Would appreciate guidance on this prior to plunking down big dollars for licenses.
    Thanks

  • [SOLVED] XAMPP 1.8.0 + virtual hosts = 403 access forbidden

    Hello, all. I am happy migrant from ubuntu to arch, but have problem, which i can't solve myself.
    I need to setup xammp for local development.
    My actions
    Install last xampp from aur
    Run lampp
    Open locahost, there is "xampp welcome page"
    Open localhost/phpmyadmin and get
    xampp new xampp security concept, blablabla
        Okay, add "Require all granted" in httpd-xampp.conf
    <Directory "/opt/lampp/phpmyadmin">
            AllowOverride AuthConfig Limit
            #Order allow,deny
            #Allow from all
            Require all granted
        </Directory>
        phpmyadmin came back
    I need virtual hosts, structure will be
    /home/$USER/Sites/{site1/index.html,site2,site3 etc.}
    Uncomment include vhosts in httpd.conf
    Include /Applications/XAMPP/etc/extra/httpd-vhosts.conf
    Clear httpd-vhosts.conf and put there
    <VirtualHost *:80>
            DocumentRoot "/home/shara/Sites/mysite"
            ServerName mysite
            ServerAlias www.mysite
            ErrorLog "/home/shara/Sites/mysite-error_log"
            CustomLog "/home/shara/Sites/mysite-access_log" common
        </VirtualHost>
    Add new host in /etc/hosts
    127.0.0.1 mysite
    Set "User shara" and "Group www" in httpd.conf
    <IfModule unixd_module>
    User shara
    # commented out by lampp compatibility check
    #Group nogroup
    Group www
    </IfModule>
    Add group "groupadd www"
    Add user to group "usermod -aG www shara"
    Change htdocs group "chgrp -R www /opt/lampp/htdocs"
    Change sitedir group "chgrp -R www /home/shara/Sites"
    Change htdocs chmod "chmod 2775 /opt/lampp/htdocs"
    Change sitedir chmod "chmod 2775 /home/shara/Sites"
    Run xampp
    Open "mysite"
    Access forbidden Error 403
    Open "localhost"
    Access forbidden Error 403
    Open "localhost/phpmyadmin"
    Existing configuration file (./config.inc.php) is not readable.
    Oookay
        Set chmod 664 to /opt/lampp/phpmyadmin/config.inc.php
    Open "localhost/phpmyadmin"
        phpmyadmin works, but nothing else
        XAMPP 1.7 worked perfect with this config. Where is the FAIL?
    Last edited by Shara (2012-09-04 12:18:48)

    I did it.
    phpmyadmin new security problem solved with set passwords with /opt/lampp/lampp security (NO require all granted in httpd-xampp.conf)
    virtual hosts 403 problem solved with
    New instruction:
    *User name "shara" and group "www" is myown, you need to set yours
    INSTALL
    yaourt -S xampp
    /opt/lampp/lampp security
    VIRTUAL HOSTS
    Uncomment including vhosts in "/opt/lampp/etc/httpd.conf" and set "User shara" and "Group www"
    Include /Applications/XAMPP/etc/extra/httpd-vhosts.conf
    <IfModule unixd_module>
    User shara
    # commented out by lampp compatibility check
    #Group nogroup
    Group www
    </IfModule>
    Clear "/opt/lampp/etc/extra/httpd-vhosts.conf" and add
    <VirtualHost *:80>
            DocumentRoot "/home/shara/Sites/mysite"
            ServerName mysite
            ErrorLog "/home/shara/Sites/mysite/mysite-error.log"
            CustomLog "/home/shara/Sites/mysite/mysite-access.log" common
        <Directory "/home/shara/Sites/mysite">
           Require all granted
        </Directory>
    </VirtualHost>
    Add new host in /etc/hosts
    127.0.0.1 mysite
    Add group
    groupadd www
    Add user to group
    usermod -aG www shara
    Change htdocs group
    chgrp -R www /opt/lampp/htdocs
    Change sitedir group
    chgrp -R www /home/shara/Sites
    Change htdocs chmod
    chmod 2775 /opt/lampp/htdocs
    Change sitedir chmod
    chmod 2775 /home/shara/Sites
    Set phpmyadmin config chmod
    chmod 664 /opt/lampp/phpmyadmin/config.inc.php
    Run lampp
    sudo /opt/lampp/lampp start
    WIN ^_^
    May i need to write archwiki manual?
    Last edited by Shara (2013-02-28 17:07:22)

Maybe you are looking for

  • CAF WebServices don't appear in CAF Admin's External Service Configuration

    Hi, I have developed Web Services in CAF and deployed them on the WAS but they don't appear on the CAF Administrative Tools -> External Service Configuration under Service Registry.  They appear in the Web Service Navigator running on the J2EE-Engine

  • Non-computer storage for iPod

    Hi, I have been looking for a solution to this problem with little success and hope that someone here might have heard of something like it. I would like to store my CD collection digitally and use an iPod to listen to the music, but without the use

  • Changing the backup file name created by sapbackup by DB13

    Dear all , we are taking backup with DB13 , and wanted to confirm if there is any setting by which  i can generate  the desired file name .. please advise. Thanks & regards. Adnan

  • Loading page with Ajax4jsf

    Hi everybody I�m a newbie with Ajax4jsf, so I�m using Facelets and I want to make something similar to the Open Rico �Inner Html� demo, that�s is to load an entire page in a div. So what I tried is the following <a4j:commandLink               immedia

  • When opening firefox, a banner saying downloading the latest applications appears but nothing happens.

    Starting today, when I open Firefox a blue banner just under the toolbar pops up saying "Downloading the latest applications". Nothing is downloaded. I'm not sure if this is a function of Firefox or my default page Google. I tried to reload the lates