ColdFusion 10 mod_jk won't compile for Apache HTTPD 2.4.6

Making all in apache-2.0
make[1]: Entering directory `./src/connector-source/native/apache-2.0'
./apr/build-1/libtool --silent --mode=compile gcc -std=gnu99 -I./httpd/include  -DHAVE_CONFIG_H -DUSE_APACHE_MD5 -I ../common -I /include -I /include/unix -DLINUX -D_REENTRANT -D_GNU_SOURCE -g -O2 -pthread -DHAVE_APR  -I./apr/include/apr-1 -I./apu/include/apr-1  -DHAVE_CONFIG_H -g -O2 -pthread -DLINUX -D_REENTRANT -D_GNU_SOURCE -c mod_jk.c -o mod_jk.lo
mod_jk.c: In function 'init_ws_service':
mod_jk.c:832: error: 'conn_rec' has no member named 'remote_ip'
mod_jk.c:833: error: 'conn_rec' has no member named 'remote_addr'
mod_jk.c:1106: error: 'conn_rec' has no member named 'remote_ip'
mod_jk.c:1106: error: 'conn_rec' has no member named 'remote_ip'
make[1]: *** [mod_jk.lo] Error 1
make[1]: Leaving directory `./src/connector-source/native/apache-2.0'
make: *** [all-recursive] Error 1

Re: when will ColdFusion 10 (or higher) support apache 2.4?

Similar Messages

  • Multi-processor support for apache/httpd?

    Hello all,
    I'm wondering there's a way to get apache/httpd to take advantage of all 8 cores of my Mac Pro? I have a process running that is maxing out at 100% CPU and I would love to see the other 7 processors being utilized. Is this possible? Any help would be much appreciated.

    Apache is usually configured to run multiple worker processes, so yes, it can use all of an eight-core.
    Launch Terminal.app and issue the following command, authenticating with an administrative password:
    $ sudo lsof -i -P | grep -i "httpd"
    That's a list of all the web server processes active.
    Now if your central web activities are all within that one process that is using all of that core, then you do have a problem. Figuring out how to split the processing from that process across more cores depends on exactly what that particular process is doing.

  • Java won't compile for me

    hi. I'm new to Java. Installed JAva from a book's CD. Java1.3. When I compile, I get an error message saying "bad command or file name". It doesn't compile. Thank goodness for the book's exercises being on CD. The .class files are already there, whichmeans the .java files were already compiled, yes? (i'm new) So, running Java with these already compiled files works fine. It's just compiling that is the problem. I suspect it has something to do with my settings in my autoexec.bat file, but what do i know? I'm new!
    Can somebody help me out?
    I can't keep checking this forum yet, so i'd prefer to be emailed at [email protected]
    Thanks, Christian

    this is the first version of my autoexec.bat file that i tried:
    @ECHO OFF
    SET PATH=C:\IBMTOOLS
    If Exist C:\MFGBOOTI.REG C:\WINDOWS\REGEDIT C:\MFGBOOTI.REG
    PATH=%PATH%;"C:\Program Files\Mts"
    PATH C:\jdk1.3.0_02\bin;%PATH%
    SET CLASSPATH=%CLASSPATH%;.;C:\jdk1.3.0_02\lib\tools.jar
    this is the second version :
    @ECHO OFF
    SET PATH=C:\IBMTOOLS
    If Exist C:\MFGBOOTI.REG C:\WINDOWS\REGEDIT C:\MFGBOOTI.REG
    PATH=%PATH%;"C:\Program Files\Mts"
    PATH C:\jdk1.3.0_02\bin;%PATH%
    SET CLASSPATH=%CLASSPATH%;.;C:\jdk1.3.0_02\lib\tools.jar;C:\j21work

  • Tinyos won't compile for 'tinynode' target using the msp430 toolchain

    Meanwhile, trying to compile Blink example for tinynode:
    [takeda@takeda Blink]$ make tinynode
    mkdir -p build/tinynode
    compiling BlinkAppC to a tinynode binary
    ncc -o build/tinynode/main.exe -Os -Os -mdisable-hwmul -mstrict-align -fnesc-separator=__ -Wall -Wshadow -Wnesc-all -target=tinynode -fnesc-cfile=build/tinynode/app.c -board= -DDEFINED_TOS_AM_GROUP=0x22 -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"takeda\" -DIDENT_HOSTNAME=\"takeda\" -DIDENT_USERHASH=0x3831b7f8L -DIDENT_TIMESTAMP=0x4e84bf69L -DIDENT_UIDHASH=0x4131c4c7L -fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, components)' -fnesc-dumpfile=build/tinynode/wiring-check.xml BlinkAppC.nc -lm
    nesc1: invocation of msp430-gcc to find builtin macros failed (error message output follows)
    Using built-in specs.
    Reading specs from /usr/lib/gcc/msp430/4.5.3/../../../../msp430/lib/msp430mcu.spec
    COLLECT_GCC=msp430-gcc
    COLLECT_LTO_WRAPPER=/usr/libexec/gcc/msp430/4.5.3/lto-wrapper
    Target: msp430
    Configured with: /home/takeda/sfw/gcc-msp430/src/gcc-4.5.3/configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --disable-libssp --disable-nls --target=msp430 --enable-languages=c,c++ --with-gnu-as --with-gnu-ld --with-as=/usr/bin/msp430-as --with-ld=/usr/bin/msp430-ld --with-pkgversion=mspgcc_20110716
    Thread model: single
    gcc version 4.5.3 (mspgcc_20110716)
    COLLECT_GCC_OPTIONS='-v' '-E' '-dM' '-mdisable-hwmul' '-mstrict-align' '-mmcu=msp430f1611' '-mcpu=430' '-mmpy=16' '-mivcnt=16' '-mcpu=430' '-mmpy=16' '-mivcnt=16'
    /usr/libexec/gcc/msp430/4.5.3/cc1 -E -quiet -v -imultilib mmpy-16 -D__MSP430F1611__ /dev/null -mcpu=430 -mcpu=430 -mmpy=16 -mmpy=16 -mivcnt=16 -mivcnt=16 -mdisable-hwmul -mstrict-align -mmcu=msp430f1611 -mcpu=430 -mmpy=16 -mivcnt=16 -mcpu=430 -mmpy=16 -mivcnt=16 -dM
    cc1: error: unrecognized command line option "-mstrict-align"
    ignoring nonexistent directory "/usr/lib/gcc/msp430/4.5.3/../../../../msp430/sys-include"
    #include "..." search starts here:
    #include <...> search starts here:
    /usr/lib/gcc/msp430/4.5.3/include
    /usr/lib/gcc/msp430/4.5.3/include-fixed
    /usr/lib/gcc/msp430/4.5.3/../../../../msp430/include
    End of search list.
    cc1: warning: -mdisable-hwmul deprecated, use -mmpy=none
    nesc1: internal error: couldn't define builtin macros - exiting
    make: *** [exe0] Error 1
    [takeda@takeda Blink]$
    Last edited by takeda (2011-09-29 19:00:51)

    in file /opt/tinyos-2.1.1/support/make/tinynode.target i've done for the moment the following
    # mod_by_takeda
    PFLAGS += -mmpy=none
    # PFLAGS += -mdisable-hwmul
    # mod_by_takeda
    # PFLAGS += -mstrict-align
    and now a very simple project compiles. (like a helloword app).
    I geuss i am gonna have problems later..

  • Solaris 10  x86 mod_jk for Apache to Tomcat compilation error

    Hi,
    I try to figure it out how to compile the sources of mod_jk under Solaris 10 x86 on v20z server. The configuration goes right. But when I try to use make. This error appears. The version of mod_jk is 1.1.14. Can anybody help with this probleme?
    Here is the result of the make:
    gcc: .libs/mod_jk.o: No such file or directory
    gcc: ../common/.libs/jk_ajp12_worker.o: No such file or directory
    gcc: ../common/.libs/jk_connect.o: No such file or directory
    gcc: ../common/.libs/jk_msg_buff.o: No such file or directory
    gcc: ../common/.libs/jk_util.o: No such file or directory
    gcc: ../common/.libs/jk_ajp13.o: No such file or directory
    gcc: ../common/.libs/jk_pool.o: No such file or directory
    gcc: ../common/.libs/jk_worker.o: No such file or directory
    gcc: ../common/.libs/jk_ajp13_worker.o: No such file or directory
    gcc: ../common/.libs/jk_lb_worker.o: No such file or directory
    gcc: ../common/.libs/jk_sockbuf.o: No such file or directory
    gcc: ../common/.libs/jk_map.o: No such file or directory
    gcc: ../common/.libs/jk_uri_worker_map.o: No such file or directory
    gcc: ../common/.libs/jk_ajp14.o: No such file or directory
    gcc: ../common/.libs/jk_ajp14_worker.o: No such file or directory
    gcc: ../common/.libs/jk_md5.o: No such file or directory
    gcc: ../common/.libs/jk_shm.o: No such file or directory
    gcc: ../common/.libs/jk_ajp_common.o: No such file or directory
    gcc: ../common/.libs/jk_context.o: No such file or directory
    gcc: ../common/.libs/jk_status.o: No such file or directory
    make[1]: *** [mod_jk.la] Error 1
    make[1]: Leaving directory `/install/jakarta-tomcat-connectors-1.2.14.1-src/jk/native/apache-1.3'
    make: *** [all-recursive] Error 1
    Anybody can help???

    You have to run "make clean" and then make.
    Probably the files could not be compiled because of errors in the first place.
    Try to download the source for apache and compile it for the current platform, otherwise you could get wrong settings.

  • Coldfusion plugin for Apache 2.2

    Is there a Coldfusion version 4.5 or version 4 plugin for
    Apache webserver 2.2 available? If so, how can I get it? Any help
    is appreciated. Thanks

    We're having the same problem. Is there a plugin that works with apache 2.0.45?
    Thanks,
    Marie
    <[email protected]> wrote:
    Here, we have apache 2.0.44 which works fine with the plugin, but when
    we
    upgrade
    apache from 2.0.44 to 2.0.45 we get the following error
    httpd: module "mod_weblogic.c" is not compatible with this version of
    Apache
    (found
    20020612, need 20020903).
    Please contact the vendor for the correct version.
    Could anybody tell me please where to find a plugin suitable for the
    new
    apache version,
    or in the other hand, could you tell me how to workaround this problem.
    Thanks.
    Luis Esteban
    lesteban at aquanima.com

  • MBP stuck to the spinning wheel, won't boot after deleting something from "/System/Library/LaunchDaemons/org.apache.httpd.plist"

    Hi all,
    I have a MBP 13" (early 2011) running Lion 10.7.2 and some days before, I wanted to host an HTTP server on it.  I googled and found I should turn on "Web Sharing" for this feature.  But unfortunately, it just wouldn't start.  I googled again and found a solution (I think).  I tried deleting the disable key and
    <string>-D</string>
             <string>WEBSHARING_ON</string>
    from "/System/Library/LaunchDaemons/org.apache.httpd.plist". I couldn't save the file because it is protected.  So I tried copying all the content of the file and save it to a new file with the same name, deleted the original file, and put the new one back to the directory.  Nothing worked.  I couldn't edit the new file as well.  So I put the original file back and replaced the new one.  Then I tried to change my rights of that directory as well as the file to "Read and Write".  And I managed to edit the file!  I deleted the mentioned sentences and saved it.  Then I tried turning Web Sharing on for about a hundred times, but never succeeded.  So I turned off my MBP and slept.  OK, the next day when I decided to try again, I found the machine won't boot!  It got stuck to the grey screen with Apple logo and a spinning wheel permanently.  Every time I needed to hold the power button for 4 seconds to turn it off.  I've tried SUM (command-S) and ran fsck, no problems were found.  I also tried the method from http://support.apple.com/kb/TA20809 , but still couldn't get past that grey screen.  Cannot boot into safe Boot also.  I don't if it is a problem related to the alias of that file because I had deleted it and put it back.  Please help.  Many thanks.
    P.S. If can't solve it, should I bring it to Apple Store and ask for Genius?

    Hi,
    Yes, I did resolve it - it was the graphics card. Changed that, updated OS X and it was done.
    I can't now remember exactly which card I used, and I'm away at the moment so I can't get to the infomation, but I do remember that it was a full length card with a large heatsink, and was a bit of a pig to squeeze into the chassis!
    Had to buy an adaptor for the second monitor connection, but that didn't cause any hassle. I got the card and cable from the local Apple Store.
    It also theoretically needed a later version of OS X than was already there, but since it allowed me to boot off the CD, that didn't matter (and it worked with the old one anyway, as it turned out).
    Oh, and also of course, although it's a bog standard PC card, you have to pay way over the odds for it because it has to have different PROMS for a Mac. (Thank you Apple.)  Just part of the price we all have to pay for using Macs.
    I seem to remember that there was a certain amount of dancing involved in upgrading the OS afterwards (might have had to do one step twice), but nothing that unusual.
    Hope this helps,
    All the best,
    Brian

  • Robohelp for Word won't compile

     Hi,I've been trying to get one of my projects to work in Robohelp for Word. But the minute I create a second topic the compiled doen't work. there are no errors. the compilation just never starts. This also happens when I rename the first topic to something else.
    I have the following configurations:
    Robphelp for Word 7 build 145
    MS Office Work 2007
    windows XP professional with service pack 3
    I have deleted and started the project from scratch several times without any success. Any help would be highly appreciated
    Thanks
    Edna

    Hi,
    Thanks for your reply. The problem is there even with tutorial files and dummy projects.
    It seems that there is a problem with saving the document. If I don’t add anything the projects will compile problery. But the minute I change something it won't compile. When I want to close the word document I get a meesage saying if I would like Robohelp to save the document. If I press on "yes" nothing happens. If I press on "yes to all" nothing happens. Pressing on "no" closes the document.
    I have setup my word 2007 in a way so it will save .doc formats instead of .docx. But either way it makes no different the problem is with both file formats.

  • Apache won't recognise changes in httpd.conf

    I was trying to move a web site from Linux to OS X Leopard and came across this strange problem with apache. Basically I have created an Alias"jdk6docs" and <Directory> in /etc/apache/httpd.conf pointing to /Users/user_name/Library/Java/docs where I have unzipped copy of java jdk 6 documentation. Then I tried to restart apache with command apachectl restart to pick up new configuration. Unfortunately it did not work. Whatever I tired I could see the "[client 127.0.0.1] File does not exist: /Library/WebServer/Documents/jdk6docs" error in the apache error log file.
    It was only when I rebooted the whole machine that it suddenly started to work so now when I do http://localhost/jdk6docs I get the documentation.
    The error indicates to me that restating apache with apachectl command simply does not work, it would appear to me that the changes in the config file are not being picked up. Only machine reboot makes a difference.
    I just wonder if I'm missing something here, I can't believe someone hasn't see it before though I did google for it but couldn't find anything.
    Please note that I used apache that comes with Leopard.
    Tom

    Thanks for your suggestion but I tired that as well without any difference. I was logged as root so I did not use the sudo command.
    Tom

  • Delete httpd.conf file for apache!

    I have mistakenly deleted httpd.conf file for apache.. then the localhost was not work anymore!! .. How can I solve this problem? I have XOS 10.9

    Look in the Originals folder inside the apache2 folder. Make a copy of the original httpd.conf file.

  • Installing Tomcat connector for Apache

    I realize this is more of a Linux configuration issue but it does deal with Tomcat so I am hoping someone can help.
    I am having some problems installing the tomcat connector for Apache web server on Linux (Red Hat enterprise).
    I need to have both Apache (by which I mean Apache Web Server) and Tomcat running on this system and it is my understanding that one can use the tomcat connector as an Apache module to connect from Apache to Tomcat for jsp requests.
    Okay so here is what has been done.
    Tomcat is installed and running fine (on port 8080)
    Apache is running fine.
    I followed this guide http://tomcat.apache.org/connectors-doc/howto/quick.html
    And I created all the config files etc but when it comes to finding the mysterious mod_jk.so file I am stuck. I went to the downloads area and end up in the following directory/page http://apache.mirrors.northco.net/tomcat/tomcat-connectors/jk/binaries/linux/jk-1.2.14/
    I don't see a mod_jk.so file in there. (?!?) So... I poked around some more but I feel I am looking at the right directory so I downloaded the worker.so file and put that in my apache modules directory. I renamed it as mod_sk.so (now please bear in mind that I am not too dumb and I realize that renaming a file isn''t doing anything magical but due to lack of any documentation describing why there are two different files I took a guess and thought that maybe the different files are different threading setups or something (considering the other one is named prefork to me this seemed to be a logical conclusion based on the information given))
    And of course it doesn't work. By which I mean the following happens if I run configtest for apache (if I try to start Apache same disaster)
    # /sbin/service httpd configtest
    Syntax error on line 3 of /etc/httpd/conf.d/tomcat_connector.conf:
    Cannot load /etc/httpd/modules/mod_jk.so into
    server: /etc/httpd/modules/mod_jk.so: cannot open
    shared object file: No such file or directoryOkay... Except a file with that name (see above) IS in that directory. And it has the same permissions as the other modules which are loading.
    (After moving to the modules directory)
    # dir
    libphp4.so mod_cache.so mod_imap.so mod_proxy_http.so
    mod_access.so mod_cern_meta.so mod_include.so mod_proxy.so
    mod_actions.so mod_cgi.so mod_info.so mod_python.so
    mod_alias.so mod_dav_fs.so mod_jk.so mod_rewrite.so
    [more stuff that loads here but edited for length]So I think something else has gone wrong here... namely that I have the wrong file or something.
    Anyway I am a bit stuck at this point. Could someone point me in the right direction please because I am just going in circles at this point with the documentation not matching up to what files are available or explaining what those files in fact actually are.

    I solved this issue by compiling the file from source. I got hold of another admin friend who told me that the version I had was for 64 bit. Now how I was supposed to discover this or where in fact a compiled version of this file is on the apache site I know not.
    But it's working now.

  • [RESOLVED] Unable to move dev directory for Apache, keep getting 403

    Hello,
    I'd like to move my default /srv/http directory for my PHP pages to a different location (somewhere in my home directory) for convenience.  This is exclusively for local development.  However, after making the same change in two places, I restarted Apache and keep getting a 403 error.
    Here is my httpd.conf:
    # This is the main Apache HTTP server configuration file. It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
    # In particular, see
    # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
    # for a discussion of each configuration directive.
    # Do NOT simply read the instructions in here without understanding
    # what they do. They're here only as hints or reminders. If you are unsure
    # consult the online docs. You have been warned.
    # Configuration and logfile names: If the filenames you specify for many
    # of the server's control files begin with "/" (or "drive:/" for Win32), the
    # server will use that explicit path. If the filenames do *not* begin
    # with "/", the value of ServerRoot is prepended -- so 'log/access_log'
    # with ServerRoot set to '/www' will be interpreted by the
    # server as '/www/log/access_log', where as '/log/access_log' will be
    # interpreted as '/log/access_log'.
    # ServerRoot: The top of the directory tree under which the server's
    # configuration, error, and log files are kept.
    # Do not add a slash at the end of the directory path. If you point
    # ServerRoot at a non-local disk, be sure to point the LockFile directive
    # at a local disk. If you wish to share the same ServerRoot for multiple
    # httpd daemons, you will need to change at least LockFile and PidFile.
    ServerRoot "/etc/httpd"
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, instead of the default. See also the <VirtualHost>
    # directive.
    # Change this to Listen on specific IP addresses as shown below to
    # prevent Apache from glomming onto all bound IP addresses.
    #Listen 12.34.56.78:80
    Listen 127.0.0.1:80
    # Dynamic Shared Object (DSO) Support
    # To be able to use the functionality of a module which was built as a DSO you
    # have to place corresponding `LoadModule' lines at this location so the
    # directives contained in it are actually available _before_ they are used.
    # Statically compiled modules (those listed by `httpd -l') do not need
    # to be loaded here.
    # Example:
    # LoadModule foo_module modules/mod_foo.so
    LoadModule authn_file_module modules/mod_authn_file.so
    LoadModule authn_dbm_module modules/mod_authn_dbm.so
    LoadModule authn_anon_module modules/mod_authn_anon.so
    LoadModule authn_dbd_module modules/mod_authn_dbd.so
    LoadModule authn_default_module modules/mod_authn_default.so
    LoadModule authz_host_module modules/mod_authz_host.so
    LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
    LoadModule authz_user_module modules/mod_authz_user.so
    LoadModule authz_dbm_module modules/mod_authz_dbm.so
    LoadModule authz_owner_module modules/mod_authz_owner.so
    LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
    LoadModule authz_default_module modules/mod_authz_default.so
    LoadModule auth_basic_module modules/mod_auth_basic.so
    LoadModule auth_digest_module modules/mod_auth_digest.so
    LoadModule file_cache_module modules/mod_file_cache.so
    LoadModule cache_module modules/mod_cache.so
    LoadModule disk_cache_module modules/mod_disk_cache.so
    LoadModule mem_cache_module modules/mod_mem_cache.so
    LoadModule dbd_module modules/mod_dbd.so
    LoadModule dumpio_module modules/mod_dumpio.so
    LoadModule reqtimeout_module modules/mod_reqtimeout.so
    LoadModule ext_filter_module modules/mod_ext_filter.so
    LoadModule include_module modules/mod_include.so
    LoadModule filter_module modules/mod_filter.so
    LoadModule substitute_module modules/mod_substitute.so
    LoadModule deflate_module modules/mod_deflate.so
    LoadModule ldap_module modules/mod_ldap.so
    LoadModule log_config_module modules/mod_log_config.so
    LoadModule log_forensic_module modules/mod_log_forensic.so
    LoadModule logio_module modules/mod_logio.so
    LoadModule env_module modules/mod_env.so
    LoadModule mime_magic_module modules/mod_mime_magic.so
    LoadModule cern_meta_module modules/mod_cern_meta.so
    LoadModule expires_module modules/mod_expires.so
    LoadModule headers_module modules/mod_headers.so
    LoadModule ident_module modules/mod_ident.so
    LoadModule usertrack_module modules/mod_usertrack.so
    LoadModule unique_id_module modules/mod_unique_id.so
    LoadModule setenvif_module modules/mod_setenvif.so
    LoadModule version_module modules/mod_version.so
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_connect_module modules/mod_proxy_connect.so
    LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
    LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
    LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
    LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
    LoadModule ssl_module modules/mod_ssl.so
    LoadModule mime_module modules/mod_mime.so
    LoadModule dav_module modules/mod_dav.so
    LoadModule status_module modules/mod_status.so
    LoadModule autoindex_module modules/mod_autoindex.so
    LoadModule asis_module modules/mod_asis.so
    LoadModule info_module modules/mod_info.so
    LoadModule suexec_module modules/mod_suexec.so
    LoadModule cgi_module modules/mod_cgi.so
    LoadModule cgid_module modules/mod_cgid.so
    LoadModule dav_fs_module modules/mod_dav_fs.so
    LoadModule vhost_alias_module modules/mod_vhost_alias.so
    LoadModule negotiation_module modules/mod_negotiation.so
    LoadModule dir_module modules/mod_dir.so
    # enable PHP.
    LoadModule php5_module modules/libphp5.so
    LoadModule imagemap_module modules/mod_imagemap.so
    LoadModule actions_module modules/mod_actions.so
    LoadModule speling_module modules/mod_speling.so
    LoadModule userdir_module modules/mod_userdir.so
    LoadModule alias_module modules/mod_alias.so
    LoadModule rewrite_module modules/mod_rewrite.so
    <IfModule !mpm_netware_module>
    <IfModule !mpm_winnt_module>
    # If you wish httpd to run as a different user or group, you must run
    # httpd as root initially and it will switch.
    # User/Group: The name (or #number) of the user/group to run httpd as.
    # It is usually good practice to create a dedicated user and group for
    # running httpd, as with most system services.
    User http
    Group http
    </IfModule>
    </IfModule>
    # 'Main' server configuration
    # The directives in this section set up the values used by the 'main'
    # server, which responds to any requests that aren't handled by a
    # <VirtualHost> definition. These values also provide defaults for
    # any <VirtualHost> containers you may define later in the file.
    # All of these directives may appear inside <VirtualHost> containers,
    # in which case these default settings will be overridden for the
    # virtual host being defined.
    # ServerAdmin: Your address, where problems with the server should be
    # e-mailed. This address appears on some server-generated pages, such
    # as error documents. e.g. [email protected]
    ServerAdmin [email protected]
    # ServerName gives the name and port that the server uses to identify itself.
    # This can often be determined automatically, but we recommend you specify
    # it explicitly to prevent problems during startup.
    # If your host doesn't have a registered DNS name, enter its IP address here.
    #ServerName www.example.com:80
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "/home/local_user/Documents/development/php"
    # Each directory to which Apache has access can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories).
    # First, we configure the "default" to be a very restrictive set of
    # features.
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    </Directory>
    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "/home/local_user/Documents/development/php">
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    # The Options directive is both complicated and important. Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    Options Indexes FollowSymLinks
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    AllowOverride None
    # Controls who can get stuff from this server.
    Order allow,deny
    Allow from all
    </Directory>
    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    <IfModule dir_module>
    DirectoryIndex index.html
    </IfModule>
    # The following lines prevent .htaccess and .htpasswd files from being
    # viewed by Web clients.
    <FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
    </FilesMatch>
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    # container, error messages relating to that virtual host will be
    # logged here. If you *do* define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.
    ErrorLog "/var/log/httpd/error_log"
    # LogLevel: Control the number of messages logged to the error_log.
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    LogLevel warn
    <IfModule log_config_module>
    # The following directives define some format nicknames for use with
    # a CustomLog directive (see below).
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common
    <IfModule logio_module>
    # You need to enable mod_logio.c to use %I and %O
    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>
    # The location and format of the access logfile (Common Logfile Format).
    # If you do not define any access logfiles within a <VirtualHost>
    # container, they will be logged here. Contrariwise, if you *do*
    # define per-<VirtualHost> access logfiles, transactions will be
    # logged therein and *not* in this file.
    CustomLog "/var/log/httpd/access_log" common
    # If you prefer a logfile with access, agent, and referer information
    # (Combined Logfile Format) you can use the following directive.
    #CustomLog "/var/log/httpd/access_log" combined
    </IfModule>
    <IfModule alias_module>
    # Redirect: Allows you to tell clients about documents that used to
    # exist in your server's namespace, but do not anymore. The client
    # will make a new request for the document at its new location.
    # Example:
    # Redirect permanent /foo http://www.example.com/bar
    # Alias: Maps web paths into filesystem paths and is used to
    # access content that does not live under the DocumentRoot.
    # Example:
    # Alias /webpath /full/filesystem/path
    # If you include a trailing / on /webpath then the server will
    # require it to be present in the URL. You will also likely
    # need to provide a <Directory> section to allow access to
    # the filesystem path.
    # ScriptAlias: This controls which directories contain server scripts.
    # ScriptAliases are essentially the same as Aliases, except that
    # documents in the target directory are treated as applications and
    # run by the server when requested rather than as documents sent to the
    # client. The same rules about trailing "/" apply to ScriptAlias
    # directives as to Alias.
    ScriptAlias /cgi-bin/ "/srv/http/cgi-bin/"
    </IfModule>
    <IfModule cgid_module>
    # ScriptSock: On threaded servers, designate the path to the UNIX
    # socket used to communicate with the CGI daemon of mod_cgid.
    #Scriptsock /run/httpd/cgisock
    </IfModule>
    # "/srv/http/cgi-bin" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    <Directory "/srv/http/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
    </Directory>
    # DefaultType: the default MIME type the server will use for a document
    # if it cannot otherwise determine one, such as from filename extensions.
    # If your server contains mostly text or HTML documents, "text/plain" is
    # a good value. If most of your content is binary, such as applications
    # or images, you may want to use "application/octet-stream" instead to
    # keep browsers from trying to display binary files as though they are
    # text.
    DefaultType text/plain
    <IfModule mime_module>
    # TypesConfig points to the file containing the list of mappings from
    # filename extension to MIME-type.
    TypesConfig conf/mime.types
    # AddType allows you to add to or override the MIME configuration
    # file specified in TypesConfig for specific file types.
    #AddType application/x-gzip .tgz
    # AddEncoding allows you to have certain browsers uncompress
    # information on the fly. Note: Not all browsers support this.
    #AddEncoding x-compress .Z
    #AddEncoding x-gzip .gz .tgz
    # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    # AddHandler allows you to map certain file extensions to "handlers":
    # actions unrelated to filetype. These can be either built into the server
    # or added with the Action directive (see below)
    # To use CGI scripts outside of ScriptAliased directories:
    # (You will also need to add "ExecCGI" to the "Options" directive.)
    #AddHandler cgi-script .cgi
    # For type maps (negotiated resources):
    #AddHandler type-map var
    # Filters allow you to process content before it is sent to the client.
    # To parse .shtml files for server-side includes (SSI):
    # (You will also need to add "Includes" to the "Options" directive.)
    #AddType text/html .shtml
    #AddOutputFilter INCLUDES .shtml
    MIMEMagicFile conf/magic
    </IfModule>
    # The mod_mime_magic module allows the server to use various hints from the
    # contents of the file itself to determine its type. The MIMEMagicFile
    # directive tells the module where the hint definitions are located.
    #MIMEMagicFile conf/magic
    # Customizable error responses come in three flavors:
    # 1) plain text 2) local redirects 3) external redirects
    # Some examples:
    #ErrorDocument 500 "The server made a boo boo."
    #ErrorDocument 404 /missing.html
    #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
    #ErrorDocument 402 http://www.example.com/subscription_info.html
    # MaxRanges: Maximum number of Ranges in a request before
    # returning the entire resource, or one of the special
    # values 'default', 'none' or 'unlimited'.
    # Default setting is to accept 200 Ranges.
    #MaxRanges unlimited
    # EnableMMAP and EnableSendfile: On systems that support it,
    # memory-mapping or the sendfile syscall is used to deliver
    # files. This usually improves server performance, but must
    # be turned off when serving from networked-mounted
    # filesystems or if support for these functions is otherwise
    # broken on your system.
    #EnableMMAP off
    #EnableSendfile off
    # Supplemental configuration
    # The configuration files in the conf/extra/ directory can be
    # included to add extra features or to modify the default configuration of
    # the server, or you may simply copy their contents here and change as
    # necessary.
    # Server-pool management (MPM specific)
    #Include conf/extra/httpd-mpm.conf
    # Multi-language error messages
    Include conf/extra/httpd-multilang-errordoc.conf
    # Fancy directory listings
    Include conf/extra/httpd-autoindex.conf
    # Language settings
    Include conf/extra/httpd-languages.conf
    # User home directories
    Include conf/extra/httpd-userdir.conf
    # Real-time info on requests and configuration
    #Include conf/extra/httpd-info.conf
    # Virtual hosts
    #Include conf/extra/httpd-vhosts.conf
    # Local access to the Apache HTTP Server Manual
    #Include conf/extra/httpd-manual.conf
    # Distributed authoring and versioning (WebDAV)
    #Include conf/extra/httpd-dav.conf
    # Various default settings
    Include conf/extra/httpd-default.conf
    # enable the PHP5 module.
    Include conf/extra/php5_module.conf
    # Secure (SSL/TLS) connections
    #Include conf/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>
    Last edited by publicus (2014-02-02 18:06:07)

    WorMzy wrote:
    Switch to the http user and see if you can manually browse to the directory.
    # su -s /bin/bash - http
    Find out where the user can't get to, and fix the permissions.
    You're right.  I can't get there.
    I tried to make Apache start up as me (my user), but got an error that said that it cannot start it up like that.  I think I have a possible solution for the given problem.  I'll my user to the http group and then work from /srv/http.
    I'd love to get some feedback if someone has a different approach .  I love to learn from the experience of others .

  • 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 + 2 Tomcats with BlazeDS

    The web architecture that we have is quite simple, it is a single Apache HTTPd server that is communicating with 2 Tomcat servers using mod_jk. The configuration is made so one Tomcat is in a waiting state in case the other Tomcat server crashes (or bounce).
    How can I configure BlazeDS to support this configuration? Is sharing the HTTPSession between the two Tomcats enough for BlazeDS?
    I would like the simplest solution possible, I know about BlazeDS clustering possibilities with JGroups but it seems not adapted to multi-environments (DEV/QA/PROD) sites because we have to configure stuff inside the web app.
    In short, do BlazeDS only need HTTPSession sharing between Tomcats or is there some other requirements?

    As far as my understanding goes there should be no reason to use JGroups unless you are using messaging.
    If you are storing session data on the server you will need to using Tomcat clustering other wise you shouldn't even need that.
    We are using a similar setup with HTTPd and multiple JBoss servers for high availability/scalability. We are not using messaging so we didn't configure JGroups. We don't have JBoss clustering enabled because we don't have any data to replicate between the JBoss nodes.
    I have run several load tests using JMeter and everything runs happily when JBoss nodes are added or removed under load.
    Something to note if you are using recent builds of BlazeDS and you want to run 2 or more Tomcat servers concurrently you will need to enable Sticky Sessions with mod_jk and Tomcat other wise recent builds of BlazeDS may start throwing exceptions. This change was introduced to prevent subsequent client requests from needlessly creating new sessions. As it turns out this is a bit of an issue when doing loadbalancing unless Sticky Sessions are used.
    Hope some of that information helps,
    Lance

  • Problems with libclntsh.so.10.1 and PHP/Apache HTTPD

    Hello,
    I've been wrestling with the install of Instant Client/OCI8 with PHP 5.0.4 and Apache HTTPD 2.0.52 on RHEL4 ES. Most recently I've followed the instructions detailed here: http://www.oracle.com/technology/pub/notes/technote_php_instant.html
    Apache is installed from the RHN rpm.
    PHP was successfully compiled with the following parameters:
    ./configure with-mysql with-ssl with-ldap with-apxs2 with-dom with-oci8-instant-client=/usr/local/oracle/instantclient_10_2 --enable-sigchild
    I've also attempted to get OCI8 working using the full Administration Client from CD. In either case, I can compile/install PHP just fine. I've indexed the Instant Client directory with ldconfig, and the user that runs HTTPD has read/execute permissions on libclntsh.so.10.1 and on all the directories above it. Nonetheless, when I start Apache, I invariably run into the following error:
    # /etc/init.d/httpd start
    Starting httpd: Syntax error on line 190 of /etc/httpd/conf/httpd.conf:
    Cannot load /usr/lib/httpd/modules/libphp5.so into server: libclntsh.so.10.1: failed to map segment from shared object: Permission denied [FAILED]
    Thanks in advance for any insight,
    Patrick
    Message was edited by:
    dog.breath

    I have a similar problem:
    Syntax error on line 202 of /etc/httpd/conf/httpd.conf:
    Cannot load /usr/lib/httpd/modules/libphp5.so into server: libclntsh.so.10.1: cannot open shared object file: No such file or directory
    Using the following succesfull configuraion
    PHP Version => 5.0.4
    System => Linux 2.6.9-1.667smp #1 SMP Tue Nov 2 14:59:52 EST 2004 i686
    Build Date => Aug 26 2005 11:23:17
    Configure Command => './configure' '--enable-force-cgi-redirect' '--enable-ftp' '--with-dbase' '--with-regex=system' '--with-gd' '--with-bz2' '--with-config-file-path=/etc/httpd/conf/httpd.conf' '--with-zlib' '--with-oci8=/home/oracle/product/10.1.0/Db_1' '--enable-sigchild' '--with-dom-xslt=/usr/lib/libxslt.so.1.1.11' '--with-png' '--with-apxs2'
    Server API => Command Line Interface
    Virtual Directory Support => disabled
    Configuration File (php.ini) Path => /etc/httpd/conf/httpd.conf
    Everything is visible to all users the LD Library path is set even in the httpd.conf file.
    Clear PHP works from within the command line, now I want to get it working via Apache2.
    If anybody has a clue I would be most obliged.
    Also disabling SELinux did not do the trick.

Maybe you are looking for

  • Creating a connection between the GUI and a program's back end

    I have created a program (over 50 classes) and am currently a little confused as to how I should connect the back end of my program (the real functionality) to my front end (the GUI). Currently I am thinking about using a list of event listeners in m

  • Removed variable still shows up in the variable screen of a Web report

    Hello, I am using a variable screen in a web report. I changed the variable on 0CALMONTH, but I still can see the old one. Two variables now show up. In Bex, only the new one can be seen. Does anyone knows the reason for that? I'm using BW 7.0 with t

  • CS5 - Color difference between Photoshop and other programs

    I'm running CS5.5 student edition on a brand new Asus Q500A laptop running Windows 8. i7 processor and a UMA graphics card. I do not have calibration software; I'm using Calibrize for the moment and colors appear fairly true when browsing after calib

  • Giving a user read access to an account for all entities

    Dear All, We have a series of R&D accounts that a user with limited entity security needs to review for all entities. We have security switched on for Accounts and Entities only. All entites have security classes defined, only the R&D accounts have a

  • CRM Telesales Certifications.

    Hi all,       I have registered for telesales certification on august 25. Please send me some sample questions and material  at [email protected] Thanx