Newbie question - httpd.conf modifications

I have been beating myself up the last couple of days and hope that someone can help me get this figured out.
I have Oracle 10g Infra and Midtier installed on the same server. I also have an application on that server. The application is available by going to server:8183 (a development port). When we go to production I want the application to be passed all traffic going to port 80.
Port 80 is being listened to by the midtier Apache server. Can I modify the midtier to not use this port? If I do that I can have the application itself just pick up that port.
If I can not perform the above I need to use virtual hosts, I assume. I have looked at Virtual host but it does not look like you can have a virtual host point to a new port. For instance I would like to have it when a user types in x.x.com to actually go to x.x.com:8183 without having to open up that port to the outside world. Can the Virtual host be made to point to a different port?
This is running on a Windows 20003 server. No IIS or anything since it is using Apache.
Any help appreciated. I am getting frustrated and can find no end.
Dave

Just change the middle tier port to use 8080 or something in httpd.conf. You can do this in iAS control. Please read the docs for the knock-on effects of this.

Similar Messages

  • Apache Plugin is not working with Cluster Entry in httpd.conf

    Hi Guys,
    We have a very particular issue that is happening here in our production environments. Before explaining the issue to you, I will just give a brief of our architecture.
    We are using Weblogic Portal Platform SP4.
    Our current Production Domain Consists of 1 Admin Server and 2 Managed Servers. The managed servers are in a cluster.
    We have two Linux boxes on which the weblogic servers are running. These two machines have IPs: x.x.x.58 and x.x.x.59. Now, the Admin Server and managed Server 1 are started on the machine x.x.x.58 and managed server 2 is started on the machine x.x.x.59. Both the managedServers listen on port 8007.
    This entire setup mentioned in the above paragraph is at a location A (lets say).
    Now, the requests are proxied to the managed server cluster using BEA's Apache plugin residing on Apache. Apache is running on two Linux boxes that are present at a location B.
    Location B is connected to Location A by a dedicated WAN Link.
    Now, before the two Apache servers there is a physical Load Balancer that balances the requests between the two Apache boxes.
    This means that whenever there is a request from the Internet to the weblogic cluster, the load balancer first sends it to either of the Apache servers and then the BEA Apache plugin on that Apache forwards the request via the 2 mbps WAN link to the weblogic cluster.
    Now following is the description of the issue we are facing. We donot know whether the issue is with the plugin or with weblogic server.
    In order that the plugin load balances the requests between the servers in the cluster and for failover, the following entry was put in httpd.conf on both the Apache Servers.
    WebLogicCluster y.y.y.11:8007,y.y.y.13:8007
    Note: Because of the WAN link there is natting used. This implies y.y.y.11 is natted to x.x.x.58 and y.y.y.13 is natted to x.x.x.59.
    Here in lies the issue. When we use this plugin entry the following issue occurs.
    1.     First we go to the home page and login.
    2.     The user is then redirected to a Portal Desktop fitting those credentials.
    3.     Now on this Portal Desktop, invariably whenever we click any of the desktop's links, an HTTP 403 is thrown. This error is thrown because on the desktop there are entitlements so that it cannot be accessed without a user logging in with credentials. But this error indicates that the server is losing the session and entitlement details.
    Why does this happen?
    As a result, we cannot use that plugin entry. The current entry we have is
    WebLogicHost y.y.y.11
    WebLogicPort 8007
    As you can see, here we are only redirecting to one managed server. This entry is not what we want, obviously because if that server fails, the plugin wont know which other server to pass the request on to. Also in this case there is no load balancing.
    Our issues our,
    1. How to resolve this plugin entry issue. How can we use the cluster entry without encountering this HTTP 403 Error?
    3. Consider the following sequence of steps.
    - Request for the home page is served by Apache Server 1
    - User logins in, the login request is sent by the Load Balancer to Apache Server 1 and plugin on Apache Server 1 sends it to the cluster via WAN l ink. Then the internal mechanism works with creating the session id and primary server and secondary server and logs the user in and sends the response via Apache Server 1.
    - Now, the user clicks a link on the desktop. The request now goes to the load balancer and it sends it to Apache Server 2.
    The question is now does the plugin on Apache server 2 correctly understand and send the request to the primary server of that session.
    Pls help me as to giving me some direction in resolving this issue

    From your Xorg.0.log:
    (II) fglrx(0): DRIScreenInit done
    (II) fglrx(0): Kernel Module Version Information:
    (II) fglrx(0): Name: fglrx
    (II) fglrx(0): Version: 8.49.7
    (II) fglrx(0): Date: May 12 2008
    (II) fglrx(0): Desc: ATI FireGL DRM kernel module
    (WW) fglrx(0): Kernel Module version does *not* match driver.
    (EE) fglrx(0): incompatible kernel module detected - HW accelerated OpenGL will not work
    You have to quit X, then rmmod and modprobe the kernel module - you're still using the old one.  (a reboot would technically fix it too)
    # rmmod fglrx
    # modprobe fglrx
    # dmesg | tail
    The dmesg output should say you've successfully loaded the 8.501 driver.

  • Apache 2.2.23 SSL error RE httpd.conf

    I am using Apache 2.2.23 with PHP 5.4.10 on my OS X Server.
    The Apache2 error_log contains the following error messages:
    [Sat Jan 12 09:50:19 2013] [notice] caught SIGTERM, shutting down
    [Sat Jan 12 09:50:23 2013] [notice] Apache/2.2.23 (Unix) DAV/2 PHP/5.4.10 mod_ssl/2.2.22 OpenSSL/0.9.8r configured — resuming normal operations
    Could that be due to the entries in the httpd.conf shown at the bottom of this post? Does it matter? What does 'caught SIGTERM' mean?
    Also, why does the error mention mod_ssl/2.2.22 (shouldn't that be mod_ssl/2.2.23)? Sorry for all the questions but I'm still learning.
    I am not currently using SSL although I do want to get that working eventually.
    The Apache2 httpd.conf file contains the following lines:
    LoadModule ssl_module libexec/apache2/mod_ssl.so
    '#' Secure (SSL/TLS) connections
    '#' Include /private/etc/apache2/extra/httpd-ssl.conf
    '#' Note: The following must must be present to support
    '#' starting without SSL on platforms with no /dev/random equivalent
    '#' but a statically compiled-in mod_ssl.
    <IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    </IfModule>

    Try installing the Oracle HTTP Server installed with Oracle8i release 8.1.7.
    Alison
    iSQL*Plus Team

  • Apache 2.0.35 httpd.conf issue with Win2k WLS 6.1sp2 Cluster

    Hi,
              Anybody has a Win2K Apache 2.0.35 httpd.conf that works
              with a WLS 6.1sp2 Cluster?
              I am getting errors like
              "..Cannot load D:/Apache2.0.35/Apache2/modules/mod_wl_20.so into server: The
              specified procedure could not be found."
              Thanks,
              -ad
              

    you should post this question plugin newsgroup.
              I will ask one of our plugin engineer to get back to you...
              Kumar
              Toly Dedes wrote:
              > Hi,
              > Anybody has a Win2K Apache 2.0.35 httpd.conf that works
              > with a WLS 6.1sp2 Cluster?
              > I am getting errors like
              > "..Cannot load D:/Apache2.0.35/Apache2/modules/mod_wl_20.so into server: The
              > specified procedure could not be found."
              >
              > Thanks,
              > -ad
              >
              >
              >
              

  • How to include processing time in the  LogFormat in httpd.conf of OAS

    Hi,
    I want to add processing time parameter in the LogFormat of the HTTP requests in Application server logs file.
    i tried to edit the httpd.conf file which orginally is as below
    LogFormat "%h %l %u %t \"%r\" \"%{Cache-Control}i\" CC \"%{Cache-Control}o\" %>s %b" common
    to
    LogFormat "%h %l %u %t *%T* \"%r\" \"%{Cache-Control}i\" CC \"%{Cache-Control}o\" %>s %b" common
    But doing so, did not add the Processing time in the GET and POST requests.Although same works for Apache HTTP server.
    I want to know how do i add the Processing time attribute in the LOGFormat.
    By Default the LogFormat is Common, what are the other possibilities fpr LogFormat.
    Please revert.
    Regards
    Ak

    Hi,
    1. To reduce the processing time for JMS -> IDOC scenario, try to get the Average processing time taken by JMS adapter, IE, IDOC adapter for the messages that are processed so far by going thro the Adapter Audit logs, SXMB_MONI race and Time in WE02 in R/3 system. Calculate this for 5 - 10 messages at different time to get the clear idea of which step is consuming more time. Then it will be helpful to focus on tuning that specific step.  If you are using BPM, check the processing time taken by PE.
    2. Check the Inbound and Outbound queues used by this interface, if required try to configure Prioritized Queue with more time allocated for this interface in Integration Engine.
    3. Check the load on the Integration Server when this Interface messages are getting processed, to understand/ isolate the interfaces which are consuming more processing time and system resources.
    4. If this is not in Production try to perform the Mapping/ transformation in graphical mapping itself, it will be helpful to minimise use of XSLT mapping to get better performance.
    5. Check if the Archive and Delete jobs are running successfully in the Integration Server, since this will free up the occupied resources in the system.
    6. If possible post seperate Forum questions for issues in different Interface scenarios, it will be easy to understand the problem for all of us.
    Hope this will be helpful,
    Regards,
    S.Santhosh Kumar

  • 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

  • Httpd.conf file missing in action

    This is a weird one. I want to modify my httpd.conf file so my URL's all default to lower case. I'm using MAMP, so I navigated to Applications > MAMP, opened the file, modified it and restarted my server. (I also modified an .htaccess file.)
    I then added the code LogLevel trace8 to my config file, with the understanding that I would see more "verbose" messages in my error log. Afterr restarting my servers, I reloaded my web page, then checked the log - nothing changed. That is, the log is recording my activity, but it doesn't display "verbose" messages.
    Someone who was helping me on an Apache forum came to thte conclusion that my httpd.conf fiile isn't being used. So I typed httpd.conf into Apple's finder and, sure enough, I found half a dozen files with that name. I couldn't determine which is the right one, so I modifed all of them and restarted my serverrs again. There's STILL no change in my URL's, and my log is still recording generic messages.
    Does anyone have any idea how I can solve this problem? First, am I correct in understanding that there must be at least ONE active httpd.conf files in order for my sites to function? If so, then I know there must be an invisible httpd.conf file somewhere on my MacBook that I need to locate.
    Also, is it possible for error messages to be written to more than one Apache log at a time? It's just so strange that the error log in my Applications > MAMP folder is keeping tabs on the web pages I visit when the httpd.conf file in the same folder is apparently doing nothing.
    Thanks for any tips.

    MAMP is not Apple software and is well outside the normal 'consumer' stuff they deal with in Apple stores, I therefore don't think a Genius would be either will or able to investigate this. However I can provide the following information and maybe others who have used MAMP can provide more.
    /etc/apache2/httpd.conf is the file used on a standard OS X Mac
    /Library/Server/Web/Config/apache2/httpd_server_app.conf is the equivalent file used on a Mac server if you have installed Apple's Server.app
    I have seen conflicting comments suggesting the location for the equivalent file for MAMP is -
    /Applications/MAMP/conf/apache/httpd.conf
    or
    ~/Library/Application Support/appsolute/MAMP PRO/httpd.conf
    The following might be helpful http://foundationphp.com/tutorials/vhosts_mamp.php

  • Httpd.conf requires Web Cache listening port to be defined - Why?

    Can someone tell me why the httpd.conf file requires the Web Cache listening port in its configuration; Port=web_cache_port entry. I.e
    ## httpd.conf -- Apache HTTP server configuration file
    Port 7777
    Listen 7778
    ServiceName http_server.company.com etc...
    The reason behind my question is that I thought Web Cache was a stand alone application that just passed requests through to the http server.
    This question arose when reading page 6-8 of Oracle9iAS Web Cache - Administration and Deployment Guide - Release 2 (9.0.2)

    Thx. Now I know why entering petstore thru' webcache at port 80
    http://blah/petstore/
    returns
    http://blah:7777/petstore/control/....
    where 7777 is OHS listening port.
    Changing PORT to 80 fixed my problem! i,e. back thru webcache
    http://blah/petstore/control/....
    BTW, I managed to killed webcache a couple of times in the last 2 days by changing ports configuration using the Web admin interface at port 4000 and each time I need to reinstall ias903 core on win2k server. How stable is this beast? The EM interface is also very sensitive to editing server.xml etc directly in advanced properties...
    See below for info on PORT.
    Cheers.
    http://httpd.apache.org/docs/mod/core.html#port
    http://httpd.apache.org/docs/mod/core.html#usecanonicalname
    * The Port directive sets the SERVER_PORT environment variable (for CGI and SSI), and is used when the server must generate a URL that refers to itself (for example when creating an external redirect to itself). This behavior is modified by UseCanonicalName.
    The primary behavior of Port should be considered to be similar to that of the ServerName directive. The ServerName and Port together specify what you consider to be the canonical address of the server. (See also UseCanonicalName.)

  • Urgent: Solaris newbie question: group permissions etc

    Hi
    I have a question on what is the best practice of working with solaris users and permissions. I'm using Solaris 10 and have created several users each with their home directory in /export/home. Then i have installed the sun webserver under /export/home/sun/webserver and i want all users to be able to use this, execute or copy over to the webserver.. would this be a valid solution or good practice solution tht i crete a group give it the permissions to read/write/execute and all the users i want to give this privilege to will be under this group. but then whats the use of having root like how would root user be different from the rest now...
    thanks...

    If you just want them to be able to publish to the web, apache has a little built in script in the httpd.conf that will hook in a user directory. Read the /etc/apache/httpd.conf file for more info.
    Whether this is best practice I am not sure. What you suggest will work but I would avoid it.

  • Apache2 httpd.conf on Snow Leopard 10.6.3

    Hello there,
    I've got a problem with the httpd.conf file.
    I made some changes and then nothing worked.
    After that i found /etc/apache2/original/httpd.conf and thought that this must be the original and copied it to /etc/apache2/ but then i noticed that it's not.
    Now, my question: Is there any way to restore the original one that was installed at the beginning.
    It's my first mac. Before i used Windows for 15 years.
    Greets Ironbone

    Use Pacifist to extract it from the original disks.
    (51863)

  • Httpd.conf changes misteriously

    Hi,
    we have application server 10.1.2.0.2 on AIX 5L 64bits.
    I've changed the httpd.conf configuration file on the middle tier, modifying this line:
    UseCanonicalName Off
    "misteriously" (I don't know when, or how), that line changes to the default value:
    UseCanonicalName On
    also I noted that httpd.conf.smibak (what's this file?) ahs the some value, and the some last modification time.
    why is this happening?
    thanks in advance

    You have just been introduced to DCM, the configuration manager that is active in OracleAS.
    When you make changes through AS Console, all will be fine. However if you update httpd.conf manually you must run 'dcmctl updateconfig -ct ohs' to make the change permanent. If you add $ORACLE_HOME/dcm/bin to your $PATH it should go smoothly.
    Starting with 10.1.3 (which won't be able to replace a full 10.1.2 because it is java focused) DCM has been removed.

  • Httpd.conf bug?

    We seem to be having a problem with the httpd.conf file everytime we undeploy and deploy a J2EEE application on our Mid tier. The httpd.conf file loses the Alias stt. for the images. Any way to prevent it. We also sometimes see a problem with the dads.conf file. It drops off a couple of entries, the moment we undeploy and then deploy a J2EE application using dcmctl.
    Is it a known issue and any way to prevent it?
    Thanks
    Satish

    sorry, satish, but your question/issue is outside of the scope of this forum. i'm sure there are tons of places out there that could assist with your issue, but this wouldn't be the right one.
    regards,
    raj

  • Starting fluxbox-newbie question

    :? I currently have kde running on my system. I installed fluxbox using pacman. 
         How do I start fluxbox? I couldn't even find it, so I su to root, type fluxbox, and get
         an error message saying that another window system is already running! (kde)
        A  typical newbie question, but I don't know how to start fluxbox. I think I want to
        replace kde with fluxbox, so should I just uninstall kde?? 
                                                           Thanks -- Larry

    lmellen wrote:
    :?  scottro -- This is .xinitrc.
    #!/bin/sh
    # ~/.xinitrc
    # Executed by startx (run your window manager from here)
    exec wmaker
    # exec startkde
    # exec icewm
    # exec blackbox
    exec fluxbox
    The only thing I uncommented was" exec fluxbox". I'm still getting kde at start up.
    I have kdm listed in a start up daemon in rc.conf. is this the problem?
                         thanks for the reply -- Larry
    if you comment out exec wmaker and then put a ! in front of the kdm daemon you should boot to a console at which point you login then type startx. you may also have to change your init level but i dunno i haven't used a graphical login manager for a very long time.

  • Httpd.conf wierdness

    ever since I installed FM Pro Server 9 on to our server (10.4.10); when FM Server stops (as it seems to) and needs to be restarted, it appears to be writing over the end of the http.conf file, wiping out the most recent additions to alias redirects. We have a whole bunch of these - why - not sure as it seems a bit dodgy to me :
    Alias /talk "/Volumes/Quicksilver/projects/talk/Sites/"
    <Directory "/Volumes/Quicksilver/projects/talk/Sites/">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    evidently these allow user sites to run minus the ~. When I asked the person who set it up, he said that also without this redirect, web users can bypass realms by using ~.
    FM appears to be modding these lines:
    #FMIConfigurationV1
    Include '/Library/FileMaker Server/Admin/admin-helper/WEB-INF/conf/fmi-test.conf'
    #FMIConfigurationV1
    Include '/Library/FileMaker Server/Admin/admin-helper/WEB-INF/conf/fm-server-status.conf'
    #FMIConfigurationV1
    Include '/Library/FileMaker Server/Admin/admin-helper/WEB-INF/conf/mod_jk.conf'
    #FMIConfigurationV1
    Include '/Library/FileMaker Server/Web Publishing/publishing-engine/php/httpd.conf.php'
    the .conf file ends there - I have yet to look at a .bak but although I know little about Apache, it doesn't look right.
    I have contacted FM support and received so far, a long silence. Obviously I need to find out what is causing it to stop - a topic for a different forum.
    I have 2 questions (please dear readers):
    1. Is there a better way to redirect sites to /username (so there is no need for /~username) than putting 50 alias redirects in the .conf? Being Apache, I'm sure there is a better way to do everything!
    2. Do realms always need a redirect?
    I am a distance away from the machine and have to get time to get down there and make a few tests. In the meantime, if anyone has any suggestions, they would be warmly appreciated. Thanks for yur time.

    sudo apachectl graceful
    This will restart the apache server.
    server.example.com/~username/info.php would be the website you're looking for.
    Note the tilde before the username.
    If you've uncommented the php5 line in the conf file, then it should work.
    Perhaps do a search for "php5" in the conf file, and make sure that you got all of them.  It seems to me that there might be two lines that you need to uncomment.
    HTH
    -Graham

  • Problems modifying the httpd.conf file

    We are running Flash Media Server 4.5 on Windows Server 2008. We want to move the vod folder which by default is in webroot. We create a new vod folder and then modify the httpd.conf file so that it points to the new vod location. We then stop and restart the Flash Media Server service. However, the server acts like the old paths are cached somewhere in the system. Videos in the new vod folder do not work. Videos in the old vod folder open even though the httpd.conf file was modified.
    We made sure that the client browsers on which we tested this had their cache cleared.
    Anyone have any ideas what might be going on here?

    Thanks for your reply! I tried restarting the FMSHttpd service separately. Still encountering this issue, however.
    Here's what we are doing:
    1. We create a new vod folder.
    2. We modify the httpd.conf file in Flash Media folder -> Apache2.2 -> conf so that it points to the new vod location. For example, we make a modification to HttpStreamingContentPath like the following:
    <IfModule jithttp_module>
    <Location /hds-vod>
        HttpStreamingJITPEnabled true
        HttpStreamingContentPath "..\..\[new vod folder]"
        HttpStreamingJITConfAllowed true
        JitFmsDirPath ".."
        Options -Indexes FollowSymLinks
    # Uncomment the following directives to enable encryption
    # for this location.
    #   EncryptionScope server
    #   ProtectionScheme phds
    </Location>
    </IfModule>
    3. We restart the FMSHttpd service.
    After doing this, we find that the path to the old vod folder is still working. Videos in the new vod folder don't open as expected.
    Are there any other steps that we should be taking? Many thanks for any help.

Maybe you are looking for