Apache Installation

Is there a way to just add a module to the already existing configured apache. After configuring, compiling and installing apache and running it for sometime. I have realized that certain other modules need to be enabled. Now, if I have to enable the reqd. new modules it looks to me that I have to do it from scratch losing the existing settings. Rather, copy the old settings to httpd.conf_old and re-run.
Pl. help
Thank you.

Compile Apache with the new module, but don't install it. (don't `make install`)
Then you should stop Apache, replace the old 'httpd' binary with the one you just compiled (should be under the 'src' subdirectory of the source code), and start Apache again.
I do this all the time, and works fine.

Similar Messages

  • Final cut server-Test Page for Apache installation comes up when IP put in

    I have installed Final Cut Server on our Mac Pro Running OSX Leopard. Installation succeeded, but when I type in the IP address of the server in safari, the "Test Page for Apache Installation" comes up. This happens on every computer on the network. I need the client installation window to come in order to install the client. What am I missing, what settings need to be changed?
    Would greatly appreciate some help.
    Thanks

    So when you type in the URL your using this format http://hostname/FinalCutServer, where hostname is the IP address or name of the computer on which you installed Final Cut Server? Especially the "FinalCutServer" part.
    o| TonyTony |o

  • .htaccess files with MAMP + ORIGINAL Apache installation

    I installed MAMP on my MacBook Pro, and it set up phpMyAdmin quite nicely, but everything else has been a disaster. Though I can't connect to my databases with Dreamweaver, so I have to link to my online database. Similarly, working with MAMP's Apache installation kills my virtual hosts - and troubleshooting that is WAY over my head.
    So I'd like to emulate other MAMP users who have decided to stick with the original Apache installation. My big goal is to simply get my .htaccess files with mod-rewrite rules to work.
    According to this article...
    http://rexselin.wordpress.com/2006/07/28/making-mod-rewrite-and-htaccess-work-on -mac-os-x/
    ....htaccess files don't work on Mac's unless you do the following:
    1) Open the httpd.conf file and uncomment these three lines:
    #LoadModule rewrite_module modules/mod_rewrite.so
    #AddModule mod_rewrite.c
    #AccessFilename .htaccess
    The 2nd and 3rd lines were already uncommented. The closest I found to the first line was the following, which was also uncommented:
    LoadModule rewrite_module libexec/httpd/mod_rewrite.so
    I left it alone.
    2) Change "AllowOverride None" to "AllowOverride All" in both the httpd.conf and /private/etc/httpd/users/MyName.conf files.
    I did this in my httpd.conf file, but if I do it in MyName.conf, it kills my virtual hosts.
    3) Restart Apache.
    Can anyone tell me what to do next? I copied some code from my Apache error logs below, in case it includes any tips. However, most of the more recent errors were probably logged when I was using MAMP's Apache program, so it might be worthless.
    Thanks!
    [Sat Mar 24 20:32:22 2007] [notice] Digest: generating secret for digest authentication ...
    [Sat Mar 24 20:32:22 2007] [notice] Digest: done
    [Sat Mar 24 20:32:22 2007] [notice] Apache/2.0.59 (Unix) PHP/5.1.6 DAV/2 configured -- resuming normal operations
    [Sat Mar 24 20:37:40 2007] [error] [client 127.0.0.1] File does not exist: /Applications/MAMP/bin/phpMyAdmin/css/themes, referer: http://localhost:8888/phpMyAdmin/css/phpmyadmin.css.php?lang=en-utf-8&server=1&c ollationconnection=utf8_general_ci&jsframe=right
    [Sat Mar 24 20:37:42 2007] [error] [client 127.0.0.1] File does not exist: /Applications/MAMP/bin/phpMyAdmin/css/themes, referer: http://localhost:8888/phpMyAdmin/css/phpmyadmin.css.php?lang=en-utf-8&server=1&c ollationconnection=utf8_general_ci&jsframe=right
    [Sat Mar 24 20:37:47 2007] [error] [client 127.0.0.1] File does not exist: /Applications/MAMP/bin/phpMyAdmin/css/themes, referer: http://localhost:8888/phpMyAdmin/css/phpmyadmin.css.php?lang=en-utf-8&server=1&c ollationconnection=utf8_general_ci&jsframe=right
    [Sat Mar 24 20:37:49 2007] [error] [client 127.0.0.1] File does not exist: /Applications/MAMP/bin/phpMyAdmin/css/themes, referer: http://localhost:8888/phpMyAdmin/css/phpmyadmin.css.php?lang=en-utf-8&server=1&c ollationconnection=utf8_general_ci&jsframe=right
    [Sat Mar 24 20:37:54 2007] [error] [client 127.0.0.1] File does not exist: /Applications/MAMP/bin/phpMyAdmin/css/themes, referer: http://localhost:8888/phpMyAdmin/css/phpmyadmin.css.php?lang=en-utf-8&server=1&c ollationconnection=utf8_general_ci&jsframe=right
    [Sat Mar 24 21:02:31 2007] [error] [client 127.0.0.1] File does not exist: /Applications/MAMP/bin/phpMyAdmin/css/themes, referer: http://localhost:8888/phpMyAdmin/css/phpmyadmin.css.php?lang=en-utf-8&server=1&c ollationconnection=utf8_general_ci&jsframe=right
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    [Sun Mar 25 00:41:08 2007] [notice] caught SIGTERM, shutting down
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    [Sun Mar 25 00:44:16 2007] [notice] Digest: generating secret for digest authentication ...
    [Sun Mar 25 00:44:16 2007] [notice] Digest: done
    [Sun Mar 25 00:44:16 2007] [notice] Apache/2.0.59 (Unix) PHP/5.1.6 DAV/2 configured -- resuming normal operations
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    [Sun Mar 25 00:47:46 2007] [notice] caught SIGTERM, shutting down
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    [Sun Mar 25 00:47:53 2007] [notice] Digest: generating secret for digest authentication ...
    [Sun Mar 25 00:47:53 2007] [notice] Digest: done
    [Sun Mar 25 00:47:53 2007] [notice] Apache/2.0.59 (Unix) PHP/5.1.6 DAV/2 configured -- resuming normal operations
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    [Sun Mar 25 00:51:32 2007] [notice] caught SIGTERM, shutting down
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    [Sun Mar 25 00:51:37 2007] [notice] Digest: generating secret for digest authentication ...
    [Sun Mar 25 00:51:37 2007] [notice] Digest: done
    [Sun Mar 25 00:51:37 2007] [notice] Apache/2.0.59 (Unix) PHP/5.1.6 DAV/2 configured -- resuming normal operations
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    [I deleted a bunch of stuff here...]
    /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    [Sun Mar 25 12:44:40 2007] [notice] caught SIGTERM, shutting down
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    [Sun Mar 25 12:44:46 2007] [notice] Digest: generating secret for digest authentication ...
    [Sun Mar 25 12:44:46 2007] [notice] Digest: done
    [Sun Mar 25 12:44:46 2007] [notice] Apache/2.0.59 (Unix) PHP/5.1.6 DAV/2 configured -- resuming normal operations
    [Sun Mar 25 13:26:37 2007] [error] [client 127.0.0.1] File does not exist: /Applications/MAMP/bin/phpMyAdmin/css/themes, referer: http://localhost:8888/phpMyAdmin/css/phpmyadmin.css.php?lang=en-utf-8&server=1&c ollationconnection=utf8_general_ci&jsframe=right
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    [Sun Mar 25 14:26:12 2007] [notice] caught SIGTERM, shutting down
    Failed loading /Applications/MAMP/bin/php5/zend/lib/ZendExtensionManager.so: (null)
    [Sun Mar 25 14:26:18 2007] [notice] Digest: generating secret for digest authentication ...
    [Sun Mar 25 14:26:18 2007] [notice] Digest: done
    [Sun Mar 25 14:26:18 2007] [notice] Apache/2.0.59 (Unix) PHP/5.1.6 DAV/2 configured -- resuming normal operations

    Please ignore this thread. I finally stumbled over the problem - a line of sloppy code in my httpd.conf was apparently creating some interference. Thanks!

  • Reinstall/repair Apache Installation from base system

    Hi,
    I use Snow Leopard and I was not aware of the fact that php and apache2 comes with the base installation. I delete now some .so files like /usr/libexec/apache/modauthnfile.so, so I'm not able to start apache anymore.
    How can I reinstall apache so that the deleted files will be restored?
    Thanks for help,
    Matthias

    Hello,
    Option 3 (advanced): Use the command line and the fsck_hfs -l command.
    Start up your computer and log in as an administrator.
    Open Terminal (/Applications/Utilities).
    At the prompt, type the following command and then press Return to determine your filesytem ID:
    df -hl
    Look for some lines of text that look like this:
    Filesystem     Size   Used  Avail Capacity  Mounted on
    /dev/disk0s3    37G    20G    17G    55%    /
    /dev/disk0s5    37G    37G   641M    98%    /Volumes/Storage
    Make a note of the first "disk" name that appears after /dev/, such as "disk0s3." This is your filesystem ID for your startup volume.
    At the prompt, type the following command and then press Return:
    df -hl
    Then type the following command, where "disk0s3" is your filesystem ID you noted in step 4, then press Return:
    sudo fsck_hfs -l /dev/disk0s3
    When prompted, enter your admin password, then press Return to begin the verification.
    You should see messages like these during the disk check:
    ** /dev/rdisk0s3 (NO WRITE)
    ** Root file system
    ** Checking HFS Plus volume.
    ** Checking Extents Overflow file.
    ** Checking Catalog file.
    ** Checking multi-linked files.
    ** Checking Catalog hierarchy.
    ** Checking Extended Attributes file.
    ** Checking volume bitmap.
    ** Checking volume information.
    ** The volume Macintosh HD appears to be OK.
    http://support.apple.com/kb/ts1417

  • Help please with apache installation problem!!!

    1)I installed Oracle9i Enterprise Edition.
    2)I installed Oracle9iAS standart Edition in separate Home.
    3)Apache HTTP and SSL server servicecould not start.
    I've got 3 errors:
    1.The Apache service named C:\ORACLE\iSuites\Apache\Apache\Apache.exe reported the following error:
    [Wed Aug 22 16:18:53 2001] [error] (2)The system cannot find the file specified: RegQueryValueEx(key System\CurrentControlSet\Services\OracleiSuitesHTTPServer\Parameters) <<<before the error.log file could be opened.
    More information may be available in the error.log file. .
    2.The Apache service named C:\ORACLE\iSuites\Apache\Apache\Apache.exe reported the following error:
    Syntax error on line 14 of c:/oracle/isuites/apache/apache/conf/mod__ose.conf: <<<before the error.log file could be opened.
    More information may be available in the error.log file. .
    3.The Apache service named C:\ORACLE\iSuites\Apache\Apache\Apache.exe reported the following error:
    AuroraService - directive already in effect for this Server <<<before the error.log file could be opened.
    More information may be available in the error.log file. .
    What do I wrong or what do I need to do?
    Thank you in advance
    Alex

    It looks like you have done an installation into a directory that previously contained 9iAS too.
    Look for a file named oracle_apache.conf. It is likely that a line with mod__ose.conf is mentioned twice - remove one line. Save the file. This will solve part of the problem.
    What leaves, your error "1" might indicate that the service was not created because during your prev install it was not removed correctly.
    The installation might contain more errors. Consider uninstalling the software, remove the ORACLE_HOME and services and do a reinstall...

  • Tomcat-Apache Installation

    anyone around here who knows how to set-up tomcat as a plug-in to apache, please???
    i could not set it up! i followed the installation manual but still i couldn't make it work.
    please share your knowledge. thank you!

    Hi,
    More notes.
    TOMCAT_HOME = c:\jakarta-tomcat-3.3-b1
    JAVA_HOME=c:\jsdk1.4.0
    Apache_1.3.20
    Install tomcat from winzip
    Install Apache from win installation
    Install mod_jk from mod_jk.zip into Apache/modules directory
    as c:\Program Files/Apache Group/Apache/modules/mod_jk.dll
    set TOMCAT_HOME and JAVA_HOME if not already set
    set PATH=%JAVA_HOME%\bin;%PATH%
    In Win98 do this to the config.sys file to deal with environment space problems.
    SHELL=C:\COMMAND.COM /E:4096 /P
    In the Apache/conf/httpd.conf file add this line at the end of the file
    include c:/jakarta-tomcat-3.3-b1/conf/auto/mod_jk.conf
    In the tomcat\conf\server.xml file ensure the last three lines of the files are
    <ApacheConfig modjk="C:/Program Files/Apache Group/Apache/modules/mod_jk.dll" />
    </ContextManager>
    </Server>
    In tomcat\conf\workers.properties either edit these lines or remove the # comment
    workers.tomcat_home=c:\jakarta-tomcat-3.3-b1
    workers.java_home=c:\j2sdk1.4.0
    ps=\
    Stop Apache and Tomcat
    Restart tomcat then Apache
    In Win98 do this to the config.sys file to deal with environment space problems.
    SHELL=C:\COMMAND.COM /E:4096 /P
    best,
    kev

  • Default Apache installation

    In Snow Leopard, where is the default installation of Apache? Long ago I downloaded a binary version of Apache 2 and now I have two versions of Apache on my drive, and they each have needed files in different places.
    I THINK the default install is in private/etc, but am not sure if this is supposed to be the Server Root in the httpd.conf file.
    I'm trying to get Apache to broadcast to the Internet (NOT just to localhost) as I had it, but these two versions have me confused.

    mistersquid wrote:
    I figured someone who knows enough to set up an Internet-facing machine will know enough about running a server to avoid some of the problems you enumerate.
    I'm not so sure.
    Security is a valid concern but it's not like an Internet-accessible server that is not a daily use machine requires less thought than one that is a daily use machine.
    It requires more thought and thought by someone who does that sort of thing for a living. A real web server needs to be run from a hosting company by people who know what they are doing and have a few thousand sites just like yours. I know those kinds of webserver details are not what I want to deal with.
    Plus, if you run your own server, there is temptation to hack it just to run just the way you want. You usually won't have that kind of full control in a shared environment.
    The build-in Apache with default settings that Apple gives you is more than enough for most web sites. Anytime someones admits to hacking up Apache I have to ask why, because they probably don't need to do that.
    On another note, I hope you get a chance to squeeze a nap in today.
    No such luck today. Maybe tomorrow. Boy do I need one!

  • Apache Installation - Reinstall/Restore

    i was moving a couple of things around on my machine and made the enormous mistake of deleting my version of Apache on my system. i'm running 10.4.11 and all i want to do is figure out how to restore/reinstall Apache so that i can run my my local web server.
    any ideas as to how i can approach this.
    thank you for any help.

    I've tried a handful of reinstalls of various versions and I can't get anything to work properly.
    I'm not sure if it's because they aren't the right versions or something else to do with the install. Each time I've tried, I still can't start the Personal Web Server through the Sharing preferences.
    I've also followed several installation tutorials, but nothing seems to work either. Any ideas or instructions to possibly get things back on track?
    thanks.

  • Apache installation query

    Hi i want to install apache server locally on win 2000 and connect this too a digital unix box that has oracle 8.1.6 version.I want to use the sdoapi package so i can query oracle spatial objects.Is this possible ? I know that oracle 9i has the apache server installed internally but i currently using an earlier version.

    The connection you have to use for the sdoapi is a JDBC connection. It depends only on a Java virtual machine and an oracle JDBC driver and is not dependent on Windows or on Apache. Jou may use sdoapi in a client server application as well.
    If you want to display geografical information in a browser with sdoapi you may consider reading somethig on Java Servlets and Server Pages and on a server: Jserv to be used with Apache, Tomcat (also from apache.org) or OC4J (Part of Oracle's Application server).
    You shold look also on Oracle's mapviewer. It's a nice tool...
    Uwe

  • Apache Installation configure: error: could not determine the size of off_t

    Hi,
    I was installing Apache httpd-2.2.g.tar.gz, i got the below error message while configure.
    checking size of short... 2
    checking for long long... yes
    checking size of long long... 8
    checking for INT64_C... yes
    checking size of ssize_t... 0
    checking size of size_t... 0
    checking size of off_t... 0
    checking which type to use for apr_off_t... configure: error: could not determine the size of off_t
    configure failed for srclib/apr
    gnumake: *** [/net/usr.scratch/i030947/deepak/platforms/sun/cs2/httpd-2.2.8/inst/include/ap_config_auto.h] Error 1
    Regards
    Deepak

    "aparequest.h", line 4: Error: Could not open include file "ap_config_auto.h".
    "httpd-2.2.8/include/ap_config.h", line 25: Error: Could not open include file "apr.h".
    "httpd-2.2.8/srclib/apr-util/include/apr_hooks.h", line 20: Error: Could not open include file "apu.h".
    "httpd-2.2.8/srclib/apr/include/apr_tables.h", line 25: Error: Could not open include file "apr.h".
    "httpd-2.2.8/srclib/apr/include/apr_pools.h", line 37: Error: Could not open include file "apr.h".
    "httpd-2.2.8/srclib/apr/include/apr_errno.h", line 25: Error: Could not open include file "apr.h".
    "httpd-2.2.8/srclib/apr/include/apr_errno.h", line 52: Error: "{" expected instead of "apr_strerror".
    "httpd-2.2.8/srclib/apr/include/apr_errno.h", line 52: Error: Unexpected type name "apr_status_t" encountered.
    "httpd-2.2.8/srclib/apr/include/apr_errno.h", line 52: Error: statcode is not defined.
    "httpd-2.2.8/srclib/apr/include/apr_errno.h", line 52: Error: Badly formed expression.
    "httpd-2.2.8/srclib/apr/include/apr_general.h", line 28: Error: Could not open include file "apr.h".
    "httpd-2.2.8/srclib/apr/include/apr_general.h", line 160: Error: Only one of a set of overloaded functions can be extern "C".
    "httpd-2.2.8/srclib/apr/include/apr_general.h", line 160: Error: std::memchr(const void, int, unsigned long), returning void, was previously declared returning const void*.
    "httpd-2.2.8/srclib/apr/include/apr_general.h", line 176: Error: Only one of a set of overloaded functions can be extern "C".
    "httpd-2.2.8/srclib/apr/include/apr_general.h", line 176: Error: "{" expected instead of "apr_initialize".
    "httpd-2.2.8/srclib/apr/include/apr_general.h", line 176: Error: Badly formed expression.
    "httpd-2.2.8/srclib/apr/include/apr_general.h", line 190: Error: Unexpected type name "apr_status_t" encountered.
    "httpd-2.2.8/srclib/apr/include/apr_general.h", line 190: Error: Badly formed expression.
    "httpd-2.2.8/srclib/apr/include/apr_general.h", line 192: Error: A declaration was expected instead of "char".
    "httpd-2.2.8/srclib/apr/include/apr_general.h", line 192: Error: Use ";" to terminate declarations.
    "httpd-2.2.8/srclib/apr/include/apr_general.h", line 192: Error: "," expected instead of ")".
    "httpd-2.2.8/srclib/apr/include/apr_general.h", line 203: Error: Badly formed expression.
    "httpd-2.2.8/srclib/apr/include/apr_general.h", line 214: Error: Badly formed expression.
    "httpd-2.2.8/srclib/apr/include/apr_want.h", line 17: Error: Could not open include file "apr.h".
    "httpd-2.2.8/srclib/apr/include/apr_pools.h", line 158: Error: Only one of a set of overloaded functions can be extern "C".
    Compilation aborted, too many Error messages.
    gnumake: *** [apacsrvstate.22o] Error 1
    Is it because the apache source file is missing ?
    Regards
    Deepak

  • TOMCAT APACHE installation : error while checking its syntax....

    hi all...
    please help...
    i had successfully installed apache in my XP pc.and i nearly finished with tomcat..but after i editted the httpd.conf and run the syntax checking i got this.i already check the adjustments i made to all the files..it was exactly like the manual i got from http://www.johnturner.com/howto/winxp-howto.html
    the error
    C:\apache\Apache2\bin>apache.exe -t
    Syntax error on line 968 of C:/apache/Apache2/conf/httpd.conf:
    Include takes one argument, Name of the config file to be included
    please 1000x help...
    thanks

    Pleaseeeeeeeeeeeeeeeeeeeeeeeeee helppp............

  • Autostarting new Apache installation

    I just compiled/installed Apache 2.2.4 on my Macbook Pro (Mac OSX 10.4.10). My question now is, how do I get to start automatically at boot?
    Secondarily, is there a way to get rid of the version of Apache (1.3, I believe) that comes bundled with OSX?
    Thanks!

    Yeah, that's what I ended up doing.
    For the benefit of everybody else with this question, the solution is to place the startup script and plist files (pasted below) in /Library/StartUpItems/Apache2:
    #!/bin/sh
    #/Library/StartupItems/Apache2/Apache2
    #A script to automatically start up Apache2 on system bootup
    #for Mac OS X. I hacked this together out of necessity...
    #Written by Steven Szymczak <[email protected]>
    #Show usage if no known option was given:
    if [ -z $1 ] ; then
    echo "Usage: $0 \[start|stop|restart\] "
    exit 1
    fi
    #Source the common setup functions for startup scripts
    test -r /etc/rc.common || exit 1
    . /etc/rc.common
    #The path to the apachectl control program.
    #This may be different on your system, so edit as necessary
    SCRIPT="/usr/local/apache2/bin/apachectl"
    StartService ()
    ConsoleMessage "Starting Apache2"
    $SCRIPT start > /dev/null 2>&1
    StopService ()
    ConsoleMessage "Stopping Apache2"
    $SCRIPT stop > /dev/null 2>&1
    RestartService ()
    ConsoleMessage "Restarting Apache2"
    $SCRIPT restart > /dev/null 2>&1
    if test -x $SCRIPT ; then
    RunService "$1"
    else
    ConsoleMessage "Could not find Apache2 control program!"
    fi
    StartUpParameters.plist
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/> PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Description</key>
    <string>Apache 2.2.4</string>
    <key>OrderPreference</key>
    <string>None</string>
    <key>Provides</key>
    <array>
    <string>Apache2</string>
    </array>
    <key>Uses</key>
    <array>
    <string>Network</string>
    <string>Resolver</string>
    </array>
    </dict>
    </plist>

  • Apache installation for reverse proxy in linux for portal

    dear all,
    can u please guide me where to download the openssl apache foe linux for the reverse proxy
    regards
    revanth

    Google is your friend...
    It will take 15 seconds !
    Regards,
    Olivier

  • Problems installing CF 10 with Apache 2.2.24 (or 2.4) on RHEL 6.4

    Built Apache using openssl 1.0.1e (updated LD_LIBRARY_PATH to reflect the correct openssl libs) and pcre. Configure for build was:
    configure --enable-ssl=shared --with-ssl=/usr/local/ssl  --enable-so --with-included-apr --with-pcre  --with-perl
    Also downloaded and built the connector from http://helpx.adobe.com/coldfusion/kb/rhel-connector-configuration.html after the vanilla CF install didn't work. I get the following when I try to start up CF:
    [root@web01 logs]# /etc/rc.d/init.d/coldfusion_10 start
    Starting ColdFusion 10 server instance named cfusion ...
    The ColdFusion 10 server instance named cfusion is starting up and will be available shortly.
    nohup: appending output to `nohup.out'
    ======================================================================
    Running the ColdFusion 10 connector wizard
    ======================================================================
    Configuring the web server connector (Launched on the first run of the ColdFusion 10 start script)
    Running /usr/local/apache2/conf connector wizard...
    =======================================
    There was an error while running the connector wizard
    Connector installation was not successful
    =======================================
    ======================================================================
    ColdFusion 10 server instance named cfusion has been started.
    ColdFusion 10 will write logs to /opt/coldfusion10/cfusion/logs/coldfusion-out.log
    ======================================================================
    The wsconfig.log contains the following:
    [root@web01 wsconfig]# cat wsconfig.log
    # Created by ColdFusion on 05/28 15:15:23
    05/28 15:15:23 info Tomcat Connector
    05/28 15:15:23 debug command line: -ws Apache -bin /usr/local/apache2/bin/httpd -script /usr/local/apache2/bin/apachectl -dir /usr/local/apache2/conf -v
    05/28 15:15:23 info Red Hat Enterprise Linux Server release 6.4 (Santiago)
    05/28 15:15:23 debug Using Apache binary /usr/local/apache2/bin/httpd
    05/28 15:15:23 info Server's Module Magic Number: 20051115:31.  Supported major magic numbers on this platform are 20020628 and 20020903.
    05/28 15:15:23 info Attempting to build connector from sources
    05/28 15:15:23 info Server version: Apache/2.2.24 (Unix)
    05/28 15:15:23 debug Using Apache control script /usr/local/apache2/bin/apachectl
    05/28 15:15:23 debug Parsing Apache configuration file /usr/local/apache2/conf/httpd.conf
    05/28 15:15:23 debug Exec'ing chmod 777 /opt/coldfusion10/config/wsconfig/1
    05/28 15:15:23 debug Set permission to 777 on /opt/coldfusion10/config/wsconfig/1
    05/28 15:15:23 debug Exec'ing chmod +x /opt/coldfusion10/config/wsconfig/1/mod_jk.so
    05/28 15:15:23 debug Set permission to execute on /opt/coldfusion10/config/wsconfig/1/mod_jk.so
    05/28 15:15:23 debug Created file /opt/coldfusion10/config/wsconfig/1/mod_jk.so
    05/28 15:15:23 debug Wrote file /usr/local/apache2/conf/httpd.conf
    05/28 15:15:23 debug Added ColdFusion configuration to Apache configuration file /usr/local/apache2/conf/httpd.conf
    05/28 15:15:23 debug Created file /opt/coldfusion10/config/wsconfig/1/README.txt
    05/28 15:15:23 debug Wrote file /opt/coldfusion10/config/wsconfig/wsconfig.properties
    05/28 15:15:23 debug Exec'ing /usr/local/apache2/bin/apachectl restart
    05/28 15:15:23 error Error running "/usr/local/apache2/bin/apachectl restart": exit code was 1
    05/28 15:15:23 error Error restarting Apache server.  The web server must be restarted to complete this operation.
    com.adobe.coldfusion.connector.connectorinstaller.WebServerException: Error restarting Apache server.  The web server must be restarted to complete this operation.
        at com.adobe.coldfusion.connector.connectorinstaller.ApacheInstaller.restartWS(ApacheInstall er.java:480)
        at com.adobe.coldfusion.connector.connectorinstaller.ApacheInstaller.installConnector(Apache Installer.java:269)
        at com.adobe.coldfusion.connector.connectorinstaller.ConnectorInstaller.installConnector(Con nectorInstaller.java:340)
        at com.adobe.coldfusion.connector.connectorinstaller.ConnectorInstaller.doIt(ConnectorInstal ler.java:284)
        at com.adobe.coldfusion.connector.connectorinstaller.ConnectorInstaller.main(ConnectorInstal ler.java:741)
    05/28 15:16:37 info Tomcat Connector
    05/28 15:16:37 debug command line: -ws Apache -dir /usr/local/apache2/conf -bin /usr/local/apache2/bin/httpd -script /usr/local/apache2/bin/apachectl -cfide /opt/coldfusion10/cfusion/wwwroot/CFIDE -v
    05/28 15:16:37 error This web server is already configured for ColdFusion.
    com.adobe.coldfusion.connector.connectorinstaller.ConnectorInstallerException: This web server is already configured for ColdFusion.
        at com.adobe.coldfusion.connector.connectorinstaller.ApacheInstaller.installConnector(Apache Installer.java:187)
        at com.adobe.coldfusion.connector.connectorinstaller.ConnectorInstaller.installConnector(Con nectorInstaller.java:340)
        at com.adobe.coldfusion.connector.connectorinstaller.ConnectorInstaller.doIt(ConnectorInstal ler.java:284)
        at com.adobe.coldfusion.connector.connectorinstaller.ConnectorInstaller.main(ConnectorInstal ler.java:741)
    I've searched and tried just about everything I could find relating to the error info.

    Hi,
    RHEL 6.4 is not the supported version of RHEL, Supported version are 5.6 and 6.1. We published an article you can try if that helps.
    http://helpx.adobe.com/coldfusion/kb/rhel-connector-configuration.html
    However if that doesn't work please try this in Supported environment.
    Regards,
    Priyank

  • Setting up Perl under Apache

    I'm very disappointed with Apple over the very poor documentation and support for what is potentially an extremely valuable asset in the Mac OSX tool box i.e. being able to test Perl scripts locally using the Apache software included under OSX.
    Because it's taken me 2 days to wade through the discussions here and find resources online I want to help others avoid my delays and post what I found. I would also like to comment that the unix community active on this list though so very helpful in many ways could resist scorning those who are entirely unfamiliar with terminal and the command line interface and try to condescend to explain in layman's terms what is essentially not that complex but is so shrouded in jargon, shorthand and arcana that it seems almost deliberately difficult to penetrate. I would ask Apple to please just post a simple 'how to' or if they see fit include this email in their FAQ's.
    Thank you to the many who have posted on this subject on this list and I apologize if I have used your suggestions without personal credit. I am with this document merely giving back something of what I have taken out of this useful resource. Please feel free to offer amendments to any obvious mistakes or misunderstandings I am a novice at Unix attempting to help other novices because (Ibelieve) I still speak the same language.
    This method is for starting Perl under Tiger OS 10.4x (may work for Panther or earlier I haven't tested it) on a desktop machine, not a server.
    To start Apache under OSX
    1) To turn on Apache just go to System prefs and turn on 'personal web sharing' under the 'sharing' control panel. Note the IP address that appears under the 'Select a service...' window as this is the IP address of your local web address or 'yourlocalhostaddress' (referenced below). This is what you type into the browser to view your pages locally.
    2) It seems intuitive to place your web site in the user/yourusername/sites folder on your hard drive. While this is acceptable for basic web sites it seems to make configuration harder for Perl. I could not access a cgi-bin nor find documentation that satisfactorily informed me how to access a cgi-bin created in this location. That doesn't mean it's not possible just that I don't know how to do it.
    Apple have created another folder with a pre-configured cgi folder at the following location;
    yourharddrive/library/WebServer
    Place your website in the 'Documents' folder and your Perl scripts in the 'CGI_Executables' folder. It's unnecessarily confusing to me that Apple have essentially renamed the cgi-bin to 'CGI_Executables' and the 'html' folder to 'documents' as they would be found under the Apache installation that I'm familiar with but that seems to be what's happened here.
    To start Perl support in Apache under OSX
    3) If you dont already have one it's useful to have an ultra simple Perl script on hand to test whether your configuration is working. More complex script such as formmail.pl may have additional settings that are confusing as to whether it's the file or the configuration that is causing a script error. To create a simple script copy and paste the following code;
    #!/usr/bin/perl
    print "Content-type: text/html\r\n\r\n";
    print "Hello, World.";
    into a new, empty document in a text editor and save it as 'first.pl' in your 'CGI_Executables' folder. You can open it in Safari using the following address;
    http://yourlocalhostaddress/cgi-bin/first.pl
    4) If you test your script now a call to the Perl script will merely open the page with the script as text and will not run it. This is because Apple supplies their copy of Apache with Perl disabled, it's necessary to edit a file called 'httpd.conf' in order to turn Perl on. The recommended way to turn this file on is using the terminal program but the file can also be located through the mac OS although it is partially hidden, it can be edited in a text editor that is suitable for coding such as BBEdit.
    The best online documentation I found about how to edit the httpd.conf file using terminal is here;
    http://www.macdevcenter.com/pub/a/mac/2001/12/14/apache_two.html?page=1
    However I'm not sure that he is accurate (though I hesitate to disagree with the expert) my experience was significantly different see below(*).
    Terminal has useful testing features but the command line is obscure and daunting to the novice. In addition UNIX programmers seem to delight in scaring away the cautious with silly, portentous warnings about privacy etc. This document is very sensitive to the way it's edited, however your computer will not blow up if you get it wrong and there is a back-up default version stored in the same folder so if you do screw up you can restore the defaults and start again.
    If you wish to do it without going through the terminal the 'httpd.conf' file is located here;
    /private/etc/httpd/httpd.conf
    where private is an invisible folder so you cant navigate to it directly via the Mac OS. However if you copy and paste the above address into Safari's address bar the folder window will come up revealing the document (this is an undocumented feature and I discovered it by accident so use at your own risk). Alternatively you can navigate to it using an FTP program such as Transmit when you have 'show hidden files' turned on in the preferences. Transmit is a very useful tool because it also allows you to view and change the permissions (or CHMOD) of the files you view in the same manner as you would on a remote server. Something which you cannot do using the 'Get Info' on the Mac OS
    You'll notice that there is an httpd.conf and an httpd.conf.default file. The latter is your backup so dont be overly scared of editing the first file, proceed with caution but not with trembling.
    Once you have the program open in BBEdit (or your editor of choice) uncomment the following lines by deleting the # symbol;
    #LoadModule perl_module libexec/httpd/libperl.so
    #AddModule mod_perl.c
    The quickest way to find these lines is to do a find on 'Perl' (something you cant do in Terminal). Dont change anything else just save and close, you will be required to enter your administrator password at this point.
    (*)Please note;
    Kevin Hemenway in the macdevcenter.com article says to uncomment the following lines;
    #LoadModule cgi_module libexec/httpd/mod_cgi.so
    #AddModule mod_cgi.c
    And makes no mention of the lines ending in perl rather than CGI. His article is from 12/14/2001 so it may be out of date. In my httpd.conf file the lines ending 'cgi' were already uncommented but the lines ending 'perl' were commented out. I uncommented the lines ending 'perl' and now in my version both (cgi and perl) are uncommented and active. There are security implications to uncommenting any lines so I may have opened a security loophole that I'm not aware of however until I uncommented the 'perl' lines my scripts did not work. I would be grateful for an explanation of the implications from any Unix expert reading this.
    5) The last thing you need to do is restart Apache so that it can load the new config file. To do this stop web sharing in the preferences pane and then restart it.
    If you test your simple Perl script 'first.pl' now it should load and show the text "Hello World" in a browser window.
    6) if you wish to load a more complex script and find that they will still not work, at least you know that Perl is working. You can check the error logs by opening the terminal and at the prompt (yourusername$) type;
    tail /var/log/httpd/error_log
    This enables you to trace the whether a permissions, configuration or other error has occurred.
    WARNING;
    The above is a distillation of my frustrating experience over the last 2 days, it details how I finally got it to work. With everything in scripting I find that I repeat the same method multiple times, convinced each time that I have it right and all of a sudden it works where it didn't work before. This always leaves me unsure that I may have inadvertently done some thing right (as logically I was obviously inadvertently doing something wrong before) that is not documented here. I offer this method as the product of my experience, because I hope it is helpful and because I have the confidence that there is a way to back out of it using the default config file. Despite the above use at your own risk.
    G5 Dual 2.5Ghz + Pbook G4 867Mhz + 15GB iPod   Mac OS X (10.4.3)  

    That sounds like a very good useful tip. I would hold on to it in your own computer's repository as well and post sections of it whenever you see someone needing help with it until you are able to add it to the contributions section of the User Tip forum here:
    http://discussions.apple.com/category.jspa?categoryID=103

Maybe you are looking for

  • Error connecting to database from Crystal Report

    Hi, I am using Crystal report 2008, .NET 3.5 on Windows Server 2008 + SQL Server 2008 I have a batch that generates report (via export) then this batch will send the exported report via email. I am encountering this error when reading report from BO

  • HP Officejet Pro 8000 - Press Print - wait 2 minutes and 30 seconds before printing

    I have a new Officejet Pro 8000 non-networked printer. When I hit the print button, it does a very long initialization process that takes exactly 2 minutes and 30 seconds before I can print anything. I find this delay very annoying. I thought the pri

  • Problem using mod_python

    Hello! There's a problem using mod_python (mod_python-3.2.10.win32-py2.4-apache2.2.exe): I have Apache 2.2.3 and Python 2.4.4 running on Windows XP I installed DB XML 2.3.8 (binaries) and two files for Python API: 1) dbxml-2.3.8.win32-py2.4.exe 2) bs

  • Which fan is best to use with hp dv6-6198sp?

    The laptop is orginally a dv6-6153ea but i upgraded the motherboard and cpu to that of a dv6-6198sp, So it now has a ati 6770 and core i7 2670qm which i need to keep cool Temps are reaching 95 on load which i feel isn't that great! I have two fans i

  • Best practices for a multi-language application

    Hi, I'm planning to develop an application to work in two different countries and I'm hopping to get some feedback from this community on the best practices to follow when building the application. The application will run in two different languages