Apache 2.2.0-2 (Testing)

Just upgraded apache... Now i got some problems
[root@tim tim]# /etc/rc.d/httpd start
:: Starting HTTP Daemon                                                                 [FAIL]
[root@tim tim]# httpd
httpd: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory

Seems like many people had that problem (including me), seems to be a pacman bug. Install apache again, then it will add the necessary dependencies apr and apr-util. You also have to make lots of changes to your httpd.conf regarding "LoadModule" lines to make apache start again.

Similar Messages

  • Org.apache.jasper.JasperException in AVK testing

    I have a problem during my verification test.
    Assertion:All the JSPs that are bundled inside a web application must be compilable using a J2EE compliant JSP compiler that does not have any proprietary or optional features in it.
    Error: Some JSPs bundled inside [ ESupply ] could not be compiled. See details below.
    org.apache.jasper.JasperException: file:C:/Documents and Settings/rajasekhar/Local Settings/Temp/exploded20070413115435/ESupply/WEB-INF/jsp/shm/JSHM070200V6000H.jsp(84,1) File "/JSHM070202V6000H.jsp" not found
    i m new to avk testing. can anyone guide me to report this issue.
    thanks & Regards
    Lovelin

    Hey dear u haven't differentiated formal parameters and private variables.
    Try the following code..
    public class CreateAccountBean extends org.apache.struts.action.ActionForm {
    private String username=null;
    private String password=null;
    private String confirmpassword=null;
    public String getUserame() {
    return this.username;
    public void setUsername(String username) {
    this.username = username;
    public String getPassword() {
    return this.password;
    public void setPassword(String password ) {
    this.password = password;
    public String getConfirmpassword() {
    return this.confirmpassword;
    public void setConfirmpassword(String confirmpassword ) {
    this.confirmpassword = confirmpassword;
    }

  • Apache in testing dosen't work

    i install apache mysql and php in testing repo.
    but apache dosen't work.
    $ sudo /etc/rc.d/httpd start
    :: Starting HTTP Daemon                                                  [FAIL]
    $ sudo /usr/sbin/apachectl start
    httpd: Syntax error on line 232 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib/apache/mod_access.so into server: /usr/lib/apache/mod_access.so: cannot open shared object file: No such file or directory
    there is not mod_access.so. hwo to run appache daemon?
    $ pacman -Ql apache | grep /usr/lib/apache/mod
    apache /usr/lib/apache/mod_actions.so
    apache /usr/lib/apache/mod_alias.so
    apache /usr/lib/apache/mod_asis.so
    apache /usr/lib/apache/mod_auth_basic.so
    apache /usr/lib/apache/mod_auth_digest.so
    apache /usr/lib/apache/mod_authn_anon.so
    apache /usr/lib/apache/mod_authn_dbd.so
    apache /usr/lib/apache/mod_authn_dbm.so
    apache /usr/lib/apache/mod_authn_default.so
    apache /usr/lib/apache/mod_authn_file.so
    apache /usr/lib/apache/mod_authz_dbm.so
    apache /usr/lib/apache/mod_authz_default.so
    apache /usr/lib/apache/mod_authz_groupfile.so
    apache /usr/lib/apache/mod_authz_host.so
    apache /usr/lib/apache/mod_authz_owner.so
    apache /usr/lib/apache/mod_authz_user.so
    apache /usr/lib/apache/mod_autoindex.so
    apache /usr/lib/apache/mod_cern_meta.so
    apache /usr/lib/apache/mod_cgi.so
    apache /usr/lib/apache/mod_dav.so
    apache /usr/lib/apache/mod_dav_fs.so
    apache /usr/lib/apache/mod_dbd.so
    apache /usr/lib/apache/mod_deflate.so
    apache /usr/lib/apache/mod_dir.so
    apache /usr/lib/apache/mod_dumpio.so
    apache /usr/lib/apache/mod_env.so
    apache /usr/lib/apache/mod_expires.so
    apache /usr/lib/apache/mod_ext_filter.so
    apache /usr/lib/apache/mod_filter.so
    apache /usr/lib/apache/mod_headers.so
    apache /usr/lib/apache/mod_ident.so
    apache /usr/lib/apache/mod_imagemap.so
    apache /usr/lib/apache/mod_include.so
    apache /usr/lib/apache/mod_info.so
    apache /usr/lib/apache/mod_log_config.so
    apache /usr/lib/apache/mod_log_forensic.so
    apache /usr/lib/apache/mod_logio.so
    apache /usr/lib/apache/mod_mime.so
    apache /usr/lib/apache/mod_mime_magic.so
    apache /usr/lib/apache/mod_negotiation.so
    apache /usr/lib/apache/mod_proxy.so
    apache /usr/lib/apache/mod_proxy_ajp.so
    apache /usr/lib/apache/mod_proxy_balancer.so
    apache /usr/lib/apache/mod_proxy_connect.so
    apache /usr/lib/apache/mod_proxy_ftp.so
    apache /usr/lib/apache/mod_proxy_http.so
    apache /usr/lib/apache/mod_rewrite.so
    apache /usr/lib/apache/mod_setenvif.so
    apache /usr/lib/apache/mod_speling.so
    apache /usr/lib/apache/mod_ssl.so
    apache /usr/lib/apache/mod_status.so
    apache /usr/lib/apache/mod_suexec.so
    apache /usr/lib/apache/mod_unique_id.so
    apache /usr/lib/apache/mod_userdir.so
    apache /usr/lib/apache/mod_usertrack.so
    apache /usr/lib/apache/mod_version.so
    apache /usr/lib/apache/mod_vhost_alias.so

    A bunch of modules have changed for apache 2.2 and got new names etc, therefore you have to edit httpd.conf, take look at http://httpd.apache.org/docs/2.2/new_features_2_2.html. For example, mod_access is now called mod_authz_host (with the new identifier authz_host_module, instead of access_module)

  • Local testing server

    Hi
    I am working through the mx 2004 book for php. Have not
    touched the book for a long time!
    I originally set up Newland: and used these settings and it
    worked fine.
    C:\Program Files\Apache Group\Apache2\htdocs\newland\
    Testing Server: C:\Program Files\Apache
    Group\Apache2\htdocs\newland\
    url prefix:
    http://localhost:8080/newland/
    I set up a new account first of all in htdocs file
    C:\Program Files\Apache Group\Apache2\htdocs\polzeathbeach\
    Testing Server: C:\Program Files\Apache
    Group\Apache2\htdocs\polzeathbeach\
    Url prefix:
    http://localhost:8080/polzeathbeach/
    Tried it and it failed!
    Have I missed anything out?

    Might work better if you move your local site files to
    C:\XAMPP\htdocs\SiteName
    See this tutorial for further details.
    http://www.adobe.com/devnet/dreamweaver/articles/setup_testing_server.html
    Nancy O.

  • Problem with Apache reverse proxy after applying SP13 NW

    Hello,
    we have a NW04 EP Portal and a Apache reverse proxy in the DMZ. After applying SP 13 for the portal we get the following error from the reverse proxy:
    Proxy Error
    The proxy server received an invalid response from an upstream server.
    The proxy server could not handle the request GET /irj/.
    Reason: Error reading from remote server
    Apache/2.0.52 (Win32) mod_ssl/2.0.52 OpenSSL/0.9.7e Server at servername.company.de Port 443
    Is is it possible, that there is a problem with sp13?
    Best regards
    Daniel Holstein

    Hi Daniel,
    ok I`ll try to find a solution in parallel and keep you up to date.
    In the following my settings in case I missed something:
    <VirtualHost test.firma.de:443>
    SSLEngine on
    SSLProxyEngine on
    SSLCertificateFile /apache/keys/pac_ssl_qep_dmz_server.crt
    SSLCertificateKeyFile /apache/keys/pac_ssl_qep_dmz_server.key
    ServerName test.firma.de:443
    ServerAdmin [email protected]
    LogLevel debug
    ErrorLog logs/ssl_443_error
    CustomLog logs/ssl_443_access_log common
    ProxyVia Off
    ProxyPreserveHost On
    ReWriteEngine on
    ReWriteLogLevel 0
    ReWriteLog logs//ssl_443_rewrite_http.log
    ProxyPass / https://backend.firma.de:50001/
    ProxyPassReverse / https://backend.firma.de:50001/
    </VirtualHost>
    Regards, Jens

  • Configuring Apache HTTP Server with Oracle Weblogic Server plugin

    Hello friends,
    I have a scenario of OIM 9.1.0.2 on Oracle Application Server 11g and Weblogic Server Apache HTTP Server.
    Oracle WebLogic Server is configured in cluster (node1 and node2), also use the Oracle Weblogic Server plugin for integration with Apache.
    One of the tests is to lose one of the nodes for the apache plugin redirects the node that has less overhead.
    When the mode is node1 and node2 stop start mode and try to access the management console of Oracle Identity Manager, the plugin sometimes redirects to the other active node, and on another occasion shows the oracle management console identity manager without the colors of the basic look and feel.
    Deputy of the Apache HTTP Server log, do you expect your comments to solve this case?
    *************************************************log****************************************************
    Server Details are:
    OrigHostInfo [192.168.1.200]
    isOrigHostInfoDNS [0]
    Host [192.168.1.200]
    Port [7002]
    SecurePort [7004]
    Mon Jan 30 22:10:43 2012 <2600713279794431> Initializing lastIndex=0 for a list of length=1
    Mon Jan 30 22:10:43 2012 <2600713279794431> initJVMID: Trying to locate Primary or Secondary using SrvrInfo with JVMID [-872106207]
    Mon Jan 30 22:10:43 2012 <2600713279794431> initJVMID: Found Primary 192.168.1.200:7002:7004
    Mon Jan 30 22:10:43 2012 <2600713279794431> INFO: Closing SSL context
    Mon Jan 30 22:10:43 2012 <2600713279794431> .....internal request /bea_wls_internal/WLDummyInitJVMIDs.....processed
    Mon Jan 30 22:10:43 2012 <2600713279794431> getPreferredFromCookie: Found 1 servers
    Mon Jan 30 22:10:43 2012 <2600713279794431> attempt #0 out of a max of 5
    Mon Jan 30 22:10:43 2012 <2600713279794431> trying connect to PRIMARY '192.168.1.200'/7002/7004
    Mon Jan 30 22:10:43 2012 <2600713279794431> getPooledConn: No more connections in the pool for Host[192.168.1.200] Port[7002] SecurePort[7004]
    Mon Jan 30 22:10:43 2012 <2600713279794431> New SSL URL: match = 0 oid = 22
    Mon Jan 30 22:10:43 2012 <2600713279794431> Connect returns -1, and error no set to 150, msg 'Operation now in progress'
    Mon Jan 30 22:10:43 2012 <2600713279794431> EINPROGRESS in connect() - selecting
    Mon Jan 30 22:10:43 2012 <2600713279794431> Setting peerID for new SSL connection
    Mon Jan 30 22:10:43 2012 <2600713279794431> 0ae2 0436 0000 1b5c ...6...\
    Mon Jan 30 22:10:43 2012 <2600713279794431> Local Port of the socket is 39186
    Mon Jan 30 22:10:43 2012 <2600713279794431> Remote Host 192.168.1.200 Remote Port 7004
    Mon Jan 30 22:10:43 2012 <2600713279794431> created a new connection to preferred server '192.168.1.200/7004' for '/xlWebApp/images/spacer.gif', Local port:39186
    Mon Jan 30 22:10:43 2012 <2600713279794431> INFO: CA certificate missing basicConstraints, validation failed
    Mon Jan 30 22:10:43 2012 <2600713279794431> ERROR: SSLWrite failed
    Mon Jan 30 22:10:43 2012 <2600713279794431> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
    Mon Jan 30 22:10:43 2012 <2600713279794431> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
    Mon Jan 30 22:10:43 2012 <2600713279794431> Marking 192.168.1.200:7004 as bad
    Mon Jan 30 22:10:43 2012 <2600713279794431> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0,  line 794 of ../nsapi/URL.cpp]: at line 3160
    Mon Jan 30 22:10:43 2012 <2600713279794431> INFO: Closing SSL context
    Mon Jan 30 22:10:43 2012 <2598413279794431>
    ================New Request: [GET /images/cab.gif HTTP/1.1] =================
    Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: SSL is configured
    Mon Jan 30 22:10:43 2012 <2598413279794431> SSL Main Context not set. Calling InitSSL
    Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: SSL configured successfully
    Mon Jan 30 22:10:43 2012 <2598413279794431> Using Uri /images/cab.gif
    Mon Jan 30 22:10:43 2012 <2598413279794431> After trimming path: '/images/cab.gif'
    Mon Jan 30 22:10:43 2012 <2598413279794431> adding prepend path: /xlWebApp/
    Mon Jan 30 22:10:43 2012 <2598413279794431> The final request string is '/xlWebApp/images/cab.gif'
    Mon Jan 30 22:10:43 2012 <2598413279794431> Host extracted from serverlist is [192.168.1.100]
    Mon Jan 30 22:10:43 2012 <2598413279794431> Host extracted from serverlist is [192.168.1.200]
    Mon Jan 30 22:10:43 2012 <2598413279794431> Initializing lastIndex=0 for a list of length=2
    Mon Jan 30 22:10:43 2012 <2598413279794431> getListNode: created a new server node: id='192.168.1.100:7004,192.168.1.200:7004' server_name='OIMSERVER', port='443'
    Mon Jan 30 22:10:43 2012 <2598413279794431> getPreferred: availcookie=[JSESSIONID=6RGCPnbTFRG7LBrTRpFnv1QLnQHkxkqr4pjGhhGJyrJWJ1rv86NK!-872106207!NONE]
    Mon Jan 30 22:10:43 2012 <2598413279794431> Found cookie from cookie header: JSESSIONID=6RGCPnbTFRG7LBrTRpFnv1QLnQHkxkqr4pjGhhGJyrJWJ1rv86NK!-872106207!NONE
    Mon Jan 30 22:10:43 2012 <2598413279794431> Parsing cookie JSESSIONID=6RGCPnbTFRG7LBrTRpFnv1QLnQHkxkqr4pjGhhGJyrJWJ1rv86NK!-872106207!NONE
    Mon Jan 30 22:10:43 2012 <2598413279794431> getpreferredServersFromCookie: [-872106207!NONE]
    Mon Jan 30 22:10:43 2012 <2598413279794431> primaryJVMID: [-872106207]
    secondaryJVMID: [NONE]
    Mon Jan 30 22:10:43 2012 <2598413279794431> No of JVMIDs found in cookie: 1
    Mon Jan 30 22:10:43 2012 <2598413279794431> getPreferredFromCookie: Start Position is 0, listLen is 2
    Mon Jan 30 22:10:43 2012 <2598413279794431> getPreferredFromCookie: Either JVMIDs not set or they are stale. Will try to get JVMIDs from WLS
    Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Iterating SrvrList from position 0
    Mon Jan 30 22:10:43 2012 <2598413279794431> ======internal request /bea_wls_internal/WLDummyInitJVMIDs======
    initJVMID: Trying Host[192.168.1.100] Port[7004] SecurePort[7004] useSSL [1] ioTimeout [30] socketTimeout [2]
    Mon Jan 30 22:10:43 2012 <2598413279794431> New SSL URL: match = 0 oid = 0
    Mon Jan 30 22:10:43 2012 <2598413279794431> Connect returns -1, and error no set to 146, msg 'Connection refused'
    Mon Jan 30 22:10:43 2012 <2598413279794431> Error connecting to host 192.168.1.100:7004
    Mon Jan 30 22:10:43 2012 <2598413279794431> *******Exception type [CONNECTION_REFUSED] (Error connecting to host 192.168.1.100:7004 errno = 146) raised at line 1723 of ../nsapi/URL.cpp
    Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Failed to retrieved JVMID for 192.168.1.100:7004:7004
    Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Marked server as BAD
    Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Closing SSL context
    Mon Jan 30 22:10:43 2012 <2598413279794431> .....internal request /bea_wls_internal/WLDummyInitJVMIDs.....processed
    Mon Jan 30 22:10:43 2012 <2598413279794431> ======internal request /bea_wls_internal/WLDummyInitJVMIDs======
    initJVMID: Trying Host[192.168.1.200] Port[7004] SecurePort[7004] useSSL [1] ioTimeout [30] socketTimeout [2]
    Mon Jan 30 22:10:43 2012 <2598413279794431> New SSL URL: match = 0 oid = 0
    Mon Jan 30 22:10:43 2012 <2598413279794431> Connect returns -1, and error no set to 150, msg 'Operation now in progress'
    Mon Jan 30 22:10:43 2012 <2598413279794431> EINPROGRESS in connect() - selecting
    Mon Jan 30 22:10:43 2012 <2598413279794431> Setting peerID for new SSL connection
    Mon Jan 30 22:10:43 2012 <2598413279794431> 0ae2 0436 0000 1b5c ...6...\
    Mon Jan 30 22:10:43 2012 <2598413279794431> Local Port of the socket is 39188
    Mon Jan 30 22:10:43 2012 <2598413279794431> Remote Host 192.168.1.200 Remote Port 7004
    Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Certificate validation succeeded
    Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Negotiated to cipher: 3
    Mon Jan 30 22:10:43 2012 <2598413279794431> SSLWrite sent 171
    Mon Jan 30 22:10:43 2012 <2598413279794431> SSLWrite completed, sent 171
    Mon Jan 30 22:10:43 2012 <2598413279794431> Reader::fill() SSLRead returned: 0 290
    Mon Jan 30 22:10:43 2012 <2598413279794431> URL::parseHeaders: CompleteStatusLine set to [HTTP/1.1 404 Not Found]
    Mon Jan 30 22:10:43 2012 <2598413279794431> URL::parseHeaders: StatusLine set to [404 Not Found]
    Mon Jan 30 22:10:43 2012 <2598413279794431> parsed all headers OK
    Mon Jan 30 22:10:43 2012 <2598413279794431> Parsing cluster list: -872106207!182584374!7002!7004
    Mon Jan 30 22:10:43 2012 <2598413279794431> parseJVMID: Parsing JVMID '-872106207!182584374!7002!7004'
    Mon Jan 30 22:10:43 2012 <2598413279794431> parseJVMID: Actually parsing '-872106207!182584374!7002!7004'
    Mon Jan 30 22:10:43 2012 <2598413279794431> ServerInfo struct for JVMID '-872106207' populated
    Server Details are:
    OrigHostInfo [192.168.1.200]
    isOrigHostInfoDNS [0]
    Host [192.168.1.200]
    Port [7002]
    SecurePort [7004]
    Mon Jan 30 22:10:43 2012 <2598413279794431> Initializing lastIndex=0 for a list of length=1
    Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Trying to locate Primary or Secondary using SrvrInfo with JVMID [-872106207]
    Mon Jan 30 22:10:43 2012 <2598413279794431> initJVMID: Found Primary 192.168.1.200:7002:7004
    Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Closing SSL context
    Mon Jan 30 22:10:43 2012 <2598413279794431> .....internal request /bea_wls_internal/WLDummyInitJVMIDs.....processed
    Mon Jan 30 22:10:43 2012 <2598413279794431> getPreferredFromCookie: Found 1 servers
    Mon Jan 30 22:10:43 2012 <2598413279794431> attempt #0 out of a max of 5
    Mon Jan 30 22:10:43 2012 <2598413279794431> trying connect to PRIMARY '192.168.1.200'/7002/7004
    Mon Jan 30 22:10:43 2012 <2598413279794431> getPooledConn: No more connections in the pool for Host[192.168.1.200] Port[7002] SecurePort[7004]
    Mon Jan 30 22:10:43 2012 <2598413279794431> New SSL URL: match = 0 oid = 22
    Mon Jan 30 22:10:43 2012 <2598413279794431> Connect returns -1, and error no set to 150, msg 'Operation now in progress'
    Mon Jan 30 22:10:43 2012 <2598413279794431> EINPROGRESS in connect() - selecting
    Mon Jan 30 22:10:43 2012 <2598413279794431> Setting peerID for new SSL connection
    Mon Jan 30 22:10:43 2012 <2598413279794431> 0ae2 0436 0000 1b5c ...6...\
    Mon Jan 30 22:10:43 2012 <2598413279794431> Local Port of the socket is 39189
    Mon Jan 30 22:10:43 2012 <2598413279794431> Remote Host 192.168.1.200 Remote Port 7004
    Mon Jan 30 22:10:43 2012 <2598413279794431> created a new connection to preferred server '192.168.1.200/7004' for '/xlWebApp/images/cab.gif', Local port:39189
    Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: CA certificate missing basicConstraints, validation failed
    Mon Jan 30 22:10:43 2012 <2598413279794431> ERROR: SSLWrite failed
    Mon Jan 30 22:10:43 2012 <2598413279794431> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
    Mon Jan 30 22:10:43 2012 <2598413279794431> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
    Mon Jan 30 22:10:43 2012 <2598413279794431> Marking 192.168.1.200:7004 as bad
    Mon Jan 30 22:10:43 2012 <2598413279794431> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0,  line 794 of ../nsapi/URL.cpp]: at line 3160
    Mon Jan 30 22:10:43 2012 <2598413279794431> INFO: Closing SSL context
    Thanks

    "One of the tests is to lose one of the nodes for the apache plugin redirects the node that has less overhead."
    Note that the plug-in does a round robin load balancing, for example, in the case of three server (1,2,3) it does 1-2-3-1-2-3-1...
    with server 3 going down it does 1-2-1-2-1...
    An example configuration (with SSL off) looks as follows:
    LoadModule weblogic_module   "/home/oracle/weblogic12.1.1/apache/modules/mod_wl.so"
    <IfModule weblogic_module>
         ConnectTimeoutSecs 10
         ConnectRetrySecs 2
         DebugConfigInfo ON
         WLSocketTimeoutSecs 2
         WLIOTimeoutSecs 300
         Idempotent ON
         FileCaching ON
         KeepAliveSecs 20
         KeepAliveEnabled ON
         DynamicServerList ON
         WLProxySSL OFF
    </IfModule>
    <Location /LoadTest6>
         SetHandler weblogic-handler
         WebLogicCluster 172.31.0.175:7002,172.31.0.113:7003
    </Location>Also see the complete example here: http://middlewaremagic.com/weblogic/?p=7795
    "the plugin sometimes redirects to the other active node"
    This is somewhat strange, do you have session binding turned off?
    "and on another occasion shows the oracle management console identity manager without the colors of the basic look and feel."
    This could happen due to mime types (not really sure just a hunch). Here is a general story on this concept: https://developer.mozilla.org/en/Properly_Configuring_Server_MIME_Types
    and the apache module: http://httpd.apache.org/docs/2.2/mod/mod_mime.html

  • Flex 3 - CF9 filereference.upload test

    Hi
    i run a filereference.upload test flex application which uploads a file through a coldfusion server.
    i’m using flex 3 and coldfusion 9.
    i’m also passing parameters in the URLRequest that points to the upload cfm file.
    when i run my test using the built-in web server (Jrun) all seems to work just fine
    when i run the same test on a coldfusion instance that runs on Apache web server, it throws a I/O Error…
    i suspect i’m missing some kind of a configuration i need to perform when moving to a production setup rather then a development environment…
    can anyone guide me through this?
    does it have to do with security? on the client? on the server?
    i’m still running on localhost…
    summery...
    attached are the mxml file and the cfm file
    works great on built-in server
    throws a I/O error when runs through Apache
    cheers

    If you want to test against another implementation, I wrote a Flex Upload component and CFML script a while back. I've used it regularly on IIS and Apache server (and my localhost) without having to modify the configuration at all. Speaking of the config, Daverns could be totally right ... and this post is not to refute or argue the point about Mod_Security; rather, its only meant as another options to test, since you were having trouble with it on the production server.
    The attached Zip archive contains three files: FileUpload.mxml, SampleUsage.mxml, and fileUpload.cfm. The files are heavily commented but feel free to ping me if you have any issues with it.
    Good luck!

  • How to retrieve client certificate passed by Apache proxy

    Hi all,
    Here's my configuration:
    Client <--HTTPS-->Apache Proxy (2-way SSL) <-- HTTP --> WLS 8.1
    I need to be able to access the client certificate passed to Apache by the client in my Java applications hosted on WLS.
    Here's what I did:-
    <pre>1. Set up Apache 2-way SSL. Tested ok.
    2. Set up Apache-Weblogic proxy. Tested ok for both HTTP, and server-side HTTPS.
    3. Configured Apache's ssl.conf SSLOption to export certifiate data: SSLOptions +ExportCertData.
    4. In my application, I used request.getAttribute("javax.servlet.request.X509Certificate") to try and retrieve the certificate.</pre>
    However the certificate don't seem to be passed along to Weblogic :-(
    Any ideas if I'm missing any steps from above? Or if it's even possible to do this?
    Thanks for any suggestions!
    Any ideas

    The WL-Client-Proxy cert should be the cert used on the proxy side if SSL is configured between Apache and WebLogic, so I believe that is the reason why that does not work. Basically, the problem here is that SSL is end-to-end, and the two ends of this transaction are the client and apache.
    That said, when you add the +ExportCertData option, this should record the client's SSL certificate in the vairable SSL_CLIENT_CERT.  So you should be able to use request.getAttribute("SSL_CLIENT_CERT").
    See:
    http://www.modssl.org/docs/2.8/ssl_reference.html
    If this doesn't work for you (which is possible if the WL_Proxy is doing something funny to the request), it is probably best just to dump out the entire contents of the session, and see what you have:
    for (Enumeration e = request.getAttributeNames() ; e.hasMoreElements() ; ) {
    String attr = (String)e.nextElement();
    System.out.println("ATTR = " + attr);
    System.out.println("VAL = " + request.getAttribute(attr));
    If you can't see any SSL certificate there, you will have to work out some way to pass this on manually.
    cheers,
    Trevor

  • [SOLVED] Recommendations needed - Arch + Apache for local development

    Hello,
    I'm a new Arch user, and relatively new with Linux. I'm getting to like Arch very much.
    I do web development, and I do most of my programming in PERL.
    I have already installed perl and some tools, and I'm about to install apache. The Idea is to have the apache server just for local development and testing.
    So the question is: Do you recommend me to install some firewall?
    What security measurements should I take?
    Is there any easy way to enable and disable Internet access to the apache server?
    Thank you!
    Last edited by iopo (2009-10-28 19:24:14)

    Thank you friends.
    Yes, my Internet is via router. I like the Idea to set the server to listen at local address, I will try that.
    Now, as I'm new to Linux and Arch, I will like to know if I should take any extra security measurements. In windows I used anti-virus + firewall all the time, and I blocked apache to access the Internet with the firewall.
    I have set a strong root password, but the "normal user" has sudo. Is that secure enough?
    Is there any "must have" security tools or measurements to set is a box like mine (Desktop usage + local network (3 machines) + apache for local usage and testing only)?
    Is it common to get some malware, worm, trojan, spyware or some kind of phishing just by surfing the web without user "action" to install it?
    I know Linux is much safer because users and permissions. I like that very much, It feels a lot safer.
    Now, I have used Arch for a week or so with no firewall (router firewall is disabled also) and no anti-virus. Absolutely no special security measurements and there seems to be no log-in attempts in logfiles .. and no problems at all. Windows without firewall and anti-virus will die in a few hours just by leaving it connected to Internet....
    I just wanted to ask you all (Arch users) if you normally use Firewall, and if you take some special measurement to stay free of  trojans, spyware, etc...
    I will appreciate your comments.
    Thank you!

  • Apache, mod_wl.so, SSL Error

    Stock Apache 1.3.12 No mod_ssl or any other modules loaded
    BEA Weblogic 6.0
    Can anybody offer any suggestions on why this error occurs or
    how to troubleshoot it?
    I cant seem to find anything in google/bea website on this.
    In the browser I get:
    Failure of server APACHE bridge:
    Cannot connect to the server: timed out after 10 seconds
    In the error_log:
    [Fri Jul 19 14:20:36 2002] [error] WRITE_ERROR [os error=0,  line 484 of ap_proxy.cpp]:
    My config:
    WebLogicPort 7002
    WebLogicHost 10.0.0.90
    SecureProxy on
    TrustedCAFile /home/daniel/bea/ap/conf/ca.pem
    RequireSSLHostMatch off
    Debug all
    <Location /petstore/>
    SetHandler weblogic-handler
    PathTrim /petstore/
    </Location>

    The Apache plug-in is not supported for Solaris on Intel.
    Michael Girdley
    BEA Systems Inc
    "James Wilde" <[email protected]> wrote in message
    news:3a2e40d8$[email protected]..
    When I try to start apache 1.3.9 to test the installation I am getting themessages:Syntax error on line 207 of
    /usr/local/apache/conf/httpd.conf:Cannot load
    /usr/local/apache/libexec/mod_wl_ssl.so into server: ld.so.1:
    /usr/local/apache/bin/httpd: elf error:
    /usr/local/apache/libexec/mod_wl_ssl.so: bad ELF type: 0x300../bin/apachectl
    start: httpd could not be startedI'm assuming that this is because I am
    trying to load a sparc Solaris .so file on an x86 Solaris machine.Is there a
    copy of mod_wl_ssl.so which runs under x86 Solaris? Maybe the Linux
    version?TIAJames

  • Unable to start apache in oracle apps r12

    hi,
    we are unable to start Apache in one of our test instance.
    in Error log..
    /home/mnt/ebs/PRJ/app/inst/apps/PRJ_rempapp/ora/10.1.3/Apache/Apache/bin/apachectl startssl: execing httpd
    Error: Failed to open the wallet [Hint: incorrect path, incorrect password, bad wallet, ...] (Server rempapp.powerdesigninc.us:80, wallet file:/home/mnt/ebs/PRJ/app/inst/apps/PRJ_rempapp/certs/Apache)
    recent changes: applied patch  19905922:R12.PO.B.
    Referred:Oracle HTTP Server does not Start with AutoLogin Wallet (Doc ID 386314.1)
    please help..
    Thanks
    Raghavendra

    Hi
    Please refer the below links,
    Httpserver not starting, help!
    HTTP_Server when starting OPMN.
    Regards,
    krish

  • Apache Reverse Proxy: Domain problem

    Hi,
    I have a problem with Apache Reverse Proxy (Apache 2.2) and SAP Enterprise Portal 6.0.
    I configured Apache as a Reverse Proxy Server (with SSL)so that the portal is accessible through the internet. Everything is working fine but the OWA integration doesn't work over the Reverse Proxy.
    If I log on to <u>http://portalsrv.mydomain.xx:12345/irj</u> the OWA integration works fine with SSO and there is no problem with session management.
    If I log on to <u>https://revproxy.mydomain.zz:1234/irj</u> and want to open Outlook I get the message that Session management doesn't work. However the other components like ESS work fine. Deactivating the DSM Logger is not a solution to this problem.
    The Log tells me:
    1.
    Application domain 'mydomain.xx' differs from Portal domain 'mydomain.zz'.
    Session Management will not work for Application 'abc.mydomain.xx'
    2.
    Application schema 'http' differs from Portal schema 'https'.
    Session Management will not work for Application 'abc.mydomain.xx'
    Is there a possibility to write a Rewrite-Rule in the Apache-Conf?
    For instance:
    https://abc.mydomain.xx --> http://abc.mydomain.zz
    Does anybody made such a rule?
    I hope anybody can help me with the problem.
    Thank you

    Hi Daniel,
    ok I`ll try to find a solution in parallel and keep you up to date.
    In the following my settings in case I missed something:
    <VirtualHost test.firma.de:443>
    SSLEngine on
    SSLProxyEngine on
    SSLCertificateFile /apache/keys/pac_ssl_qep_dmz_server.crt
    SSLCertificateKeyFile /apache/keys/pac_ssl_qep_dmz_server.key
    ServerName test.firma.de:443
    ServerAdmin [email protected]
    LogLevel debug
    ErrorLog logs/ssl_443_error
    CustomLog logs/ssl_443_access_log common
    ProxyVia Off
    ProxyPreserveHost On
    ReWriteEngine on
    ReWriteLogLevel 0
    ReWriteLog logs//ssl_443_rewrite_http.log
    ProxyPass / https://backend.firma.de:50001/
    ProxyPassReverse / https://backend.firma.de:50001/
    </VirtualHost>
    Regards, Jens

  • Php 5.12 / Apache 2.054 / Saprfc 1.4.1 for php 5.1.1

    Hi Everybody,
    I am trying to install this sap connector.
    It's easy but no simple to find the good version running together.
    My configuration below :
    Windows XP Pro SP2
    IIS 5.1 on port 80
    Apache 2.054 on port 8080
    Php 5.12
    Saprfc 1.4.1 for php 5.1.1
    I use the binaries distributions for each product.
    I have no issue, i hope, to load php_saprfc.dll module: i have no error message when Apache is starting.
    The test file index.php is running nice and display the environment to screen, BUT I DON'T FIND SAPRFC MODULE.
    If some of you have a idea, thanks for your help.
    If its usefull i have no issue to send us my files httpd.conf and php.ini.
    Best Regards
    Georges FREROT

    Hi Everybody,
    I want test the connector saprfc with php on two technical environments bellow:
    - Windows XP SP2 Professional, IIS 5.1, php 5.11 or 512
    - Windows XP SP2 Professional, Apache 2.054, php 5.11 or 512
    Windows XP is running on C: .
    IIS 5.1 is running on port 80, and Apache 2.054 on port 8080.
    I have build a development workspace on H: .
    The directory tree has this structure:
    H
    Apache2054
    Apache2
    Php511
    ext
    sessions
    includes
    Php512
    ext
    sessions
    includes
    saprfc141-511
    WebDev
    Sessions
    I have downloaded binaries of Apache 2.054, Php 5.11 and 512 and his Pecl 5.11 and 512 and Saprfc 141 511.
    I have uncompressed :
    Php 5.11 under H:\php511, 
    Pecl 5.11 under H:\php511\ext,
    Php 5.12 under H:\php512, 
    Pecl 5.12 under H:\php512\ext,
    Apache 2.054 under H:\Apache2054,
    SapRfc 1.4.1 5.1.1 under H:\saprfc141-511
    My first step is run php on IIS in isapi mode. It’s successful.
    The command localhost:80//Index.php display correctly echo phpinfo().
    My second step is install saprfc requirements:
    Copy:
    php_saprfc.dll in H:\Php511\ext
    php_saprfc.dll in H:\Php512\ext
    librfc32.dll up to date in C:\Windows\System32
    Verify msvcp60.dll up to date is in C:\Windows\System32.
    Modify php.ini:
    Include_path = “.;H:\Php511\includes;H:\Php511\pear”
    Extension_dir =”H:\Php511\ext”
    Include_path = “.;H:\Php512\includes;H:\Php512\pear”
    Extension_dir =”H:\Php512\ext”
    Extension=php_mbstring.dll
    Extension=php_gd2.dll
    Extension= php_saprfc.dll
    Extension=php_soap.dll
    Extension=php_mysql.dll
    To run php 5.11 or php 5.12 I modify the system path and configuration in WebServer 
    The results with php 5.11 are :
    With IIS 5.1 no loading error message, echo phpinfo() running nice, but no display the saprfc module.
    With APACHe 2.054 loading error message the same twice for php_saprfc.dll
    The results with php 5.12 are :
    With IIS 5.1 no loading error message, echo phpinfo() running nice, but no display the saprfc module.
    With APACHe 2.054 no loading error message, echo phpinfo() running nice, but no display the saprfc module
    If some of you have an idea what is wrong or forget at this point, thanks to help me.
    Bests Regards
    Georges FREROT

  • Apache frontend for Weblogic: problem

    Folks,
    I have Apache 2.x running.
    The module "mod_wl_20.so" is in the <apache_home>/modules directory.
    httpd.conf contains the following:
    LoadModule weblogic_module modules/mod_wl_20.so
    <IfModule weblogic_module>
    WebLogicHost <ip-address of weblogic server>
    WebLogicPort 7601
    </IfModule>
    I restart the httpd server without problems...and yet i cannot
    get http://<apache server ip address>/weblogic to work
    though both webserver are workin fine.
    please advise.

    Which platform? WebLogic 8.1 does package the plugin.
    Look in either in the weblogic81\server\lib\XXXXX directory or in the
    weblogic81\server\bin directory for the mod_wl_20.so.
    Eric
    "Alan Wong" <[email protected]> wrote in message
    news:3f02fc95$[email protected]..
    >
    I tried to find the Apache plugin for WebLogic 8.1, but I could not findone.
    I downloaded the one from BEA web site, but it did not work. I run Apache2.0.46
    on Windows 2000 and WebLogic 8.1. The plugin I downloaded gave an errormessage
    complaining about the version is incompatible and require some 20020915version.
    Does anyone know where I can find the apache plugin? We are testing tomove
    forward to WebLogic 8.1 but without the plugin, we can not move forwardwith our
    WebLogic 8.1 upgrade. Thank you for your help.
    Alan

  • Using perl on client version of apache

    I am creating a simple web page locally on my machine that does (vote) polling.
    To do so, I need to use a perl script (in this case).
    How do I install/activate cgi-bin for the built-in apache server so I can test my page?
    By default,all it does is load the perl script text in the browser.
    I do not have OS 10.5 server, just the client.
    Note : I am a hobbyist programmer and can hand-code HTML.

    How do I install/activate cgi-bin for the built-in apache server so I can test my page?
    CGI is already enabled. You just need to save your script in /Library/WebServer/CGI-Executables. This is where Apache is told to look for any /cgi-bin/ URIs.

Maybe you are looking for