Problem with inbuilt Solaris Apache Web Server v 2.0.58

Hi,
Set-up:
We are working on a custom application which works with the inbuilt Apache Web Server on the Sun Solaris platform. Here are the details of the versions of the various components involved:
Apache Web Server: Version 2.0.58
Platform: SunOS 5.10 Generic_127111-03
Our application is in the form of a shared library(.so binary) which is loaded into the Apache Web Server by mentioning the following directive in the Apache Web Server's configuration file (httpd.conf).
LoadModule at_module "/var/apache2/logs/sample/sample.so"
where, sample.so is our application's binary
and at_module is the name of the module.
httpd.conf file has been attached for your reference.
Attachments:
httpd.conf - Apache Web Server's configuration file.
sample-apache.cpp - Sample program which is showing the problem.
httpd.h - Apache Software Foundation's file which contains the structure "request_rec" that represents the current request.
Problem summary:
For each request to the Apache Web server, the server maintains a table of type "apr_table_t" which contains the header environment from the request. There is a structure "request_rec" maintained in the httpd.h file:
/** A structure that represents the current request */
struct request_rec {
/** The pool associated with the request */
apr_pool_t *pool;
/** Request method (eg. GET, HEAD, POST, etc.) */
const char *method;
/** MIME header environment from the request */
apr_table_t *headers_in;
In our case, when we try to retrieve the address of "headers_in", we get a NULL Value. Please refer to the attached "sample-apache.cpp" program. In this program, inside the access_checker() method, we try to retrieve the address of "headers_in" and get that as NULL:
extern "C" int access_checker(request_rec *r)
     FILE * fp;
     fp = fopen("/var/apache2/logs/sample.txt", "a");
     fprintf(fp, "\n r->headers_in = %u, r->method = %s", r->headers_in, r->method);
     fclose(fp);
     return OK;
Here is the output of the sample program after accessing the main page of the Web server:
r->headers_in = 0, r->method = GET
r->headers_in = 0, r->method = GET
r->headers_in = 0, r->method = GET
Though we are able to retrieve one member of the structure request_rec (method), we are not able to retrieve the address of the other member (headers_in).
Observation:
We made an interesting observation that when we used the same sample program with the inbuilt Apache 2.0.52 Web Server on Solaris, we were able to successfully retrieve the address of headers_in. Here are the details of the set-up which is working fine:
Apache Web Server: Version 2.0.52
Platform : SunOS 5.10 Generic_118822-30
Thus, there is something different which has happened between the Sun's Solaris Apache Web Server's versions 2.0.52 and 2.0.58 which is making it unable to retrieve the address of the request headers (headers_in).
I am requesting someone to kindly shed light on this difference and let us know if we need to change the way of retrieving the request headers for Solaris Apache 2.0.58.
Thanks,
Atul.

The only way you can achieve it is by running the web server to listen on port 80
Please change the port in your httpd.conf file for the webserver and restart it.
If any other processes are running/using on port 80 on that machine, then please stop them, otherwise you will not be able to achieve your requirement.
Arun

Similar Messages

  • Installing 64-bit ColdFusion with 32-bit Apache web server on Windows Server 2008 64-bit

    This is related to another discussion that had a solution of using an unofficial 64-bit Apache, which is not permitted in my situation.  The discussion is here: http://forums.adobe.com/message/3580001. 
    I’m having trouble running the Apache and ColdFusion services after connecting the two with wsconfig.  I’ve tried replacing the 64-bit mod_jrun22.so with the 32-bit equivalent and the Apache service will then start, but the ColdFusion services error when loading the jvm.dll.
    Anyone familiar with this?
    Apache Web Server 2.2.22
    ColdFusion 9
    Thanks.

    Looking into the same issue myself. Can you elaborate on this? Which version of the JVM did you upgrade to and did you configure it in the CF Admin to use that jvm?
    Using the web connector, I get an error message that the mod_jrun22.so is not a valid win32 application.
    Thanks

  • Problem while configuring the Apache Web Server as the Intermediary Server

    Hello,
    I want to use Apache 2.0 web-server as a proxy for my SAP EP so that I could access http://portal_server:50000/irj through this Apache external web-server.
    I checked this sap help link as a reference.
    http://help.sap.com/saphelp_nw04/helpdata/en/18/5cea2296190e4cb7faf9468ad793ea/frameset.htm
    But still not clear what exact configuration I need to do in the httpd.conf file. I searched the posted forums on this topic but couldnt get exact steps.
    It would be grateful if anyone can guide me on this configuration (redirecting url etc).
    Thanks in advance.
    -Mandar

    STEPS OF SECURE APACHE-SSL
    1.Install apache version like apache_x_y_z_win32.exe also select the right combination of mod_ssl and Openssl.
    (Like for apache1.3.33 you need mod_ssl_2.8.22 and Openssl_0.9.7f or Openssl_0.9.7g.
                       Or
    Select a mix of all three like [Apache_1.3.33-Mod_SSL_2.8.22-Openssl_0.9.7f-Win32.zip]
    (for this  install apache service also).
    2.    Select   httpd.conf file from (apache\conf) open it for configuration.
    3.   Stop the services of apache from Control panel \ administrative tools \ services.
             Note:--  may be it is possible all files for configuration will not be there in apache2.exe  then extract the 
              Apache_2.0.54-Mod_SSL_2.8.22-Openssl_0.9.7f-Win32.zip  file and copy conf,lib,modules logs
    files in corresponding folder of Apache2.exe.
                                                 HTTPD.CONF   Configuration
    1.     Replace all occurrences of www.my-server.dom with the real domain name!
           (If you have installed apache from .exe file then its doesn’t required but for . Zip archive file you have to replace it)
    2.     Comment port 80 like  # port 80
    3.     Write Listen 80 and Listen 443 in httpd.conf file.
    4.     Extract Openssl in any folder and copy files ssleay32.dll and libeay32.dll into WINNT\SYSTEM32 paste them here.
    5.     Download Openssl.cnf file because you need to configure openssl.exe. a link apear select saveas and save it to bin folder of apache2 directory
    6.     Copy all the *.exe, *.so, *.dll inside your apache\bin directory from extracted Openssl directory.
    7.     Write
                  LoadModule ssl_module modules/ApacheModuleSSL.dll
                      or
                  LoadModule ssl_module modules/ApacheModuleSSL.so
                      or
                  LoadModule ssl_module modules/mod_ssl.so
                 after the LoadModule lines that are already in the httpd.config file
          8.    Write AddModule mod_ssl.c this for apache1 for apache2 it is noy required.
               after the AddModule lines that are already in the httpd.config file.
         9.  Add the following to the end of httpd.conf:
                        SSLMutex sem
                        SSLRandomSeed startup builtin
                        SSLSessionCache none
                        SSLLog logs/SSL.log
                        SSLLogLevel info
                        SSLEngine On
                        SSLCertificateFile conf/ssl/my-server.cert
                        SSLCertificateKeyFile conf/ssl/my-server.key
                        ProxyRequests Off
    <Proxy *>
    Order deny,allow
    Allow from all
    </Proxy>
    ProxyPass / http://ServerName:50000/     // your server name and port number
    ProxyPassReverse / http://ServerName:50000/   // your server name and port number
    ProxyPreserveHost On
    save the Httpd.conf file
                                                     GENERATING CERTIFICATE
    a.     Open Command Prompt
    b.     Reach till bin directory by writing like   cd apache\bin
    c.     Write command     bin> openssl req -config openssl.cnf -new -out my-server.csr and put required detail.
    d.      Write openssl rsa -in privkey.pem -out my-server.key.
    e.     Write openssl x509 -in my-server.csr -out my-server.cert -req -signkey my-server.key -days 365.
    f.     Write openssl x509 -in my-server.cert -out my-server.der.crt -outform DER.
    g.     Create an Apache/conf/ssl directory and move my-server.key and my-server.cert into it.
    10.     Start Apache services from control panel \ Administrative tools \ services.
    11.     Now you have made Apache as SSL enabled open browser and test it by https://localhost

  • Problem with Basic Authentication in Web Server 7.0u8

    I am using a web application which has inbuilt form based authentication. After entering correct username and password, i get logged in, but then immediatly i see a basic authentication dialog popup. I am seeing this behavior in Sun Web server 7.0u8 as well as Sun Web server 7.0u3.
    Any idea what could be the reason behind this? Other app servers like Weblogic , JBoss, Websphere do not show this behavior.

    This is the content of the default.acl file. This is the only .acl file that is there in https-<instance_name> directory.
    # Copyright 2006 Sun Microsystems, Inc. All rights reserved.
    # Use is subject to license terms.
    version 3.0;
    acl "default";
    authenticate (user, group) {
    prompt = "Sun Java System Web Server";
    allow (read, execute, info) user = "anyone";
    allow (list, write, delete) user = "all";
    acl "es-internal";
    allow (read, execute, info) user = "anyone";
    deny (list, write, delete) user = "anyone";

  • Problems with deploying ODAC to web server

    I have a ASP.NET 4.0 MVC application using Entity Framework and ODAC r4 11.2.0.3.0. I have Oracle 10g client installed on the server (2003) already. I installed the 32-bit ODAC 4 XCopy deployment to the server using the batch file. So I have two Oracle installs on the computer.
    c:\oracle\ora10g\
    c:\oracle\odac11g32\
    The odac11g32 isn't in the PATH environment variable, and because I have a bunch of web apps using the 10g driver now I don't want to disturb them (if I add the bin directory to the PATH env variable, it breaks my existing apps for some reason).
    So I read that I can use the DllPath variable in the web.config file..
    +<add name="DllPath" value="C:\Oracle\odac11g32\bin"/>+
    I added it along with all the other variables I've seen in the examples, but I still am getting an error when I try to run the application...
    Unable to load DLL 'OraOps11w.dll': The specified procedure could not be found. (Exception from HRESULT: 0x8007007F)
    I used Process Explorer to make sure it was loading the correct DLL from the GAC and there is no oracle.dataaccess.dll in the BIN directory of my application. I used Dependency Walker to make sure that all the supporting DLLs work for the DLL mentioned in the error message (I got an error with shlwapi.dll but the DW docs say thats not an issue because its delay-load or something like that).
    [DllNotFoundException: Unable to load DLL 'OraOps11w.dll': The specified procedure could not be found. (Exception from HRESULT: 0x8007007F)]
    Oracle.DataAccess.Client.OpsTrace.Trace(UInt32 level, String[] args) +0
    Oracle.DataAccess.Client.OraTrace.Trace(UInt32 TraceLevel, String[] args) +58
    Oracle.DataAccess.Client.OpoErrResManager.GetErrorMesg(Int32 errorcode, String[] args) +328
    Oracle.DataAccess.Client.OracleError..ctor(Int32 errNumber, String dataSrc, String procedure, String errMsg) +82
    Oracle.DataAccess.Client.OracleException..ctor(Int32 errCode, String dataSrc, String procedure, String errMsg) +127
    Oracle.DataAccess.Client.OracleException..ctor(Int32 errCode) +49
    Oracle.DataAccess.Client.OracleInit.Initialize() +465
    Oracle.DataAccess.Client.OracleClientFactory..cctor() +76
    [TypeInitializationException: The type initializer for 'Oracle.DataAccess.Client.OracleClientFactory' threw an exception.]

    I have a ASP.NET 4.0 MVC application using Entity Framework and ODAC r4 11.2.0.3.0. I have Oracle 10g client installed on the server (2003) already. I installed the 32-bit ODAC 4 XCopy deployment to the server using the batch file. So I have two Oracle installs on the computer.
    c:\oracle\ora10g\
    c:\oracle\odac11g32\
    The odac11g32 isn't in the PATH environment variable, and because I have a bunch of web apps using the 10g driver now I don't want to disturb them (if I add the bin directory to the PATH env variable, it breaks my existing apps for some reason).
    So I read that I can use the DllPath variable in the web.config file..
    +<add name="DllPath" value="C:\Oracle\odac11g32\bin"/>+
    I added it along with all the other variables I've seen in the examples, but I still am getting an error when I try to run the application...
    Unable to load DLL 'OraOps11w.dll': The specified procedure could not be found. (Exception from HRESULT: 0x8007007F)
    I used Process Explorer to make sure it was loading the correct DLL from the GAC and there is no oracle.dataaccess.dll in the BIN directory of my application. I used Dependency Walker to make sure that all the supporting DLLs work for the DLL mentioned in the error message (I got an error with shlwapi.dll but the DW docs say thats not an issue because its delay-load or something like that).
    [DllNotFoundException: Unable to load DLL 'OraOps11w.dll': The specified procedure could not be found. (Exception from HRESULT: 0x8007007F)]
    Oracle.DataAccess.Client.OpsTrace.Trace(UInt32 level, String[] args) +0
    Oracle.DataAccess.Client.OraTrace.Trace(UInt32 TraceLevel, String[] args) +58
    Oracle.DataAccess.Client.OpoErrResManager.GetErrorMesg(Int32 errorcode, String[] args) +328
    Oracle.DataAccess.Client.OracleError..ctor(Int32 errNumber, String dataSrc, String procedure, String errMsg) +82
    Oracle.DataAccess.Client.OracleException..ctor(Int32 errCode, String dataSrc, String procedure, String errMsg) +127
    Oracle.DataAccess.Client.OracleException..ctor(Int32 errCode) +49
    Oracle.DataAccess.Client.OracleInit.Initialize() +465
    Oracle.DataAccess.Client.OracleClientFactory..cctor() +76
    [TypeInitializationException: The type initializer for 'Oracle.DataAccess.Client.OracleClientFactory' threw an exception.]

  • InBuilt Apache Web Server v2.0.58 on Solaris 10

    Hi,
    We are working on a custom application which works with the inbuilt Apache Web Server on the Sun Solaris platform. Here are the details of the versions of the various components involved:
    Apache Web Server: Version 2.0.58
    Platform: SunOS 5.10 Generic_127111-03
    Our application is in the form of a shared library(.so binary) which is loaded into the Apache Web Server by mentioning the following directive in the Apache Web Server's configuration file (httpd.conf):
    LoadModule at_module "/var/apache2/logs/sample/sample.so"
    Where, sample.so is our application's binary
    And at_module is the name of the module.
    Problem details:
    For each request to the Apache Web server, the server maintains a table of type "apr_table_t" which contains the header environment from the request. There is a structure "request_rec" maintained in the httpd.h file:
    /** A structure that represents the current request */
    struct request_rec {
    /** The pool associated with the request */
    apr_pool_t *pool;
    /** Request method (e.g. GET, HEAD, POST, etc.) */
    const char *method;
    /** MIME header environment from the request */
    apr_table_t *headers_in;
    In our case, when we try to retrieve the address of "headers_in", we get a NULL Value. Please refer to the code for "sample-apache.cpp" program. Here it goes:
    ** Sample Program acting as a loadable Apache module.
    ** Overview:
    ** This sample program contains the necessary methods to make the program act as a module which can be loaded into the Apache ** Web Server. This program contains skeleton code which is necessary for any module which needs to be loaded into the Apache ** Web Server.
    ** Usage:
    ** 1) Compile and link this program to create a shared library.
    ** Compilation step:
    ** /opt/SUNWspro/bin/CC -c -o sample.o -I<Path to your include directory for Apache API's> sample-apache.cpp
    ** Link step:
    ** /opt/SUNWspro/bin/CC -G -compat=5 -mt -M map.SunOS -o sample.so sample.o -lsocket -lnsl -lpthread -ldl -lposix4 -lCstd ** -lCrun -lm -lw -lthread -lcx -lc
    ** 2) The sample program creates a module named "at_module" which can then be loaded in the Apache Web Server's configuration ** file, httpd.conf in the form of a configuration directive as shown below:
    ** LoadModule at_module "<Location of the shared library created from this sample program>"
    #include "httpd.h"
    #include "http_config.h"
    #include "http_request.h"
    #include "http_log.h"
    static const char s_szInputFilterName[] = "INPUTFILTER";
    extern "C" module at_module;
    typedef struct
         int Enabled;
         char *szConfigFile;  
         apr_array_header_t *input_filters;
    } server_config_struct;
    extern "C" apr_status_t ChildExit(void *p);
    extern "C" apr_status_t ParentExit(void *p);
    extern "C" int Init(apr_pool_t p, apr_pool_t pLogPool, apr_pool_t pTempPool, server_rec s)
    void *data;
    const char *user_data_key = "init_module";
    apr_pool_userdata_get(&data, user_data_key, s->process->pool);
    if(!data)
              apr_pool_userdata_set((const void *) 1, user_data_key, apr_pool_cleanup_null, s->process->pool);
    else
              server_config_struct pConfig = (server_config_struct ) ap_get_module_config(s->module_config, &at_module);
              apr_pool_cleanup_register(p, s, ParentExit, apr_pool_cleanup_null);
              ap_log_error(APLOG_MARK, APLOG_INFO, 0, s, "Exit callback registered.");
              fflush(NULL);
    return OK;
    extern "C" void ChildInit(apr_pool_t p, server_rec s)
         apr_pool_cleanup_register(p, s, ChildExit, apr_pool_cleanup_null);
         return;
    extern "C" apr_status_t ChildExit(void *s)
         return APR_SUCCESS;
    extern "C" apr_status_t ParentExit(void *s)
         return APR_SUCCESS;
    extern "C" int access_checker(request_rec *r)
         FILE * fp;
         fp = fopen("/var/apache2/logs/sample.txt", "a");
         fprintf(fp, "\n r->headers_in = %u, r->method = %s", r->headers_in, r->method);
         fclose(fp);
         return OK;
    extern "C" apr_status_t input_filter_init(ap_filter_t *f)
         return APR_SUCCESS;
    extern "C" apr_status_t input_filter(ap_filter_t f, apr_bucket_brigade pbbOut,
                                                 ap_input_mode_t mode, apr_read_type_e block,
                                                 apr_off_t readbytes)
         return APR_SUCCESS;
    static void register_hooks(apr_pool_t *p)
         ap_hook_post_config(Init, NULL, NULL, APR_HOOK_MIDDLE);
         ap_hook_child_init(ChildInit,NULL,NULL,APR_HOOK_MIDDLE);
         ap_hook_access_checker(access_checker, NULL, NULL, APR_HOOK_REALLY_LAST);
         ap_register_input_filter(s_szInputFilterName, input_filter, input_filter_init, AP_FTYPE_RESOURCE);
    extern "C" module AP_MODULE_DECLARE_DATA at_module =
    STANDARD20_MODULE_STUFF,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL,
    register_hooks
    //End of sample
    In this program, inside the access_checker() method, we try to retrieve the address of "headers_in" and get that as NULL:
    extern "C" int access_checker(request_rec *r)
    FILE * fp;
    fp = fopen("/var/apache2/logs/sample.txt", "a");
    fprintf(fp, "\n r->headers_in = %u, r->method = %s", r->headers_in, r->method);
    fclose(fp);
    return OK;
    Here is the output of the sample program after accessing the main page of the Web server:
    r->headers_in = 0, r->method = GET
    r->headers_in = 0, r->method = GET
    r->headers_in = 0, r->method = GET
    Though we are able to retrieve one member of the structure request_rec (method), we are not able to retrieve the address of the other member (headers_in).
    Observation:
    We made an interesting observation that when we used the same sample program with the inbuilt Apache 2.0.52 Web Server on Solaris, we were able to successfully retrieve the address of headers_in. Here are the details of the set-up which is working fine:
    Apache Web Server: Version 2.0.52
    Platform : SunOS 5.10 Generic_118822-30
    Thus, there is something different which has happened between the Sun's Solaris Apache Web Server's versions 2.0.52 and 2.0.58 which is making it unable to retrieve the address of the request headers (headers_in) in version 2.0.58.
    Can sombody please help me find out the reson for this difference and let me know if we need to change the way of retrieving the request headers for Solaris Apache 2.0.58.
    Thanks

    Ok, found the problem:
    Do not use this "SSL_RENEGOTIATE_NEVER" as a value for the environment variable:
    NSS_SSL_ENABLE_RENEGOTIATION=SSL_RENEGOTIATE_NEVER;export NSS_SSL_ENABLE_RENEGOTIATION
    instead, use "0":
    NSS_SSL_ENABLE_RENEGOTIATION=0;export NSS_SSL_ENABLE_RENEGOTIATION
    Add that line to your startserv script and it should disable ssl renegotiation permanently.
    Regards,

  • How to install Apache Web Server with PHP on Sun Solaris Sparc machine

    Hi,
    We are trying to install the Apache Web Server and the PHP package on a Sun Solaris Sparc machine running on SunOS 5.8. We are having compilation problems with the source code of both these packages.
    Does anybody know if there are ready solaris packages for Apache and PHP available from where we can download and install instead of source code compilation?
    Or any instructions / things to watch for when installing Apache with PHP (if anybody has tried installing Apache with PHP on Sun Solaris earlier) is most welcome.
    Thanks,
    Harish

    Apache should be bundled along with Solaris check in "/var/apache" in Solaris 8 and Solaris 9
    php is available at www.php.net
    I found an old document for installing PHP maybe this will help.
    Cheers
    -Dhruva
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++Installing PHP 3.x for Apache 1.x.x on Solaris
    Introduction
    This document describes how to install PHP for Apache on Solaris.
    You should have Apache installed before trying to install PHP.
    If you want to use PHP with MySQL then you must install MySQL first.
    Before we Begin
    1. These instructions assume that you have Apache installed according to instructions.
    Getting PHP
    1. You must be logged in as root to perform this installation.
    su root
    2. I save all my downloads in:
    /usr/local/dist
    If you don't already have one, you may need to create that directory now:
    mkdir /usr/local/dist
    3. You can get PHP 3.0.14 from here(www.php.net).
    cd /usr/local/dist
    ftp ftp.php.net
    cd pub/distributions
    bin
    get php-3.0.14.tar.gz
    bye
    Installing PHP
    1. We will install PHP in /usr/local/build, but use a tricky tar command
    to do it in on hit from the download directory:
    cd /usr/local/dist
    tar xvfz php-3.0.12.tar.gz -C ../build
    Compiling PHP
    1. First let's get where the action is:
    cd /usr/local/build/php-3.0.14
    2. You now have 3 options:
    * Simple PHP install without MySQL - goto step 3
    * Simple PHP install with MySQL - goto step 4
    * Custom PHP install - goto step 5
    3. Simple PHP install without MySQL. Next, jump to step 6.
    ./configure --with-apache=../apache_1.3.12
    4. Simple PHP install with MySQL. MySQL must be installed before you can configure PHP to use it. I recommend that MySQL should always be reachable with /usr/local/mysql. Even if you install it else where you
    should create a symbolic link from /usr/local/mysql. Otherwise the compiler can have problems finding the mysqlclient library. The command
    should look like this:
    ./configure with-mysql=/usr/local/mysql with-apache=../apache_1.3.12
    Next, jump to step 6.
    5. Custom PHP install. Take a look at the available configuration directives by using this command:
    ./configure --help
    6. Now we can make the PHP executable. This may take a while.
    make
    7. Now we install the PHP module with:
    make install
    Adding the PHP Module to Apache
    1. Now we have to setup Apache to include the PHP module:
    cd ../apache_1.3.12
    2. Re-configure Apache to use the PHP module. You should use your previous Apache configure command along with the PHP activate module directive.
    You can see your previous Apache configure command by doing:
    cat config.status
    You can configure Apache using the previous command with the added PHP module by doing:
    ./config.status --activate-module=src/modules/php3/libphp3.a
    If you used the simple Apache install from instructions the command will look like this:
    ./configure prefix=/usr/local/apache activate-module=src/modules/php3/libphp3.a
    3. Make and install Apache with PHP enabled:
    make
    4. We need to stop the server before installing the files:
    /usr/local/apache/bin/apachectl stop
    5. Now we can install the new binaries:
    make install
    6. Start apache again (now running the new php enabled version):
    /usr/local/apache/bin/apachectl start
    Setting Up PHP
    1. We have to tell Apache to pass certain file extensions to PHP. We do this in Apache's httpd.conf file.
    cd /usr/local/apache/conf
    2. Edit the httpd.conf file. If you do a search for php you will find a couple of commented out lines telling Apache to use the PHP module. You should uncomment them to look like this.
    AddType application/x-httpd-php3 .php3
    AddType application/x-httpd-php3-source .phps
    3. I prefer to use the extension .phtml, you can use whatever extension you like (even .html) by adding lines to httpd.conf like this:
    AddType application/x-httpd-php3 .phtml
    Check that it Works
    1. We have to restart Apache to make these changes take effect on the running server.
    cd /usr/local/apache/bin
    ./apachectl restart
    2. Apache should now be running with PHP enabled. The server version should include PHP/3.0b2.
    ./apachectl status
    Apache Server Status for dev.synop.com
    Server Version: Apache/1.3.9 (Unix) PHP/3.0.12
    Server Built: Oct 25 1999 00:37:07
    3. Now it is time to test PHP with a page. The simplest thing to do is create a page called test.php3. My file is here. This file contains the
    following text:
    <?php phpinfo(); ?>
    4. Point your browser at this file on the virtual host which you used:
    http://localhost/test.php3

  • Problem in configuring Apache Web Server v2.2

    Hi,
    I am facing problem in configuring apache web server with tomcat 7.0. I want to configure the web server in such a way that I can access the application only using the localhost(without appending the port to it). Ex I want to access the application through "http://localhost" instead of "http://localhost:8080".
    I tried to configure it using the concept of vertical clustering and "load balancer", but failed to do that.
    Can anyone please tell me steps to configure apache web server with tomcat or provide any useful link / urls to do that one.
    Thanks in advance

    The only way you can achieve it is by running the web server to listen on port 80
    Please change the port in your httpd.conf file for the webserver and restart it.
    If any other processes are running/using on port 80 on that machine, then please stop them, otherwise you will not be able to achieve your requirement.
    Arun

  • How to Configure Apache Web Server  with Tomcat web container in Linux

    Hi all,
    I am working on Tomcat web server 5.0.19 on Linux AS 3.0., ( my Control Server)
    I need map my tomcat to Apache Web Server (httpd) in another system
    (web server).
    I dont have jk2_ or jk_mod .so files to use in my tomcat/conf directory to make them available for httpd.conf files of Apache Web server.
    I have only jk2.properties file in my conf.,
    Please tell me how to go about it
    my mail id [email protected]
    Thank You
    Subramanyam.V
    Hyderabad
    India

    The simple answer is to download a web server that has a web container already integrated on it, so all that painful configuration work is avoided.
    You can use the mature SJS Web Server 6.1 SP5 at
    http://www.sun.com/webserver
    Or you can try a preview of the upcoming version at
    http://www.sun.com/download/products.xml?id=446518d5
    You will get better performance and security, with easy of use, at about the same price ;)

  • Issue with permissions to upload files into Apache web server to OS 10.8.2

    Hello everyone;
    I setted up Apache web server and mysql to OS 10.8.2 Mountain Lion. It's working fine except for the permissions. I can't upload files into the web site directory. Doesn't recognize, e.g., the PHP function "move_uploaded".
    One problem for my is that I can't modify the permissions by "Terminal" app since it telling me that the "Process completed" and I can't write any script.
    Any suggestion will be welcome.
    Thanks in advance.

    My only question now would be how to speed up Safari's 6.0.1 performance in 10.8.2 or do I just accept that it's a little slower than it was, which is fine. Are other folks having this issue?
    I was primarily passing along info about my particular download speed and for the Web Confidential 3.8 people: make a backup of your passwords b4 installing 10.8.2 or be prepared to upgrade.

  • Integrating tomcat 5.0.28 with apache web server 2.2

    hi all
    i tried a lot on net but could not get the steps for
    connctivity between tomcat 5.0.28 with apache web server 2.2.
    any one pzl do help me in finding the solution
    pzl do tel me the step by step process for this connectivity
    sus

    hi :-)
    you need jk modules ;-)
    i havent try the integrating the version of apache web
    and tomcat you specify but you can refer to the links below :-)
    gudluck :-)
    http://www.serverwatch.com/tutorials/article.php/2203891
    http://www.onjava.com/lpt/a/2826
    http://raibledesigns.com/tomcat/
    regards,

  • Apache web server 2.0 plugin issue with Iframes

    I was wondering if anyone had any issues related to iframes when going from the Apache plugin for version 1.3 to version 2.0. Currently I'm having a problem where I use the mod_wl20.so plugin on Apache web server 2.0X and I will get a download dialog box to download a html file. I do not have this issue when using the plugin for Apache web server 1.3X.
    Thanks
    Jon
    Message was edited by:
    [email protected]

    there is no SAP supported solution for Apache2.
    Note https://service.sap.com/sap/support/notes/442401 stated the development has ended.
    But you can build your own filter based on SSOEXT library, see https://service.sap.com/sap/support/notes/304450 for details.
    regards, Norbert

  • The tab is bad with apache web server and tomcat

    the tab not run with apache web server + tomcat.
    It is very bad..

    Fijate que solo he estado experimentando con JSC, no he tenido oportunidad de poner nada en producci�n usando la combinaci�n Apache Web Server y Tomcat JSP container y no cuento en �ste momento con �sta configuraci�n para probar.
    Nosotros (en donde trabajo) usamos IBM Web Server (basado en Apache Web Server 2), IBM Websphere 6 y las aplicaciones JSF en producci�n est�n hechas con Rational Web Developer.
    Ahora he estado muy ocupado con un proyecto urgente, si tengo alg�n tiempo libre la semana entrante tratar� de probar tu combinaci�n (no te prometo nada) pero para ello necesito que me digas las versiones que est�s usando de Apache Web Server y de Tomcat, como est�s enlazando entre ambos con un m�dulo o con ProxyPass y mejor si me mandas el httpd.conf.
    Saludos.

  • How do I get Apache web server working ...

    How do I get Apache web server working on my MacBook Pro, which is running Leopard 10.5.8?
    When I enter 'http://localhost/~username/' (without the quote marks) as a URL in my Firefox browser on the MacBook, I do not see any result at all(!). I do have Web Sharing on in System Preferences on that machine. But the browser does nothing whatever for that URL ...
    On my other computer, an iMac running Leopard 10.5.8, when I enter 'http://localhost/~username/' I see the default "Your Website Here" page. That same default page is in fact the index.html file I expect to see on the MacBook Pro. But it isn't getting invoked for some reason. Nothing is happening ...
    When on the iMac I try 'http://10.0.1.18/~username/' (10.0.1.18 is the local IP address I see under 'Web Sharing: On' on the MacBook) I get "Unable to connect: Firefox can't establish a connection to the server at 10.0.1.18."
    When on the MacBook I try 'http://10.0.1.5/~username/' (10.0.1.5 is the local IP address I see under 'Web Sharing: On' on the MacBook) I see the default "Your Website Here" page.
    It is the same on my iPhone: Using the same local IP addresses and usernames, Safari can see the index.html page on my iMac but not on my MacBook.
    It looks as if Apache is not working on the MacBook, while on the iMac it works fine.
    On the MacBook I can see (after I use 'defaults write com.apple.finder AppleShowAllFiles TRUE' in Terminal) a /private/etc/apache2/ directory with what look to be(?) the usual contents. So it looks like Apache is duly installed, as far as I can tell.
    On the MacBook I don't see a file at /private/var/log/apache2/error_log, which is the location for 'ErrorLog' given in the httpd.conf file.
    That about exhausts my understanding of how to get a handle on my problem.
    Any advice or suggestions from those who have more expertise with Apache will be much appreciated ...

    Okai, so we are getting somewhere, but not quit there yet :-)
    I opened the Kenneth.conf file using the command: vi Kenneth.conf
    This is what it said:
    <Directory "/Users/Kenneth/Sites/">
    Options Indexes Multiviews
    AllowOverride AuthConfig Limit
    Order allow,deny
    Allow from all
    </Directory>
    "Kenneth.conf" [readonly] 6L, 139C
    I therefore changed the AllowOverride from AuthConfig Limit to None, which was the only difference from what you posted above. Something did change, when I tried to open XAMPP it prompted me a password, but Apache still wont start :-/

  • Apache Web Server for Content Server 6.4

    Hi!
    I have installed the SAP Content Server 6.4 with a SAP DB instance (MaxDB 7.6.0) on SuSE Linux Enterprise Server 9 (32bit-Version). I've also installed Apache Web Server 2.0.49 via yast.
    When i am trying to access the server through csadmin in the Knowledge Warehouse, i get the following error message:
    Error in HTTP-Access:  IF_HTTP_CLIENT->RECEIVE 1
    ICM_HTTP_CONNECTION_FAILED
    The Content Server's database is online and the Apache is running, but when i prompt the command
    apache2ctl fullstatus (or apache2ctl status, respectively)
    it says:
    Object not found!
    The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
    If you think this is a server error, please contact the webmaster.
    Error 404
    localhost
    The linux-version is 2.6.5-7.244-smp
    SuSE-version is SLES 9 (i586), Patchlevel 3
    I am pretty new to Linux and Apache, so i really do appreciate any kind of help!
    Thanks a lot!
    best regards, TW

    Hi. Did you figure this out ? I have the same error and the only difference is I am using apache on Solaris.  I found the file /sapcs/apache/2.0.59/logs/error_log. From some trial and error, it looks like in the home dir of apache is in /sapcs/apache/2.0.59/htdocs but in csadmin the field 'http script' doesn't like relative addressing. ( I put in ../modules/mod_sapcs.so ) and it still didn't like it. I ended up creating a softlink in htdocs that point back to the modules directory. Now I get other issues ( can't create the content repository from csadmin - get http: 405 method not allowed ).

Maybe you are looking for

  • How do I copy editted clips from one project file to another?

    I am working on a project. At one point, before I finished I "saved as" with another name to give me a backup. After working on it for a while I found that a section of the video had gotten out of place (a lot of clips and layers). I would like to co

  • Difference between nio-file-manager  and nio-memory-manager

    Hi, what's the difference between nio-file-manager and nio-memory-manager? The documentation doesn't really discuss the differences as far as I know. They both use nio to store memory-mapped files don't they? What are the advantages/disadvantages of

  • How to open Doc-to-go file stored in SD card without handset

    Posted in the wrong area - the Treo 650 is a PalmOS device, not webOS. I am a Volunteer here, not employed by HP. You too can become an HP Expert! Details HERE! If my post has helped you, click the Kudos Thumbs up! If it solved your issue, Click the

  • Upgrading 10.2.0.1 to 11.1.0.6

    Hi All, For upgrading any database version to 11.1.0.6 as per document it says we need to have UPDATED TIMEZONE FILES (VERSION 4) FOR MORE DST RULE CHANGES. But unfortunate thing is i am doing it on my laptop (windows) which has 10.2.0.1 database ins

  • Styles - List Paragraph

    I am using Word 2010 with Windows 7.  I understand that the numbering styles on the Paragraph section of the Home ribbon comes from the built-in styles called "List Paragraph".  Is that correct? I want to permanently change the left margin and indent