Configuring Apache httpd.conf for Multiple Web Servers

After successfully serving a single web site from my MacMini, I'm having trouble configuring httpd.conf to add an additional site. My httpd.conf file looks something like this:
NameVirtualHost *:80
<VirtualHost *:80>
ServerName www.domain1.net
DocumentRoot "/Library/WebServer/Documents/Domain1"
</VirtualHost>
<VirtualHost *:80>
ServerName www.domain2.us
DocumentRoot "/Library/WebServer/Documents/Domain2"
</VirtualHost>
Whichever domain I put first on the list is the one that gets served, as though apache isn't able to match the ServerName and defaults to the first vhost.
Both domain1.net and domain2.us are registered through no-ip.com. Verizon, my isp, blocks port 80, so I configured AirPort Extreme to map public port 81 to private port 80. Dynamic DNS and port mapping works fine serving a single site.
Are there other lines in httpd.conf that I need to edit?
MacMini   Mac OS X (10.3.9)  

John--
I handle it slightly differently on my Macs. I have this line:
NameVirtualHost *:80Then for my virtual hosts, I have the following:
<VirtualHost *>
ServerName localhost
</VirtualHost>And then for the second one:
<VirtualHost *>
ServerName www.host2.com
ServerAlias host2.com
DocumentRoot "/Library/WebServer/dir2"
</VirtualHost>The first server is the default one you get when you put http://localhost into the browser window, or if you were to request it by IP address.
I don't use the default /Library/WebServer/Documents folder for any of the sites on my machine. For the first web site, I use something like /Library/WebServer/dir1. So I make that change up earlier in the config file.
In your case, you'd want to add server aliases for the first one:
<VirtualHost *>
ServerName domain1.net
ServerAlias www.domain1.net localhost
</VirtualHost>Hope this makes sense...
charlie

Similar Messages

  • Configure Apache httpd.conf for struts requests

    Hi everyone,
    I am not sure if this is the correct place to ask this question, but I have been struggeling with this for a number of hours over the past few days and can't get it to work. I have a standard Apache2-Tomcat installation on a solaris machine. I have apache configured to talk to Tomcat to mod_jk.so and it wokrs fine for servlets and jsp. Now I have introduced struts to the picture and Apache does not seem to know what to do with the .do requests. I have configured httpd.conf according to a bunch of articles/posts that I have found on the Internet. Here is what a snippet of it looks like:
    # Load mod_jk module
    # Update this patch to match your modules location
    LoadModule   jk_module   libexec/mod_jk.so
    # Declare the module for <IfModule directive>
    #AddModule    mod_jk.c
    # Where to find workers.properties
    # Update this path to match your conf directory locaton (put workers.properties
    next to httpd.conf)
    JkWorkersFile /usr/local/apache2/conf/workers.properties
    # Where to put jk logs
    # Update this path to match your logs directory location (put mod_jk.log next to
    access_log)
    JkLogFile     /usr/local/apache2/logs/mod_jk.log
    # Set the jk log level [debug/error/info]
    JkLogLevel    info
    # Select the log format
    JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
    # JkOptions indicate to send SSL KEY SIZE,
    JkOptions     +ForwardKeySize +ForwardURICompat -ForwardDirectories
    # JkRequestLogFormat set the request format
    JkRequestLogFormat     "%w %V %T"
    # Send everything for context /examples to worker named worker1 (ajp13)
    #JkMount     /examples/* worker1
    JkMount     /*.jsp worker1
    JkMount     /*.do worker1
    JkMount     /ValidationManagement/* worker1
    JkMount     /ActivityTracker/* worker1
    JkMount     /Bars01/* worker1
    JkMount     /Bars02/* worker1
    JkMount         /RMIS/* worker1
    JkMount         /Fars/* worker1
    JkMount         /Training/* worker1
    JkMount         /CoreDBSAP/* worker1
    JkMount         /iul/* worker1
    JkMount         /iul/*.do worker1
    JkMount         /PIForm/* worker1Here is the contents of the workers file:
    # Define 1 real worker using ajp13
    worker.list=worker1
    # Set properties for worker1 (ajp13)
    worker.worker1.type=ajp13
    worker.worker1.host=localhost
    #worker.worker1.host=10.221.13.50
    worker.worker1.port=8009
    worker.worker1.lbfactor=50
    worker.worker1.cachesize=10
    worker.worker1.cache_timeout=600
    worker.worker1.socket_keepalive=1
    worker.worker1.recycle_timeout=300I have also tried thigns like AddHandler jserv-servlet .do which I know shouldn't work since I am using mod_js.so.
    Can anyone help? I am in a crunch as I have to get this out to a client today. Thanks all!
    =======
    Found this in the mod_jk log. So, it looks like it is trying to map to the right JkMount. WTF?
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (445)]: Into jk_uri_jk_uri_worker_map_t::map_uri_to_worker, done without a match
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (445)]: Into jk_uri_worker_map_t::map_uri_to_worker
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (459)]: Attempting to map URI '/iul/'
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (483)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match worker1 -> /iul/
    [Wed Nov 14 09:34:17 2007]  [mod_jk.c (1689)]: Into handler r->proxyreq=0 r->handler=jakarta-servlet r->notes=2670448 worker=worker1
    [Wed Nov 14 09:34:17 2007]  [jk_worker.c (90)]: Into wc_get_worker_for_name worker1
    [Wed Nov 14 09:34:17 2007]  [jk_worker.c (94)]: wc_get_worker_for_name, done found a worker
    [Wed Nov 14 09:34:17 2007]  [mod_jk.c (472)]: agsp=80 agsn=gwdevweb.amgen.com hostn=gwdevweb.amgen.com shostn=gwdevweb.amgen.com cbsport=0 sport=0
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (1741)]: Into jk_worker_t::get_endpoint
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (1367)]: Into jk_endpoint_t::service
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (257)]: Into ajp_marshal_into_msgb
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (425)]: ajp_marshal_into_msgb - Done
    [Wed Nov 14 09:34:17 2007]  [jk_connect.c (136)]: Into jk_open_socket
    [Wed Nov 14 09:34:17 2007]  [jk_connect.c (143)]: jk_open_socket, try to connect socket = 25 to 127.0.0.1:8009
    [Wed Nov 14 09:34:17 2007]  [jk_connect.c (159)]: jk_open_socket, after connect ret = 0
    [Wed Nov 14 09:34:17 2007]  [jk_connect.c (168)]: jk_open_socket, set TCP_NODELAY to on
    [Wed Nov 14 09:34:17 2007]  [jk_connect.c (177)]: jk_open_socket, set SO_KEEPALIVE to on
    [Wed Nov 14 09:34:17 2007]  [jk_connect.c (185)]: jk_open_socket, return, sd = 25
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (701)]: In jk_endpoint_t::ajp_connect_to_endpoint, connected sd = 25 to 127.0.0.1:8009
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (737)]: sending to ajp13 #3903
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (1035)]: ajp_send_request 2: request body to send 0 - request body to resend 0
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (851)]: received from ajp13 #150
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (477)]: ajp_unmarshal_response: status = 302
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (483)]: ajp_unmarshal_response: Number of headers is = 3
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (537)]: ajp_unmarshal_response: Header[0] [Location] = [http://gwdevweb.amgen.com/iul/home.do?dept=biofit]
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (537)]: ajp_unmarshal_response: Header[1] [Content-Type] = [text/html;charset=UTF-8]
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (537)]: ajp_unmarshal_response: Header[2] [Content-Length] = [0]
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (851)]: received from ajp13 #2
    [Wed Nov 14 09:34:17 2007]  [jk_ajp_common.c (1716)]: Into jk_endpoint_t::done, recycling connection
    [Wed Nov 14 09:34:17 2007] worker1 gwdevweb.amgen.com 0.023557
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (445)]: Into jk_uri_worker_map_t::map_uri_to_worker
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (459)]: Attempting to map URI '/iul/home.do'
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (539)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match worker1 -> *.do
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (483)]: jk_uri_worker_map_t::map_uri_to_worker, Found a context match worker1 -> /iul/
    [Wed Nov 14 09:34:17 2007]  [jk_uri_worker_map.c (539)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match worker1 -> *.doEdited by: nwahlberg on Nov 14, 2007 6:37 AM

    Ok, thanks for clarifying that. But, the poroblem still lies with Apache since that has to handle the incoming HTTP request and then forward that onto something that can handle the processing (in this case the servlet container Tomcat). Just like you have to tell Apache where to send requests to .jsp files, the same has to happen with .do. This piece seems to be working, but after it finds the worker it then doesn't know what to do. Clearly I am missing some setting that I have yet to find.
    Thanks,
    Nik

  • How to configure httpd.conf for multiple websites on one webserver

    So, right now I have my primary website on a pay-for domain. A friend of mine wants a website and I want to host his and my sites on the same server. For his website, I'll use a DynDNS address.
    So, pretty much, I want to be able to go to my domain and get my site and go to his domain and get his site. I've spent hours trying to get VirtualHosts to work, but haven't gotten it to work yet.
    PS. In Apache, I have User set to Administrator (my user name).
    MacBook Pro 2.16   Mac OS X (10.4.9)  

    First, set the user back to www or whatever it was. To do namebased virtual hosting, you'll need to change two things. The first is to add a NameVirtualHost directive to /etc/httpd/sites/virtualhostglobal.conf
    This is one of the VirtualHost stanzas from my Linux box, you just have to adjust the paths for your machine:
    <VirtualHost www.mydomain.com>
    ServerAlias mydomain.com
    ServerAdmin [email protected]
    DocumentRoot /usr/people/httpd/html/www
    <Directory /usr/people/httpd/html/www>
    Options Includes
    AllowOverride AuthConfig
    </Directory>
    ScriptAlias /bin /usr/people/httpd/cgi-bin/www
    ScriptAlias /cgi-bin /usr/people/httpd/cgi-bin/www
    </VirtualHost>
    Restart Apache and you should be good to go. If there are errors, could you post them from /var/log/httpd/error_log ?
    Roger

  • WL 8.1: Configuring a document root for multiple web applcations in a domain

    Subject: Application - document root
    I am using the Apache web server with the BEA proxy plug-in. All requests to the
    apache server are proxied to WebLogic.
    http://localhost/wip-gl/xxx.jsp?param1...
    http://localhost/wip-am/xxx.jsp?param1...
    http://localhost/stg-gl/xxx.jsp?param1...
    etc
    For weblogic I have a domain where I have deployed 6 web applications. Each application
    represents a web site.
    .../wip-gl
    .../wip-am
    .../stg-gl
    etc
    But when processing jsp's it appears that the document root (web root) is not
    defined correctly.
    For each application how do I define the document root?
    Thanks for the help.

    Distributed sessions has nothing to do with different web applications. The concept is about distributing load for the same application between several appserver instances running on the same box(different jvm) or on some other box in the network.
    What you used with iAS 6.5 is not available in 8.1 because sharing sessions between web apps is forbidden by the servlet spec. You should consider repackaging your apps. into a single web app. or using other way of signing/verifying user identity(check Sun Access Manager for example).
    Have a look at this thread as well: http://swforum.sun.com/jive/thread.jspa?threadID=100931

  • Setting up the Apache HTTP Plugin for several BEA Servers

    Hey together,
    i would like to setup the apache http plugin for several bea-servers.
    I am running apache 1.x on my hp-ux system. There are 2 bea-server-domains on this box and both should be proxied by the plugin simultaneously.
    As far as i know it isn't possible to run 2 or more instances of the apache webserver. I heard of virtualhosts, maybe i should try this one out.
    Somebody knows how to deal with this problem or does any1 know if virtualhosts could cope with my needs?
    Thanks in advance

    Ok here i am again and i'm stuck. Here my wishes again:
    there are 2 weblogic-instances (domains) running on a machine xxx, instance A listening on port 8041, instance B listening on port 8051. I want to configure apache virtualhosts in combination with weblogic plugins, so that request with /ld will be sent to instance A while requests with /ldd will be sent to instance B. Both are no clusters. Therefore i tried it with the following configuration (httpd.conf):
    <VirtualHost xxx:8080>
         DocumentRoot "/opt/hpws/apache/htdocs"
         ServerName xxx:8080
         <IfModule mod_weblogic.c>
         WebLogicHost xxx
         WebLogicPort 8041
         #MatchExpression *
         #PathPrepend=/test2
         </IfModule>
         <Location /ld>
         SetHandler weblogic-handler
         PathTrim /ld
         </Location>
    </VirtualHost>
    # VirtualHost2 = xxx:8090
    <VirtualHost xxx:8090>
         DocumentRoot "/opt/hpws/apache/htdocs"
         ServerName xxx:8090
         <IfModule mod_weblogic.c>
         WebLogicHost xxx
         WebLogicPort 8051
         #MatchExpression *
         #PathPrepend=/test2
         </IfModule>
         <Location /ldd>
         SetHandler weblogic-handler
         PathTrim /ldd
         </Location>
    Doesnt really work. Can some1 help please?
    Thanks

  • Apache httpd.conf and Weblogic server integration.

    Dear friends,
    I am seeing a strange problem in my Apache and weblogic integration work.
    In the Apache httpd.conf file, under mod_weblogic.c module, if i dont turn DebugConfigInfo ON then my system is not working properly. always hitting with http 404 error. can you please explain why this is required and if required is it mandatory to turn it ON ?
    when i read in weblogic docs, its mentioned as to turn it OFF for security reasons. But if i make it as OFF then my website is not working properly.
    Here is the conents of mod_weblogic.c module in my httpd.conf file.
    <IfModule mod_weblogic.c>
    WebLogicHost rlw1csts08.bpweb.bp.com
    WebLogicPort 7001
    DebugConfigInfo On
    #EnforceBasicConstraints OFF
    PathPrepend /csmain-web
    ErrorPage /err/serverErrorWL.xml
    #WLLogFile "| /export/home/wwwst08/apache/bin/rotatelogs /export/home/wwwst08/apache/logs/WL_apache_error.log.%Y%m%d%H%M%S 86400"
    WLLogFile "/export/home/wwwst08/apache/logs/WL_apache_error.log"
    </IfModule>
    Please let me know your inputs. Its very urgent.
    Thanks
    subba.

    I donot have the complete httpd.conf with me right now but you have to follow the following steps:
    1) Compile Apache with ssl module included
    2) Instead of Port 80 change the port to 443 at global level or at virtual directory level
    3) If u want to redirect the traffic on port 80 to port 443 then also include mod_rewrite module while compiliing apache and write a rule to redirect the traffic from port 80 to 443

  • Apache httpd.conf file pointing to Portal

    How do I define a virtual host in an Apache httpd.conf file that points to a portal page?

    Hi,
    If you want to use name-based virtual hosts you need to define at
    least one IP address (and port number) for them.
    Here is a sample from the httpd.conf file
    #NameVirtualHost 12.34.56.78:80
    #NameVirtualHost 12.34.56.78
    NameVirtualHost 130.35.92.126
    # VirtualHost example:
    # Almost any Apache directive may go into a VirtualHost container.
    #<VirtualHost ip.address.of.host.some_domain.com>
    # ServerAdmin [email protected]_domain.com
    # DocumentRoot /www/docs/host.some_domain.com
    # ServerName host.some_domain.com
    # ErrorLog logs/host.some_domain.com-error_log
    # CustomLog logs/host.some_domain.com-access_log common
    #</VirtualHost>
    <VirtualHost <130.35.92.126>
    DocumentRoot /webdb/apache80_1/Apache/Apache/htdocs
    ServerName domain1.com
    ServerAlias domain1
    #ErrorLog /webdb/apache80_1/Apache/Apache/logs/httpds_error_log
    #CustomLog logs/host.some_domain.com-access_log common
    </VirtualHost>
    You can copy the above lines and change the domain1 and the ip address to the name of your domain and the ip address of your machine.
    Thanks,
    Sharmila

  • Configuring the authentication scheme for a web application

    Hi all,
    We have a requirement to configure the authentication scheme for a web application where some set of users should access the application using basic LDAP (userid/password) authentication and some using digital certificate authentication.
    Since the deployment descriptor (web.xml) allows only one directive for auth-method in logic-config, we want to know if there is any other way to achieve this requirement. We are thinking of a custom login module approach. But we are not able to figure out how to configure the auth-method at runtime from the login servlet.
    Please let us know if there is any other approach to achieve this.
    I will be thankful if any body shares any specific solution to this issue.

    This forum is probably not the correct one to ask in. It's more related to the web container than Java Programming.
    Kaj

  • Use single realm for multiple web applciation in sharepoint 2013 and adfs 2.0

    Use single realm for multiple web applciation in sharepoint 2013 and adfs 2.0
    Please help!!

    I dont think you can do this, because you have to name/url of the web application in realm. You have to add new realm for each web application.here is script to add another realm.
    Add-PSSnapin "Microsoft.SharePoint.PowerShell"
    $sts = Get-SPTrustedIdentityTokenIssuer | where {$_.Name -eq "ADFS2.0"}
    $uri = new-object System.Uri("http://url/")
    $sts.ProviderRealms.Add($uri, "urn:sharepoint:Name")
    $sts.Update();
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • OWSM and Webservices -Define policies once for multiple web services

    I thought that through using OWSM we had the possibility to use the same Policy Lines for multiple web services.
    Mostly when web services are used/integrated within an application, the same rules need to be defined and I thought this requirement could be met when using OWSM.
    But you need to define the policy requirements on each web service that's passing through a gateway or agent, why isn't it supported to define policy lines one level higher to be able to use the same requirements for multiple web services?

    Nathalie,
    For this purpose OWSM allows you to use Template Policy Pipelines.
    For individual services, you can than replace the pipeline with the Template.
    But I have to agree with you here: the templating functions are rough on the edges, e.g. limited editing capabilities.
    Hope this helps.
    Best regards, Sjoerd

  • NT startup parmaters for multiple weblogic servers started as a service

    I have the need to start multiple weblogic servers, using NT services.
    I have created a second folder with a properties file listening on another
    port.
    I am using the following startup parameter
    -J-Dweblogic.system.name=Test
    My question, this works when I type the startup parameter, is their anyway
    to have this automatically entered
    on server startup.
    Is their a registry setting to make this permanent
    Thanks

    The answer is...
    - Use a product to turn applications into an NT Service (e.g.
    ServiceMill)
    - Directly run the Weblogic Server Java class via that application
    --> As many WLs on one machine as you like.
    Send mail if you need specific details.
    Best regards
    Daniel Hoppe
    -----Original Message-----
    From: [email protected] (Ed) [mailto:[email protected]]
    Posted At: Wednesday, August 30, 2000 2:34 AM
    Posted To: install
    Conversation: NT startup parmaters for multiple weblogic servers started
    as a service
    Subject: Re: NT startup parmaters for multiple weblogic servers started
    as a service
    I wish that was the case.
    The problem is, while you enter the startup parameter once, it only
    is good for that startup of the weblogic server,
    The next time the server reboots and the services start, unless you
    re-enter the startup parameter -J-Dweblogic.system.name=Foldername
    The weblogic server starts using the wrong properties file.
    Is their anyway using NT services to have the correct instance of WL
    to start everytime.
    I have checked this newsgroup and this question has been posted
    before, but so far no one seems to have the answer.
    I know in a production eniviorment someone must be running more that
    one instance of a WL server as a service, Hopefully their is an
    answer on how this is done.
    Thank you
    Kumar Allamraju <[email protected]> wrote:
    Not that i know of.
    but you are specifying this startup parameter only one time too!!!
    Kumar
    None of your bussines wrote:
    I have the need to start multiple weblogic servers, using NT
    services.
    I have created a second folder with a properties file listening onanother
    port.
    I am using the following startup parameter
    -J-Dweblogic.system.name=Test
    My question, this works when I type the startup parameter, is theiranyway
    to have this automatically entered
    on server startup.
    Is their a registry setting to make this permanent
    Thanks

  • Backup Status for Multiple SQl Servers.

    Hi All,
    What changes are required in the below script - so that it displays the backup result for
    multiple SQL SERVERS.
    --Databases with data backup over 24 hours old
    SELECT
       CONVERT(CHAR(100), SERVERPROPERTY('Servername')) AS Server,
       msdb.dbo.backupset.database_name,
       MAX(msdb.dbo.backupset.backup_finish_date) AS last_db_backup_date,
       DATEDIFF(hh, MAX(msdb.dbo.backupset.backup_finish_date), GETDATE()) AS [Backup Age (Hours)]
    FROM    msdb.dbo.backupset
    WHERE     msdb.dbo.backupset.type = 'D' 
    GROUP BY msdb.dbo.backupset.database_name
    HAVING      (MAX(msdb.dbo.backupset.backup_finish_date) < DATEADD(hh, - 24, GETDATE())) 
    UNION 
    --Databases without any backup history
    SELECT     
       CONVERT(CHAR(100), SERVERPROPERTY('Servername')) AS Server, 
       master.dbo.sysdatabases.NAME AS database_name, 
       NULL AS [Last Data Backup Date], 
       9999 AS [Backup Age (Hours)] 
    FROM
       master.dbo.sysdatabases LEFT JOIN msdb.dbo.backupset
           ON master.dbo.sysdatabases.name  = msdb.dbo.backupset.database_name
    WHERE msdb.dbo.backupset.database_name IS NULL AND master.dbo.sysdatabases.name <> 'tempdb'
    ORDER BY 
       msdb.dbo.backupset.database_name
    Thanks..!!

    Hi Prashanth,
    what location do I need to provide for SQL Server for link: http://blogs.technet.com/b/heyscriptingguy/archive/2011/05/02/use-powershell-to-report-sql-server-backup-status.aspx
    { $location = "SQLSERVER:\SQL\$SQLInstance\Databases" }
    else
    { $location = "SQLSERVER:\SQL\$SQLInstance\DEFAULT\Databases" }    ??

  • Apache httpd.conf issue

    Hi, so I think I made some bad mistake when editing some files earlier today in terminal. I have been trying to get a working development enviornment setup for running Laravel 4.
    So I wanted to see if there were any issues with Apache after I tried following some tutorials in setting up a local dev environment, I ran 'apachectl configtest' and this is what I am getting:
    httpd: Syntax error on line 501 of /private/etc/apache2/httpd.conf: Could not open configuration file /private/etc/apache2/other/+php-osx.conf: No such file or directory
    Though, when I check the /other directory and list the files, I do see the '+php-osx.conf' file there.
    What am I doing wrong?
    Thanks,
    JG

    Nevermind, I just re-installed PHP and that seemed to fix the problem.
    Thanks,
    JG

  • How to configure one TREX host with multiple index servers ?

    Hi All,
    Does anyone know how to configure TREX on the one host,
    with multiple index servers ?
    Reason for this is to make better use of resources available on the host server(4 Gig, 4 Processor, Windows2003), to improve the search performance of
    our KM content for portal users.
    I am using TREX 7 and have not been able to do this,
    despite reading the Single and Distributed install
    documentation.
    Any help would be appreciated.
    Regards,
    Andres

    Hi Andres,
    To make use of the RAM a Server provides you have to run two indexserver processes (each can then consume 2 GB);
    Proceed like this:
    1. Go to TREXdeamon.ini; check if section [indexserver2] is there (it is already provided, but not active in standard installation)
    2. In TREXdeamon.ini go to
    [daemon]
    references sections below
    programs=nameserver,preprocessor1,indexserver1,queueserver,alertserver
    and add indexserver2 here. Restart TREX; second porcess is then started; can be checked in TREX monitor in Portal as well
    3. To distribute existing indexes to the new process, start TREXadmintool and go to Index: Landscape
    Go to the last two columns and move the indexes (move master here/secondary mouse click)
    If you don't distribute the indexes the new index server process will be regarded when an new index is created.
    Hope this helps!
    cheers
    Bettina

  • How to customize search in WS 7 and for multiple virtual servers?

    I'm not clear on how to customize search results pages in Sun Web Server 7. The documentation (the Adminstrator's Guide, page 215) says:
    You can take a look at the default search application located at /bin/https/webapps/search as a sample application
    but I'm not seeing any such thing. I did a find . -name search -type d from the server root and instance root but the only search directories I'm seeing are subdirectories within the generated directory and they look like system generated jsps that I shouldn't touch (So I didn't :-)
    So one question is, where is the default app? A second question is, how do we set up different branding for different virtual servers?
    We're currently using WS 6.1 and it has a field in the GUI for the directory containing the web app to use for search. That seems to have disappeared in WS 7.
    Any help would be appreciated. Thanks.
    Dave

    I don't use the search engine, so I'm afriad I don't have direct experience here.
    What I'd probably do is modify the app so that it looks at the Host data to determine which directory it should point to for graphics, formatting, etc. You could also use the obj.conf with variables to pull graphics from directories appropriately branded. Something like:
    1) Create "additional doc directory" for images
    2) Find the entry in the obj.conf that points to the new directory
    3) Modify the path to something like /path/to/$host/images
    4) Make sure you create directories like:
    /path/to/foobar.com/images/
    /path/to/www.foobar.com/images/
    /path/to/baz.com/images/
    /path/to/www.baz.com/images/

Maybe you are looking for

  • Defining a webapp in Tomcat 4.0

    Hello there: can anyone give me a good tight example or lesson on defining and deploying a webapp on the Tomcat server in a standalone situation? Currently I can view and use my JSP apps on Tomcat by creating a directory and placing the files within

  • "Ghost" tracks can not be deleted from iPhone

    I recently went on an international trip, and loaded up my iPhone with lots of music using iTunes Match. Once I had the music on the iPhone that I wanted on there, I turned off iTunes Match on the iPhone. Now that I'm back I'm trying to get my iPhone

  • SBO crashes on changing user defined field setting for a form

    Hi, when i try to change the user defined field settings(Tools->User-Defined Fields->Settings) for a form, say Sales order form, on clicking on OK button SBO crashes displaying runtime error messagebox. This happens only when my addon is running. Any

  • JavaFX Tree Scenario

    At present I am experimenting with trees in JavaFX and would like to know if the following scenario is possible? At present I have a tree structure that displays a checkbox for every tree node except the root node where I use a graphics icon. Now wha

  • Pictures lose color indesign

    When i import pictures to Indesign the pictures lose color and brightness. In photoshop the pictures look fine.