Web Site Hosting in Oracle HTTP Server

Hi All,
We have an application based on Oracle UCM. We are accessing that application using the url http://site_name/GMKP/index.htm . I have done virtual hosing (name based) with HTTP Server to host multiple web sites. One requirement is we need to access our application using url http://site_name/gmkp/index.htm . How can we do that? Please let me know a solution for this. Do we have to write some rewrite rule for this?
Edited by: Manikandan on Nov 9, 2010 2:22 AM

Look into mod_rewrite with a .htaccess file. You turn it on in httpd.conf.
There is a pretty nice instruction at http://www.addedbytes.com/for-beginners/url-rewriting-for-beginners/

Similar Messages

  • Web Service and Oracle HTTP Server

    I have a web environment with Oracle Database , oracle http server (using mod_plsql), Oracle pl/sql web toolkit. I need to create a web service that is accessed externally which will interact with the database (select, insert, delete). Is it possible to publish a web service to the Oracle Http Server or to implement web services with the environment above

    In RDBMS 10g you cannot directly expose WS from the DB you need to use the OracleAS Web Service Runtime to do it, following this documentation:
    - Developing Web Services that Expose Database Resources
    This is true if we are talking about "tooling/runtime/API" but after all Web Services are mainly XML (WSDL and SOAP) so it is still possible to create by hands (PL/SQL & static files) but it is probably a long work depending of the complexity of your services.
    Also, in RDBMS 11, you can now directly expose WS from the DB using the embedded HTTP server, see this Oracle 11g New Features Document
    Note that before taking one approach you must take time to write up your requirement regarding Web Services eg: do I need security, which time of encoding, interoperability, ..., ... For example WS-Security that is the standard to secure SOAP messages is not (yet) supported by the Oracle 11g RDBMS Native Web Services... where when you do use the WS-Runtime you can secure the Web Service..
    Tugdual Grall

  • How to isolate web applications at URL level with Oracle HTTP Server?

    We have 2 machines each for oracle web cache, oracle http server and oracle application server (oc4j). We would like to host many web applications on this infrastructure. We have an issue with application/web site isolation for maintenance purposes.
    We have several oc4j containers for different web sites/applications but they all use one instance of Oracle Http Server. When we need to make changes to an application/web site or introduce a new web site (URL), we change the OHS configuration and restart OHS on each of the machines.
    As we have many URLs hosted on this OHS and plan to host a lot more (may be around 300), we need a way to slice and dice the URLs so that every change or any change should not need to go through a regression cycle or testing cycle for all the applications each weekend (our change window). When we used Apache earlier, we used to be able to create multiple httpd.conf (process level isolation) to cater to different applications.
    We could do this with Oracle Http Server too but Oracle will not support us. I appreciate any advice or suggestion with this issue.
    Thank you

    Hi Joey,
    A great idea! I recently presented at a local user group meeting about my WebSockets API (see the links in my signature). I've uploaded the presentation and the demo code I gave to our UG here.
    I think the barrier to entry is with needing to know the web languages (e.g. html/css/js) as well as writing your LabVIEW code. I have joined the group and look forward to seeing some interesting content on there! Certainly some demos of using AJAX to make requests to Web Services and do something with the data (e.g. display on a graph) would be a good place to start.
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • Do we need Oracle HTTP server to host Oracle Apex ?

    We are completely new to this Oracle Apex.
    Wanted to know the licensing part of it , before we get into it.
    I guess Oracle Apex is free as it comes with the Oracle database license.
    1) Do we need some kind of HTTP server to host the Apex on the browser ?
    2) Does any HTTP server will work with Oracle Apex ?
    3) Any other free Oracle tool which we can use instead of licensing Oracle HTTP server for this Apex ?
    Correct me if I am wrong.
    Thanks in advance for the gurus out here.

    johnpau2013 wrote:
    We are completely new to this Oracle Apex.
    Wanted to know the licensing part of it , before we get into it.
    I guess Oracle Apex is free as it comes with the Oracle database license.
    1) Do we need some kind of HTTP server to host the Apex on the browser ?Yes.
    2) Does any HTTP server will work with Oracle Apex ?No.
    3) Any other free Oracle tool which we can use instead of licensing Oracle HTTP server for this Apex ?
    Correct me if I am wrong.OHS is covered by the DB license if OHS is run on the same server. See Joel's post and the document he links to: +{message:id=9256804}+.
    For information about APEX HTTP server options, see:
    <li>+About Oracle Application Express Architecture+
    <li>+About Choosing an HTTP Server+
    <li>+HTTP Server Requirements+
    <li>APEX Listener

  • Oracle HTTP Server as web tier for OBIEE - Best Practices?

    Hi All,
    A bit of a cross-topic issue - IHAC which wants to add a web tier (in a form of additional DMZ server with Oracle HTTP Server installed) to existing OBIEE installation.
    Are there any best practices regarding all the security aspects - installations, ports, SSL, certificates, keystores etc. ?
    Thank you in advance,

    Am not using weblogic, I'm doing standalone setup
    FMW 11g Web-Tier products are configured without a domain and administered from the command line. In this case, be sure to UN-check the selection for “Associate to WebLogic Domain” during the installation prompts and uncheck the web cache.. Only OHS is installed.
    Is it possible to install sun jdk 64 bit on AIX 7.1 machine.. ?

  • New Oracle HTTP server install unable to host remote HTMLDB.

    Hi all.
    I installed the Oracle HTTP Server from the Oracle 10G Release 1 companion CD on a Mac Powerbook running the Tiger OS. I have a CentOS Linux server on my network with Oracle 10G R2 database running that I've installed HTMLDB 2.0 on. I can not seem to get the HTTP server to serve up a front end to my HTMLDB. I can connect and log into the Oracle Database from the MAC using SQLPlus using the HTMLDB_PUBLIC_USER account and password.
    Here is my dads.conf file:
    Alias /i/ "/oracle/product/10.1.0/db_1/Apache/Apache/images/"
    <Location /pls/htmldb>
    SetHandler pls_handler
    Order deny,allow
    Allow from all
    AllowOverride None
    PlsqlDatabaseUsername HTMLDB_PUBLIC_USER
    PlsqlDatabasePassword HTMLDB
    PlsqlDatabaseConnectString CentOSServ3:1521:htmldb ServiceNameFormat
    PlsqlDefaultPage htmldb
    PlsqlDocumentTablename wwv_flow_file_objects$
    PlsqlDocumentPath docs
    PlsqlDocumentProcedure wwv_flow_file_manager.process_download
    PlsqlAuthenticationMode Basic
    AddType text/xml xbl
    AddType text/x-component htc
    Here is the errors I'm seeing on the error log:
    [Wed Jan 10 12:58:47 2007] [notice] FastCGI: process manager initialized (pid 246)
    [Wed Jan 10 12:58:48 2007] [emerg] mod_onsint can't initialize ons runtime.
    [Wed Jan 10 12:58:48 2007] [notice] Oracle-Application-Server-10g/ Oracle-HTTP-Server configured -- resuming normal operations
    [Wed Jan 10 12:58:48 2007] [notice] Accept mutex: flock (Default: flock)
    [Wed Jan 10 12:58:58 2007] [error] [client] [ecid: 1168451937:,0] mod_plsql: /pls/htmldb/htmldb HTTP-503 ORA-12514
    It keeps giving me the error for the Language, but I've changed the PlsqlNLSLanguage serveral times to other posted values I've found and other postings and I still get that error.
    Has anyone else worked through this or may have an idea how I can get this working?

    Also, here is the error I get when browsing to : http://localhost:7780/pls/htmldb/htmldb from the HTTP server.
    Service Temporarily Unavailable
    The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
    Oracle-Application-Server-10g/ Oracle-HTTP-Server Server at Port 7780

  • How to call webservice through Oracle HTTP Server

    I have cluster of three Managed Servers. They are behind a Oracle HTTP Server. I deployed a web service to the cluster. When calling web service, I got the error. The error is that the client of web service can not directly access the Managed Servers.
    The error tell that it can not access http://webapp01:7003/webservice/HelloWorld?WSDL
    Where webapp01 is the host name of a managed server.
    Is there a way that web service return the result to HTTP Server and HTTP Server return it to web service client.

    1. Before you invoke the WebServices from client program, I guess you may have already generated the webservices client jar for the WSDL that is deployed using sun jdk "wsimport" command or bea's clientgen ant task. At this time, what is the wsdl url you gave. In the generated client jar file you should see .JAVA files also. Check the Service related .java file and check the WSDL URL in that file. If it is using weblogic servers managed server host and port, then the problem you see is obvious.
    2. To fix this, you re-generate the webservices client jar file again this time giving the http server host and port instead of weblogic host and port. I am hoping you already modified httpd.conf file to accept the webservice url pattern. Check the .JAVA file generated for service to see the WSDL URL that is having inside.
    3. Another approach is on your client side, before you invoke any operation on WebService, you will be first getting Service object, then Port object and invoke methods on Port object. When you get Service Object, you can pass the WSDL URL as one parameter and ServiceName (QName) as second parameter. Most of time we use default constructor without any parameters to get Service object. But you can use other constructor and pass 2 parameters. The WSDL URL will have HttpServers host and port, and rest of the url for wsdl will be the same.
    In our env, we have similar requirment. SOAP BPEL Process WebServices are deployed on WLS 10.3.1 on a Cluster with 2 ManagedServers. We have Apache Proxy in front of this Cluster. All our WSDL requests goes to Apache host and port + wsdl url. This inturn goes to one of the managed servers at a time in round-robin. This is working. In httpd.conf we gave "MatchExpression / " so that any request from apache will go to cluster.
    Ravi Jegga

  • How to install Soap on the (Apache) Oracle HTTP Server

    Does anyone know how to install SOAP on the Oracle HTTP Server? I downloaded a soap version (it seems that the standard version comes without SOAP) from the xml.apache.org site and followed the installation instructions as far as I could (only Tomcat is described). However, no 'soaping'!!! Maybe I'm overlooking something because I cannot imagine that it should be difficult.
    Thanks in advance!

    Hans, the SOAP implementation is part of OC4J. You get it out of the box. Check out how to use the out-of-the-box implementation in the tutorials on Web services with Oracle9i JDeveloper at:
    These tutorials/samples use the implementation of SOAP/WSDL that Oracle calls J2EE Web Services and this is the long term direction of Oracle's Web services implementation. This implementation is what Oracle will be evolving to Sun's Java Web Services Developer Pack as it finalizes into J2EE 1.4.
    If you want to use Oracle/Apache SOAP, this too is included in OC4J but its support is being deprecated in future releases of Oracle9iAS in favour of the J2EE Web Services implementation. To find it, check out the OC4J/soap/webapps/ directory for the soap.ear file (it is in a slightly different spot if you are using the full Oracle9iAS R2 but still within the soap directory structure. Simply add <application name="soap" path="../../../soap/webapps/soap.ear" auto-start="true"/> to your OC4J server.xml and <web-app application="soap" name="soap" root="/soap" /> to your OC4J http-web-site.xml, re-start and away you go.
    Finally, just to be sure, SOAP support in Oracle9iAS did not appear until and higher. If using or less, you are correct, there is no SOAP support.
    Most folks that try out the J2EE Web Services find it is pretty easy to use so

  • Oracle HTTP Server and Node Manager

    I installed Oracle HTTP Server with Node Manager. I set "CrashRecoveryEnabled=true" in the nodemanager.properties. It works fine when I reboot the machine, but when I kill the root process (kill -9), the new process can not be started as the previous process does not have enough time to die and still uses the ports. I tried to run "nmGenBootStartupProps" in wlst, or set the
    variables in "[domain_name]/servers/[server_name]/data/nodemanager/startup.properties" - no success.
    Any ideas, how to set the number of retries and the delay between restarts?
    Oracle HTTP Server: version=""
    java version "1.7.0_79"
    OHS log:
    [2015-05-04T11:43:48.0653+02:00] [OHS] [NOTIFICATION:16] [OHS-9999] [mod_weblogic.c] [host_id: dev-oep-soalb-1] [host_addr:] [pid: 18651] [tid: 140166670751552] [user: app] [VirtualHost: main]  WebLogic Server Plugin version 12.1.3 <WLSPLUGINS_12.>
    [2015-05-04T11:43:48.0854+02:00] [OHS] [NOTIFICATION:16] [OHS-9999] [core.c] [host_id: dev-oep-soalb-1] [host_addr:] [pid: 18651] [tid: 140166670751552] [user: app] [VirtualHost: main]  Oracle-HTTP-Server-12c/ (Unix) mod_ssl/ OtherSSL/0.0.0 mod_plsql/ configured -- resuming normal operations
    [2015-05-04T11:48:53.9584+02:00] [OHS] [INCIDENT_ERROR:32] [OHS-9999] [worker.c] [host_id: dev-oep-soalb-1] [host_addr:] [pid: 18838] [tid: 140103489120064] [user: app] [VirtualHost: main] (98)Address already in use:  make_sock: could not bind to address
    [2015-05-04T11:48:53.9585+02:00] [OHS] [INCIDENT_ERROR:20] [OHS-9999] [worker.c] [host_id: dev-oep-soalb-1] [host_addr:] [pid: 18838] [tid: 140103489120064] [user: app] [VirtualHost: main]  no listening sockets available, shutting down
    [2015-05-04T11:48:53.9585+02:00] [OHS] [ERROR:32] [OHS-9999] [core.c] [host_id: dev-oep-soalb-1] [host_addr:] [pid: 18838] [tid: 140103489120064] [user: app] [VirtualHost: main]  Unable to open logs
    Node Manager log:
    <May 4, 2015 11:37:50 AM CEST> <INFO> <Loading domains file: /opt/app/soalb_domain/nodemanager/nodemanager.domains>
    <May 4, 2015 11:40:18 AM CEST> <INFO> <Loading identity key store: FileName=/opt/app/soalb_domain/security/DemoIdentity.jks, Type=jks, PassPhraseUsed=true>
    <May 4, 2015 11:40:18 AM CEST> <INFO> <Loaded NodeManager configuration properties from '/opt/app/soalb_domain/nodemanager/nodemanager.properties'>
    <May 4, 2015 11:40:18 AM CEST> <INFO> <Node manager v12.1.3 #1604337>
    <May 4, 2015 11:40:18 AM CEST> <INFO> <soalb_domain> <soalb_server1> <Startup configuration properties loaded from "/opt/app/soalb_domain/servers/soalb_server1/data/nodemanager/startup.properties">
    <May 4, 2015 11:40:19 AM CEST> <INFO> <Secure socket listener started on port 5556, host localhost/>
    <May 4, 2015 11:43:53 AM CEST> <INFO> <soalb_domain> <soalb_server1> <The server 'soalb_server1' is running now.>
    <May 4, 2015 11:48:53 AM CEST> <INFO> <soalb_domain> <soalb_server1> <The server 'soalb_server1' with process id 18672 is no longer alive; waiting for the process to die.>
    <May 4, 2015 11:48:53 AM CEST> <INFO> <soalb_domain> <soalb_server1> <Server failed so attempting to restart (restart count = 1)>
    <May 4, 2015 11:48:54 AM CEST> <SEVERE> <soalb_domain> <soalb_server1> <Unexpected error while monitoring server>
    java.io.IOException: Failed to start the server soalb_server1
    Check log file /opt/app/soalb_domain/system_components/OHS/ohs_nm.log
    Check log file /opt/app/soalb_domain/servers/soalb_server1/logs/soalb_server1.log
            at oracle.ohs.plugin.nodemanager.OhsProcessManagementPlugin$ProcessImpl.buildIoException(Unknown Source)
            at oracle.ohs.plugin.nodemanager.OhsProcessManagementPlugin$ProcessImpl.start(Unknown Source)
            at weblogic.nodemanager.server.DecoratedSystemComponentManager$DecoratedProcess.start(DecoratedSystemComponentManager.java:129)
            at weblogic.nodemanager.server.ServerMonitor.startProcess(ServerMonitor.java:441)
            at weblogic.nodemanager.server.ServerMonitor.runMonitor(ServerMonitor.java:406)
            at weblogic.nodemanager.server.ServerMonitor.run(ServerMonitor.java:295)
            at java.lang.Thread.run(Thread.java:744)
    <2015-05-04 11:48:53> <INFO> <OHS-0> <The server 'soalb_server1' with process id 18672 is no longer alive; waiting for the process to die.>
    <2015-05-04 11:48:53> <INFO> <OHS-0> <Server failed so attempting to restart (restart count = 1)>
    <2015-05-04 11:48:53> <INFO> <OHS-4018> <Starting server soalb_server1>
    <2015-05-04 11:48:53> <INFO> <OHS-0> <Running /opt/app/ohs12c/wlserver/../ohs/bin/httpd.sh httpd.worker -k start -f /opt/app/soalb_domain/config/fmwconfig/components/OHS/instances/soalb_server1/httpd.conf>
    <2015-05-04 11:48:53> <INFO> <OHS-0> <[Mon May 04 11:48:53 2015] [warn] Errors will be logged into /opt/app/soalb_domain/servers/soalb_server1/logs/soalb_server1.log>
    <2015-05-04 11:48:54> <INFO> <OHS-0> </opt/app/ohs12c/wlserver/../ohs/bin/httpd.sh httpd.worker -k start -f /opt/app/soalb_domain/config/fmwconfig/components/OHS/instances/soalb_server1/httpd.conf: exit status = 1>
    <2015-05-04 11:48:54> <INFO> <OHS-4005> <Check the instance log file for more information: /opt/app/soalb_domain/servers/soalb_server1/logs/soalb_server1.log>
    <2015-05-04 11:48:54> <SEVERE> <OHS-0> <Failed to start the server soalb_server1>
    <2015-05-04 11:48:54> <SEVERE> <OHS-0> <Unexpected error while monitoring server>
    Node Manager properties:
    #Wed Apr 29 18:31:26 CEST 2015
    #Node manager properties
    #Wed Apr 29 17:18:21 CEST 2015
    Startup properties:
    #SSLArguments=-Dweblogic.security.SSL.ignoreHostnameVerification\=false -Dweblogic.ReverseDNSAllowed\=false

    To deploy your FMX you need AS 10.1.2 Forms installed, and then you can use AS control or Forms server configuration file.
    For more information regarding FMX deployment, refer to http://download.oracle.com/docs/cd/B14099_19/web.1012/b14032/toc.htm

  • How can we debug Oracle Http Server on AIX.

    Our requirement is to attach a debugger (dbx) to oracle http server on AIX.
    For that purpose we need to start the OHS webserver service that is opmn in a single process mode the way we start Apache webserver by -X option.
    Can anyone help how can we start OHS in single thread.

    user9201760 wrote:
    Hi,Welcome to the forum: please read the FAQ and forum sticky threads (if you haven't done so already), and ensure you've updated your profile with a real handle instead of "user9201760".
    You'll get a faster, more effective response to your questions by including as much relevant information as possible upfront. This would normally include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Region/item type(s)
    Thanks for having included most of the information that is relevent to your question.
    I have installed Oracle Apex 4.1 on Oracle 10g database but I want to configure Oracle HTTP Server on another Server(Microsoft Windows 2008 R2). Here I have placed Apache Tomcat 6.0 version already. Can anyone please tell me how is it possible to install and configure Oracle HTTP Server on Windows 2008 along with Apache Tomcat?Why? Installing OHS and the DB on separate servers will incur additional licensing costs.
    More common confugrations would be to use Apache as a reverse proxy to an OHS+DB server, or Tomcat+APEX Listener with a DB server and not using OHS at all. (Although I understand Tomcat is not an Oracle-supported platform for the APEX Listener. For any questions on this or other Listener-related topics use the {forum:id=858} forum.)

  • I configure the JServ , but Oracle HTTP Server doesn't work agian

    my Oracle HTTP Server doesn't work after i've configured the JServ by Oracle Enterprise Manager.
    when i run flowing command :
    D:\oraias\dcm\bin>dcmctl getstate -v
    and Error message : "ADMN-100999 Base Exception:
    java.lang.ClassCastException:java.lang.Boolean" has shown.
    and i navigate Enterprise Manager web site these Error Message showing:
    "Your browser or operating system is not a supported client configuration for this version of Enterprise Manager. Using Enterprise Manager with your current client configuration may result in incorrect display of data or incorrect updates to configuration settings. See the release notes for information on supported client configurations. Root Cause: java.lang.Boolean. java.lang.Boolean"
    how can i do? please help me.

    The key message -
    mod_plsql: /pls/htmldb/htmldb_login HTTP-503 ORA-12541
    Looking up that error gives -
    [jes@spdb1 ~]$ oerr ora 12541
    12541, 00000, "TNS:no listener"
    // *Cause: The connection request could not be completed because the listener
    // is not running.
    // *Action: Ensure that the supplied destination address matches one of
    // the addresses used by the listener - compare the TNSNAMES.ORA entry with
    // the appropriate LISTENER.ORA file (or TNSNAV.ORA if the connection is to
    // go by way of an Interchange). Start the listener on the remote machine.So it looks like the listener isn't running for your database to me (i.e. "lsnrctl start")

  • OracleOraHome92Agent - OIA & Oracle HTTP Server - Apache JServ Cant Startup

    Recently i have 2 oracle 9i database server {A} & , and my task is to migrate all the data from {A} To {B}.
    I used [Orcale Management Server - OMS] to login for connect both server for data manipulation. However, when i used [Discover Nodes] in the [Oracle Enterprise Manager Console], the [A] cant find.
    I found that [OracleOraHome92Agent - OIA] in Windows [Services] is not Started even i manually start it. I found 1 web site told about [How does one start the Oracle Intelligent Agent?] in URL [http://www.orafaq.com/faqoem.htm#IA-START].
    I have follow the steps and also cant get it started succeefully.
    Besides that, i also found that [Oracle HTTP Server - Apache JServ] is not successful start up also. Error Msg is written below:
    "Syntax error on line 92 of c:/oracle/ora92/sqlplus/admin/isqlplus.conf: FastCgiServer: redefinition of a previously defined FastCGI server "c:/oracle/ora92/bin/isqlplus"
    Note the errors or messages above, and press the <ESC> key to exit.
    It is the [HTTP Server] cant start up affected the [Oracle Intelligent Agent]?
    Thanks fro reading my messages. Hope u can help me.

    OEM agent should be independent of any other components, considering its function.
    What is the error message when you try to start the OracleAgent service?
    Did you try following steps from FAQ as well?
    "If the agent doesn't want to start, ensure your environment variables are set correctly and delete the following files before trying again:
    1) In $ORACLE_HOME/network/admin: snmp_ro.ora and snmp_rw.ora.
    2) Also delete ALL files in $ORACLE_HOME/network/agent/."

  • Multiple Web Sites on OS X Mavericks Server

    I want to run multiple test web sites off my home Mac OS X Mavericks Server 10.9 can someone point me to a good "How to" on the specific of how to use the Server application to create and operate multiple web sites of a single Mavericks Server?
    Basic web is up and running....
    I want to host four other web sites off the same machine for testing purposes how do I do that?
    so if I go to the server and load
    it load a different web server.
    My thought is to use virtual host how does Apple / Community recommend I set this up...

    Please do not squat in the "home.com" domain.  If you're going to use a bogus domain, please use a bogus to-level domain such as server.home.jarvis — .jarvis is not currently a valid top-level domain, though that might change with the way ICANN has been bringing many new top-levels online, so a real registration is safer here.
    Peter Jarvis wrote:
         1. The Server is not intended to be publicly accessable from the Internet
    How will it be accessed?  Entirely privately?  No external access?  OK.
         2. Private Network - 10.0.1.X
    I'd probably pick something a little further into 10, such as 10.8 or 10.10, or 10.20.1.x — if you're ever using a VPN, it's best to use a weirder subnet, and I've worked with several folks that have subnets.
         3. DHCP Reservation for the Mac Server -
    I usually prefer keep the server and the other fixed-address hosts outside the DHCP pool.
         4. Server Domain name MacServer.home.com
    Are you the registrant for the home.com domain?  (I'd tend to doubt that, and would therefore suggest use of a real and registered domain or subdomain that you have permission to use or (less desirably) use a bogus top-level domain.)
         5. Example Web Site http:www.rouxacademy.com to also run off the same server...
    Is that going to be public?
         1. Static Server IP Address / DHCP Reserved IP Address against MAC Address
         2. DNS Service Configured and Running
         3. Web Service Configured and Running
         4. Example Web Site http:www.rouxacademy.com
         5. You have a basic website (with mysql) files available
                   Directory roux_academy (Contains Basic Web SIte files etc)
         1. Static Server IP Address / DHCP Reserved IP Address against MAC Address
    The Airport Airport allows you to Reserve and IP address against a MAC (Media Access Control) physicall address of Server Ethernet Card. You can do this or have the Airport allocated DHCP address from and above and statically allocate the server address of the machine.
    I'd leave the server out of the address pool.  So long as the pool and all static IP hosts are in the same block (usually a or /24 subnet) it'll all work, and you won't need to entangle the OS X Server with the DHCP server.
         2. DNS Service Configured and Running
    Install Mavricks, install OS X Server application, launch server app...
    Go to DNS tab, define a new host name MacServer.home.com and associate with IP Addresss
    Start DNS Service...
    Note: DO not publish DNS service via airport to Internet...
    Other than not squatting in that domain, yes.  There's no reason to open TCP or UDP port 53 inbound.
         3. Web Service Configured and Running
    Go to Web Sites tab...
    Click + and create new web site entry
    Domain Name:                http:www.rouxacademy.com
    IP Address:                     Any
    SSL:                               None
    Store Files in:                /Volumes/dev/Library/Server/Web/Data/Sites/roux_academy
    Who can access:          Anyone # I would restrict to a single user
    Additional Domains:     rouxacademy.com
    no http: prefix there, but yes.
    If you're not exposing the server to the 'net (as mentioned above) there's probably no need to restrict.  If you do need to restrict, you'll need to edit configuration files for Apache, or some other technique — maybe a VPN, if you're allowing (controlled, VPN-based) inbound access into your network.
    Start Web Service...
         4. Back to DNS
    Add host name....
    www.rouxacademy.com /
    # Do not create an MX record or publish DNS via airport...
    AirPort does not know from MX records, and does not provide DNS services.  AirPort will know about your local DNS server, since you are apparently using the AirPort for DHCP.
    You can also add the DNS translation during step 2; Apache and DNS are not tightly linked here.
    Launch Safari and type
         www.rouxacademy.com          - should launch web site...
         rouxacademy.com                   - should launch web site
    Caveat: the Real rouxacademy.com will not be accesable from the server or local machines on 10.0.1.X network...
    Ah, so there's a key detail — you're playing games and mimicking a real web site?  OK.
    The rouxacademy.com web site will be accessible from the server, as that'll (also) have the DNS translation (and remember the basis for virtual hosting is the client — the server in this case — has a translation for the host — the rouxacademy.com or www.rouxacademy.com domain in this case — and passes that string over the HTTP or HTTPS connection to the web server.   If you really want to keep the server from accessing this web site, then you'll have to push the local translation of that domain into the hosts file, or to a separate DNS server. 
    I'd try to avoid this configuration though, particularly as your references to MX earlier implies that this domain might be more active than just the web services discussed here — trying to run split-horizon DNS means you'll get what's internal and external somewhat tangled, and you'll have to keep mail — for instance — aimed outside and web services aimed internally.  This is possible for many cases, but gets tricky.
    Best to test the web site with a different domain name, and to use /-relative notation for accessing the files, or using the web content management system's configuration settings to control the "published" name of the site.

  • Virtual Hosts in Apache HTTP Server

    How to configure virtual hosts in Apache HTTP Server httpd.conf file.
    If I want to access my server with some other name(alias), how can I do this ?
    Suggestions in this matter would be highly helpful.
    Vidhyut Arora

    Following is a note explaining how to setup
    Virtual hosts.
    Hope this helps
    Subject: Apache Server Virtual Hosting
    Last Revision Date: 07-JUN-2001
    This document discusses considerations for setting up virtual hosts on an
    Apache machine, to include how to get the hostname working and how to
    configure Apache.
    The information in this document is intended for those who manage multiple sites
    using an Apache machine.
    First published in Apache Week issue 31 (6th September 1996)
    Last update 20th September 1998
    Using Virtual Hosts
    Virtual Hosts let you run multiple independent Web sites on a single host with
    a single Apache setup.
    One of the most important facilities in Apache is its ability to run virtual
    hosts. This is now the essential way to run multiple Web services - each with
    different host names and URLs - that appear to be completely separate sites.
    This is widely used by ISPs, hosting sites and content providers who need to
    manage multiple sites but do not want to buy a new machine for each one.
    Picking an IP address
    There are two types of virtual hosts: IP-based and non-IP-based. The former is
    where each virtual host has its own IP address. You must have a new IP address
    for each virtual host you want to set up, either from your existing allocation
    or by obtaining more from your service provider. When you have extra IP
    addresses, you tell your machine to handle them. On some operating systems, you
    can give a single ethernet interface multiple addresses (typically with an
    fconfig alias command). On other systems, you must have a different
    physical interface for each IP address (typically by buying extra ethernet
    IP addresses are a resource that costs money and are increasingly difficult to
    get, so modern browsers can now also use 'non-IP' virtual hosts. This
    lets you use the same IP address for multiple host names. When the server
    receives an incoming Web connection, it does not know the hostname that was used
    in the URL. However, the new HTTP/1.1 specification adds a facility where the
    browser must tell the server the hostname it is using, on the Host: header. If
    an older browser connects to a non-IP virtual host, it does not send the Host:
    header, so the server must respond with a list of possible virtual
    hosts. Apache provides some help for configuring a site for both old and new
    Picking a Hostname and Updating the DNS
    Having selected an IP address, the next stage is to update the DNS so that
    browsers can convert the hostname into the right address. The DNS is the system
    that every machine connected to the internet uses to find the IP address of host
    names. If your hostname is not in the DNS, no one can connect to
    your server (except by the unfriendly IP address).
    If the virtual hostname you are going to use is under your existing domain,
    you can just add the record into your own DNS server. If the virtual hostname
    is in someone else's domain, you must get them to add it to their DNS
    server files. In some cases, you want to use a domain not yet used on the
    internet, in which case you must apply for the domain name from the
    InterNIC and set up the primary and secondary DNS servers for it, before adding
    the entry for your virtual host.
    In any of these cases, the entry you need to add to the DNS is an address record
    (an A record) pointing to the appropriate IP address. For example, say you want
    the domain www.my-dom.com to access your host with IP address you
    must add the following line to the DNS zone file for my-dom.com:
    www A
    Now, users can enter http://www.my-dom.com/ as a URL in their browsers and get
    to your Web server. However, it will return the same information as if the
    machine's original hostname had been used. So, the final stage is to tell Apache
    how to respond differently to the different addresses.
    How Apache Handles Virtual Hosts
    Configuring Apache for virtual hosts is a two-stage process. First, it needs
    to be told which IP addresses (and ports) to listen to for incoming Web
    connections. By default, Apache listens to port 80 on all IP addresses of the
    local machine, and this is often sufficient. If you have a more complex
    requirement, such as listening on various port numbers, or only to specific IP
    addresses, then the BindAddress or Listen directives can be used.
    Second, having accepted an incoming Web connection, the server must be
    configured to handle the request differently, depending on what virtual host it
    was addressed to. This usually involves configuring Apache to use a different
    Telling Apache Which Addresses to Listen To
    If you are happy for Apache to listen to all local IP addresses on the port
    specified by the Port directive, you can skip this section. However, there are
    some cases where you want to use the directives explained here:
    - If you have many IP addresses on the machine but only want to run a Web
    server on some of them
    - If one or more of your virtual hosts is on a different port
    - If you want to run multiple copies of the Apache server serving different virtual
    There are two ways of telling Apache what addresses and ports to listen to:
    - Use the BindAddress directive to specify a single address or port
    - Use the Listen directive to any number of specific addresses or ports
    For example, if you run your main server on IP address port 80, and a
    virtual host on IP port 8000, you would use:
    Listen and BindAddress are documented on the Apache site.
    Configuring the Virtual Hosts
    Having gotten Apache to listen to the appropriate IP addresses and ports, the
    final stage is to configure the server to behave differently for requests on
    each of the different addresses. This is done using <VirtualHost> sections in
    the configuration files, normally in httpd.conf.
    A typical (but minimal) virtual host configuration looks like this:
    DocumentRoot /www/vhost1
    ServerName www.my-dom.com
    This should be placed in the httpd.conf file. You replace the text with one of your virtual host IP addresses. If you want to specify a
    port as well, follow the IP address with a colon and the port number
    (example: If omitted, the port defaults to 80.
    If no <VirtualHost> sections are given in the configuration files, Apache
    treats requests from the different addresses and ports identically. In terms of
    setting up virtual hosts, we call the default behavior the main server
    configuration. Unless overridden by <VirtualHost> sections, the main server
    behaviour is inherited by all the virtual hosts. When configuring virtual
    hosts, you must decide what changes to make in each of the virtual
    host configurations.
    Any directives inside a <VirtualHost> section apply to just that virtual host.
    The directives either override the configuration give in the main server, or
    supplement it, depending on the directive. For example, the DocumentRoot
    directive in a <VirtualHost> section overrides the main server's DocumentRoot,
    while AddType supplements the main server's mime types.
    Now, when a request arrives, Apache uses the IP address and port it arrived on
    to find a matching virtual host configuration. If no virtual host matches the
    address and port, it is handled by the main server configuration. If it does
    match a virtual host address, Apache uses the configuration of that virtual
    server to handle the request.
    For the example above, the server configuration used is the same as the
    main server, except that the DocumentRoot is /www/vhost1, and the
    ServerName is www.my-dom.com. Directives commonly set in <VirtualHost>
    sections are DocumentRoot, ServerName, ErrorLog and TransferLog. Directives
    that deal with handling requests and resources are valid inside <VirtualHost>
    sections. However, some directives are not valid inside <VirtualHost> sections,
    including BindAddress, StartSevers, Listen, Group and User.
    You can have as many <VirtualHost> sections as you want. You can
    leave one or more of your virtual hosts being handled by the main server, or
    have a <VirtualHost> for every available address and port, and leave the main
    server with no requests to handle.
    VirtualHost sections for non-IP Virtual Hosts
    Non-IP virtual hosts are configured in a very similar way. The IP address that
    the requests arrive on is given in the <VirtualHost> directive, and the
    host name is put in the ServerName directive. The difference is that there
    (usually) is more than one <VirtualHost> section handling the same IP address.
    For Apache to know whether a request arriving on a particular IP
    address is supposed to be a name-based requests, the NameVirtualHost directive
    addresses for name-based requests. A virtual host can handle more than one
    non-IP hostname by using the ServerAlias directive, in addition to the

  • Trying to find Oracle HTTP Server (OHS)

    I am trying to find a simple download of the Oracle HTTP Server on OTN but I can only find a version bundled with middlewear software.
    I only need to run mod_plsql, so I don't need fusion middlewear installed.
    Can anybody help me out?
    Marc de Oliveira

    I remember it, but all signs are gone on the web site. Cannot for the life of me remember its name something like "Oracle HTTP Server"
    is this it??

Maybe you are looking for

  • Apex_util.get_blob_file?

    Dears , i want to display the image in sidebar region , i make all steps : 1- add column in the table ( FLAG   blob , FILENAME  varchar2(4000), MIMTYPE  varchar2(4000), FILESIZE   varchar2(4000) )2- create new region html type and but in condition PL

  • When I sign in to apps store it says my computer cannot be verified.

    Can someone please tell me how verify my mac?

  • Instant ink

    I  AM having  trouble  with  printing  since  i  started  instant ink    90%  of  the  time  i  print  it  takes  from 2 to  5  pages  to  print  one  thing   first  page  print  a inch  of  the whole  second   afew  more and  on last  page i  get  a

  • How to accout unplanned depreciation for group assets

    Friends, Unplanned depreciation is accounted for group assets few years ago.This is for special depreciation areas. Now i would like to reverse this amount as write up unpalnned depreciation,  but system is throwing eror message that: This  function

  • Third Party Plug-in Issue

    I've recently downloaded a couple third party plug-ins and I can't seem to get them to show up when I open Final Cut. The folders are in: HD/Library/Application Support/Final Cut Pro System Support/Plug ins But when I open Final Cut they're not showi