Configuring httpd-ssl.conf on Leopard and Apache 2.2.6

Hi everybody,
I recently migrated to Leopard from Tiger 10.4.10. On my Tiger client I had installed my own web server using mod_ssl with Apache 1.3 server. On Leopard, apache 2.2.6 and OpenSSL 0.9.7 are now installed and configurations files have changed.
Since two weeks, I'm trying to install mod_ssl without success on my machine. Thereafter, I will show only what's relevant from two configuration files :
First -> Httpd.conf (which is in /etc/apache2/)
#My port 80 is blocked by my isp
Listen 8080
<IfDefine SSL>
LoadModule ssl_module libexec/apache2/mod_ssl.so
</IfDefine SSL>
LoadModule php5_module /usr/local/php5/libphp5.so
User www
Group www
</IfModule>
<IfModule mod_ssl.c>
Listen 8080
Listen 8083
</IfModule>
DocumentRoot "/Library/WebServer/Documents"
<IfModule dir_module>
DirectoryIndex index.htm lndex.php index.htm default.html
</IfModule>
ErrorLog /private/var/log/apache2/error_log
# Virtual hosts
#Include /private/etc/apache2/extra/httpd-vhosts.conf
# Local access to the Apache HTTP Server Manual
Include /private/etc/apache2/extra/httpd-manual.conf
# Distributed authoring and versioning (WebDAV)
#Include /private/etc/apache2/extra/httpd-dav.conf
# Various default settings
#Include /private/etc/apache2/extra/httpd-default.conf
# Secure (SSL/TLS) connections
#Include /private/etc/apache2/extra/httpd-ssl.conf
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
DirectoryIndex index.html index.php
</IfModule>
#Include /private/etc/apache2/other/*.conf
# end of httpd.conf
Second ->httpd-ssl.conf (which is in /etc/apache2/extra/)( I elided personnal information)
<IfModule mod_ssl.c>
listen 8080
listen 8083
</IfModule>
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl .crl
SSLPassPhraseDialog builtin
#SSLSessionCache "dbm:/private/var/run/ssl_scache"
SSLSessionCache "shmcb:/private/var/run/ssl_scache(512000)"
SSLSessionCacheTimeout 300
SSLMutex "file:/private/var/run/ssl_mutex"
<VirtualHost default:8080>
#Just to keep things sane...
DocumentRoot "/Library/WebServer/Documents"
ServerName myadress.com
ServerAdmin [email protected]
SSLEngine off
</VirtualHost>
<VirtualHost default:8083>
# General setup for the virtual host
DocumentRoot "/Library/WebServer/Documents"
ServerName myadress.com
ServerAdmin [email protected]
ErrorLog "/private/var/log/apache2/error_log"
TransferLog "/private/var/log/apache2/access_log"
# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
SSLEngine on
# SSL Cipher Suite:
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:eNULL
# Server Certificate:
SSLCertificateFile "/private/etc/apache2/ssl.key/server.crt"
#SSLCertificateFile "/private/etc/apache2/server-dsa.crt"
# Server Private Key:
SSLCertificateFile "/private/etc/apache2/ssl.key/server.key"
#SSLCertificateKeyFile "/private/etc/apache2/server-dsa.key"
# Server Certificate Chain:
#SSLCertificateChainFile "/private/etc/apache2/server-ca.crt"
# Certificate Authority (CA):
#SSLCACertificatePath "/private/etc/apache2/ssl.crt"
SSLCACertificatePath "/private/etc/apache2/ssl.key/"
#SSLCACertificateFile "/private/etc/apache2/ssl.crt/ca-bundle.crt"
# Certificate Revocation Lists (CRL):
#SSLCARevocationPath "/private/etc/apache2/ssl.crl"
#SSLCARevocationFile "/private/etc/apache2/ssl.crl/ca-bundle.crl"
# Client Authentication (Type):
#SSLVerifyClient require
#SSLVerifyDepth 10
# Access Control:
#<Location />
#SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)/ \
# and %{SSLCLIENT_S_DNO} eq "Snake Oil, Ltd." \
# and %{SSLCLIENT_S_DNOU} in {"Staff", "CA", "Dev"} \
# and %{TIME_WDAY} >= 1 and %{TIME_WDAY} <= 5 \
# and %{TIME_HOUR} >= 8 and %{TIME_HOUR} <= 20 ) \
# or %{REMOTE_ADDR} =~ m/^192\.76\.162\.[0-9]+$/
#</Location>
# SSL Engine Options:
#SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory "/Library/WebServer/CGI-Executables">
SSLOptions +StdEnvVars
</Directory>
# SSL Protocol Adjustments:
BrowserMatch ".MSIE." \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
# Per-Server Logging:
CustomLog "/private/var/log/apache2/sslrequestlog" \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>
### end of httpd-ssl.conf
When I uncomment this line in httpd.conf :
LoadModule ssl_module libexec/apache2/mod_ssl.so
and try to send the 'apachectl start' command in terminal nothing happens. Apache seems to hang and
no "Apache/2.2.6 (Unix) DAV/2 PHP/5.2.5 configured -- resuming normal operations" in my console log. Of course, nothing in my error_log.
I've read somewhere else that there would be a bug in 9.7 version of modssl and that we should install 9.8 version. Could anybody confirm this ?
Is there somebody here who succeeded installing ssl on apache 2.2.6 and Leopard 10.5.1 ?
Thanks for helping me
Regards

You need the latest plugin.
Get it from at least 6.1 SP4.
Eric
"Michael Congdon" <[email protected]> wrote in message
news:[email protected]..
>
I am having the exact same problem with Apache 2.0.40 on Solaris 2.7 andWebLogic
6.1 SP 1.
Please let me know if you get any help. I don't know of anyone who hassuccessfully
used Apache 2.0 w/WebLogic.
"Yanjing Liu" <[email protected]> wrote:
I tried to use apache plug-in to forward request to a wls6.1sp1 on
Win2000.
>>
So I installed Apache 2.0.40 running on Solaris 8 and simply copymod_wl.so
from
WL_HOME\lib\Solaris to APATHE_HOME/libexec. A few lines has been added
to my httpd.conf,
which are:
LoadModule weblogic_module libexec/mod_wl.so
<IfModule mod_weblogic.c>
WebLogicHost myweblogicserver.com WebLogicPort 7001
</IfModule>
<Location /weblogic>
SetHandler weblogic-handler
</Location>
When I verify the syntax of the httpd.conf file with the followingcommand:
>>
/export/home/apache2/bin/apachectl configtest
Here are the errors I got:
Cannot load /export/home/apache2/libexec/mod_wl_20.so into server:ld.so.1
>>
/export/home/apache2/bin/httpd:fatal: relocation error:file
/export/home/apache2/libexec/mod_wl_20.so: symbol apr_pool_create:referenced
symbol not found.
Has anyone expereinced a similiar problem?
Thanks,
Yanjing

Similar Messages

  • Problem with SSL weblogic plug in and Apache

    We're using mod_wl_22.so with Apache, and after some problems with the mod failing on startup it is now working. We can access the weblogic SSL page fine directly on port 16101 with no warning, when we try via the proxy we get a failure of server Apache bride --------------------------------------------------------------------------------
    No backend server available for connection: timed out after 10 seconds or idempotent set to OFF. And in the wl_proxy.log there is a message that I think relates to the trustedcertfile in our http.conf file. We have a root certificate in pem format as the trustedcertfile.
    ================New Request: [GET /irm_desktop HTTP/1.1] =================
    Thu Jan 27 21:52:15 2011 <258812961651354> INFO: SSL is configured
    Thu Jan 27 21:52:15 2011 <258812961651354> INFO: SSL configured successfully
    Thu Jan 27 21:52:15 2011 <258812961651354> Using Uri /irm_desktop
    Thu Jan 27 21:52:15 2011 <258812961651354> After trimming path: '/irm_desktop'
    Thu Jan 27 21:52:15 2011 <258812961651354> The final request string is '/irm_desktop'
    Thu Jan 27 21:52:15 2011 <258812961651354> SEARCHING id=[sealedinfo-prod:16101] from current ID=[sealedinfo-prod:16101]
    Thu Jan 27 21:52:15 2011 <258812961651354> The two ids matched
    Thu Jan 27 21:52:15 2011 <258812961651354> @@@FOUND...id=[sealedinfo-prod:16101], server_name=[uat.sealedinfo.com], server_port=[443]
    Thu Jan 27 21:52:15 2011 <258812961651354> attempt #0 out of a max of 5
    Thu Jan 27 21:52:15 2011 <258812961651354> Trying a pooled connection for '10.10.10.10/16101/16101'
    Thu Jan 27 21:52:15 2011 <258812961651354> getPooledConn: No more connections in the pool for Host[10.10.10.10] Port[16101] SecurePort[16101]
    Thu Jan 27 21:52:15 2011 <258812961651354> general list: trying connect to '10.10.10.10'/16101/16101 at line 2658 for '/irm_desktop'
    Thu Jan 27 21:52:15 2011 <258812961651354> New SSL URL: match = 0 oid = 22
    Thu Jan 27 21:52:15 2011 <258812961651354> Connect returns -1, and error no set to 10035, msg 'Unknown error'
    Thu Jan 27 21:52:15 2011 <258812961651354> EINPROGRESS in connect() - selecting
    Thu Jan 27 21:52:15 2011 <258812961651354> Setting peerID for new SSL connection
    Thu Jan 27 21:52:15 2011 <258812961651354> 0a0a 0a0a e53e 0000 .....>..
    Thu Jan 27 21:52:15 2011 <258812961651354> Local Port of the socket is 63867
    Thu Jan 27 21:52:15 2011 <258812961651354> Remote Host 10.10.10.10 Remote Port 16101
    Thu Jan 27 21:52:15 2011 <258812961651354> general list: created a new connection to '10.10.10.10'/16101 for '/irm_desktop', Local port:63867
    Thu Jan 27 21:52:15 2011 <258812961648171> WARN: GetSessionCallback: No session match found
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: SSL certificate chain validation failed: 3015
    Thu Jan 27 21:52:16 2011 <258812961651354> trusted certs = 0
    Thu Jan 27 21:52:16 2011 <258812961651354> dumping cert chain
    Thu Jan 27 21:52:16 2011 <258812961651354> commonName is uat.sealedinfo.com
    Thu Jan 27 21:52:16 2011 <258812961648171> WARN: DeleteSessionCallback: No match found!!
    Thu Jan 27 21:52:16 2011 <258812961651354> ERROR: SSLWrite failed
    Thu Jan 27 21:52:16 2011 <258812961651354> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
    Thu Jan 27 21:52:16 2011 <258812961651354> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
    Thu Jan 27 21:52:16 2011 <258812961651354> Marking 10.10.10.10:16101 as bad
    Thu Jan 27 21:52:16 2011 <258812961651354> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0,  line 794 of ../nsapi/URL.cpp]: at line 3094
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Closing SSL context
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Error after SSLClose, socket may already have been closed by peer
    Thu Jan 27 21:52:16 2011 <258812961651354> Failing over after WRITE_ERROR_TO_SERVER exception in sendRequest()
    Thu Jan 27 21:52:16 2011 <258812961651354> attempt #1 out of a max of 5
    Thu Jan 27 21:52:16 2011 <258812961651354> general list: trying connect to '10.10.10.10'/16101/16101 at line 2658 for '/irm_desktop'
    Thu Jan 27 21:52:16 2011 <258812961651354> New SSL URL: match = 0 oid = 22
    Thu Jan 27 21:52:16 2011 <258812961651354> Connect returns -1, and error no set to 10035, msg 'Unknown error'
    Thu Jan 27 21:52:16 2011 <258812961651354> EINPROGRESS in connect() - selecting
    Thu Jan 27 21:52:16 2011 <258812961651354> Setting peerID for new SSL connection
    Thu Jan 27 21:52:16 2011 <258812961651354> 0a0a 0a0a e53e 0000 .....>..
    Thu Jan 27 21:52:16 2011 <258812961651354> Local Port of the socket is 63868
    Thu Jan 27 21:52:16 2011 <258812961651354> Remote Host 10.10.10.10 Remote Port 16101
    Thu Jan 27 21:52:16 2011 <258812961651354> general list: created a new connection to '10.10.10.10'/16101 for '/irm_desktop', Local port:63868
    Thu Jan 27 21:52:16 2011 <258812961648171> WARN: GetSessionCallback: No session match found
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: SSL certificate chain validation failed: 3015
    Thu Jan 27 21:52:16 2011 <258812961651354> trusted certs = 0
    Thu Jan 27 21:52:16 2011 <258812961651354> dumping cert chain
    Thu Jan 27 21:52:16 2011 <258812961651354> commonName is uat.sealedinfo.com
    Thu Jan 27 21:52:16 2011 <258812961648171> WARN: DeleteSessionCallback: No match found!!
    Thu Jan 27 21:52:16 2011 <258812961651354> ERROR: SSLWrite failed
    Thu Jan 27 21:52:16 2011 <258812961651354> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
    Thu Jan 27 21:52:16 2011 <258812961651354> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
    Thu Jan 27 21:52:16 2011 <258812961651354> Marking 10.10.10.10:16101 as bad
    Thu Jan 27 21:52:16 2011 <258812961651354> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0,  line 794 of ../nsapi/URL.cpp]: at line 3094
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Closing SSL context
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Error after SSLClose, socket may already have been closed by peer
    Thu Jan 27 21:52:16 2011 <258812961651354> Failing over after WRITE_ERROR_TO_SERVER exception in sendRequest()
    Thu Jan 27 21:52:16 2011 <258812961651354> attempt #2 out of a max of 5
    Thu Jan 27 21:52:16 2011 <258812961651354> general list: trying connect to '10.10.10.10'/16101/16101 at line 2658 for '/irm_desktop'
    Thu Jan 27 21:52:16 2011 <258812961651354> New SSL URL: match = 0 oid = 22
    Thu Jan 27 21:52:16 2011 <258812961651354> Connect returns -1, and error no set to 10035, msg 'Unknown error'
    Thu Jan 27 21:52:16 2011 <258812961651354> EINPROGRESS in connect() - selecting
    Thu Jan 27 21:52:16 2011 <258812961651354> Setting peerID for new SSL connection
    Thu Jan 27 21:52:16 2011 <258812961651354> 0a0a 0a0a e53e 0000 .....>..
    Thu Jan 27 21:52:16 2011 <258812961651354> Local Port of the socket is 63869
    Thu Jan 27 21:52:16 2011 <258812961651354> Remote Host 10.10.10.10 Remote Port 16101
    Thu Jan 27 21:52:16 2011 <258812961651354> general list: created a new connection to '10.10.10.10'/16101 for '/irm_desktop', Local port:63869
    Thu Jan 27 21:52:16 2011 <258812961648171> WARN: GetSessionCallback: No session match found
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: SSL certificate chain validation failed: 3015
    Thu Jan 27 21:52:16 2011 <258812961651354> trusted certs = 0
    Thu Jan 27 21:52:16 2011 <258812961651354> dumping cert chain
    Thu Jan 27 21:52:16 2011 <258812961651354> commonName is uat.sealedinfo.com
    Thu Jan 27 21:52:16 2011 <258812961648171> WARN: DeleteSessionCallback: No match found!!
    Thu Jan 27 21:52:16 2011 <258812961651354> ERROR: SSLWrite failed
    Thu Jan 27 21:52:16 2011 <258812961651354> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
    Thu Jan 27 21:52:16 2011 <258812961651354> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
    Thu Jan 27 21:52:16 2011 <258812961651354> Marking 10.10.10.10:16101 as bad
    Thu Jan 27 21:52:16 2011 <258812961651354> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0,  line 794 of ../nsapi/URL.cpp]: at line 3094
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Closing SSL context
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Error after SSLClose, socket may already have been closed by peer
    Thu Jan 27 21:52:16 2011 <258812961651354> Failing over after WRITE_ERROR_TO_SERVER exception in sendRequest()
    Thu Jan 27 21:52:16 2011 <258812961651354> attempt #3 out of a max of 5
    Thu Jan 27 21:52:16 2011 <258812961651354> general list: trying connect to '10.10.10.10'/16101/16101 at line 2658 for '/irm_desktop'
    Thu Jan 27 21:52:16 2011 <258812961651354> New SSL URL: match = 0 oid = 22
    Thu Jan 27 21:52:16 2011 <258812961651354> Connect returns -1, and error no set to 10035, msg 'Unknown error'
    Thu Jan 27 21:52:16 2011 <258812961651354> EINPROGRESS in connect() - selecting
    Thu Jan 27 21:52:16 2011 <258812961651354> Setting peerID for new SSL connection
    Thu Jan 27 21:52:16 2011 <258812961651354> 0a0a 0a0a e53e 0000 .....>..
    Thu Jan 27 21:52:16 2011 <258812961651354> Local Port of the socket is 63870
    Thu Jan 27 21:52:16 2011 <258812961651354> Remote Host 10.10.10.10 Remote Port 16101
    Thu Jan 27 21:52:16 2011 <258812961651354> general list: created a new connection to '10.10.10.10'/16101 for '/irm_desktop', Local port:63870
    Thu Jan 27 21:52:16 2011 <258812961648171> WARN: GetSessionCallback: No session match found
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: SSL certificate chain validation failed: 3015
    Thu Jan 27 21:52:16 2011 <258812961651354> trusted certs = 0
    Thu Jan 27 21:52:16 2011 <258812961651354> dumping cert chain
    Thu Jan 27 21:52:16 2011 <258812961651354> commonName is uat.sealedinfo.com
    Thu Jan 27 21:52:16 2011 <258812961648171> WARN: DeleteSessionCallback: No match found!!
    Thu Jan 27 21:52:16 2011 <258812961651354> ERROR: SSLWrite failed
    Thu Jan 27 21:52:16 2011 <258812961651354> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
    Thu Jan 27 21:52:16 2011 <258812961651354> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
    Thu Jan 27 21:52:16 2011 <258812961651354> Marking 10.10.10.10:16101 as bad
    Thu Jan 27 21:52:16 2011 <258812961651354> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0,  line 794 of ../nsapi/URL.cpp]: at line 3094
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Closing SSL context
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Error after SSLClose, socket may already have been closed by peer
    Thu Jan 27 21:52:16 2011 <258812961651354> Failing over after WRITE_ERROR_TO_SERVER exception in sendRequest()
    Thu Jan 27 21:52:16 2011 <258812961651354> attempt #4 out of a max of 5
    Thu Jan 27 21:52:16 2011 <258812961651354> general list: trying connect to '10.10.10.10'/16101/16101 at line 2658 for '/irm_desktop'
    Thu Jan 27 21:52:16 2011 <258812961651354> New SSL URL: match = 0 oid = 22
    Thu Jan 27 21:52:16 2011 <258812961651354> Connect returns -1, and error no set to 10035, msg 'Unknown error'
    Thu Jan 27 21:52:16 2011 <258812961651354> EINPROGRESS in connect() - selecting
    Thu Jan 27 21:52:16 2011 <258812961651354> Setting peerID for new SSL connection
    Thu Jan 27 21:52:16 2011 <258812961651354> 0a0a 0a0a e53e 0000 .....>..
    Thu Jan 27 21:52:16 2011 <258812961651354> Local Port of the socket is 63871
    Thu Jan 27 21:52:16 2011 <258812961651354> Remote Host 10.10.10.10 Remote Port 16101
    Thu Jan 27 21:52:16 2011 <258812961651354> general list: created a new connection to '10.10.10.10'/16101 for '/irm_desktop', Local port:63871
    Thu Jan 27 21:52:16 2011 <258812961648171> WARN: GetSessionCallback: No session match found
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: SSL certificate chain validation failed: 3015
    Thu Jan 27 21:52:16 2011 <258812961651354> trusted certs = 0
    Thu Jan 27 21:52:16 2011 <258812961651354> dumping cert chain
    Thu Jan 27 21:52:16 2011 <258812961651354> commonName is uat.sealedinfo.com
    Thu Jan 27 21:52:16 2011 <258812961648171> WARN: DeleteSessionCallback: No match found!!
    Thu Jan 27 21:52:16 2011 <258812961651354> ERROR: SSLWrite failed
    Thu Jan 27 21:52:16 2011 <258812961651354> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
    Thu Jan 27 21:52:16 2011 <258812961651354> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
    Thu Jan 27 21:52:16 2011 <258812961651354> Marking 10.10.10.10:16101 as bad
    Thu Jan 27 21:52:16 2011 <258812961651354> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0,  line 794 of ../nsapi/URL.cpp]: at line 3094
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Closing SSL context
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Error after SSLClose, socket may already have been closed by peer
    Thu Jan 27 21:52:16 2011 <258812961651354> Failing over after WRITE_ERROR_TO_SERVER exception in sendRequest()
    Thu Jan 27 21:52:16 2011 <258812961651354> attempt #5 out of a max of 5
    Thu Jan 27 21:52:16 2011 <258812961651354> general list: trying connect to '10.10.10.10'/16101/16101 at line 2658 for '/irm_desktop'
    Thu Jan 27 21:52:16 2011 <258812961651354> New SSL URL: match = 0 oid = 22
    Thu Jan 27 21:52:16 2011 <258812961651354> Connect returns -1, and error no set to 10035, msg 'Unknown error'
    Thu Jan 27 21:52:16 2011 <258812961651354> EINPROGRESS in connect() - selecting
    Thu Jan 27 21:52:16 2011 <258812961651354> Setting peerID for new SSL connection
    Thu Jan 27 21:52:16 2011 <258812961651354> 0a0a 0a0a e53e 0000 .....>..
    Thu Jan 27 21:52:16 2011 <258812961651354> Local Port of the socket is 63872
    Thu Jan 27 21:52:16 2011 <258812961651354> Remote Host 10.10.10.10 Remote Port 16101
    Thu Jan 27 21:52:16 2011 <258812961651354> general list: created a new connection to '10.10.10.10'/16101 for '/irm_desktop', Local port:63872
    Thu Jan 27 21:52:16 2011 <258812961648171> WARN: GetSessionCallback: No session match found
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: SSL certificate chain validation failed: 3015
    Thu Jan 27 21:52:16 2011 <258812961651354> trusted certs = 0
    Thu Jan 27 21:52:16 2011 <258812961651354> dumping cert chain
    Thu Jan 27 21:52:16 2011 <258812961651354> commonName is uat.sealedinfo.com
    Thu Jan 27 21:52:16 2011 <258812961648171> WARN: DeleteSessionCallback: No match found!!
    Thu Jan 27 21:52:16 2011 <258812961651354> ERROR: SSLWrite failed
    Thu Jan 27 21:52:16 2011 <258812961651354> SEND failed (ret=-1) at 793 of file ../nsapi/URL.cpp
    Thu Jan 27 21:52:16 2011 <258812961651354> *******Exception type [WRITE_ERROR_TO_SERVER] raised at line 794 of ../nsapi/URL.cpp
    Thu Jan 27 21:52:16 2011 <258812961651354> Marking 10.10.10.10:16101 as bad
    Thu Jan 27 21:52:16 2011 <258812961651354> got exception in sendRequest phase: WRITE_ERROR_TO_SERVER [os error=0,  line 794 of ../nsapi/URL.cpp]: at line 3094
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Closing SSL context
    Thu Jan 27 21:52:16 2011 <258812961651354> INFO: Error after SSLClose, socket may already have been closed by peer
    Thu Jan 27 21:52:16 2011 <258812961651354> Failing over after WRITE_ERROR_TO_SERVER exception in sendRequest()
    Thu Jan 27 21:52:16 2011 <258812961651354> request [irm_desktop] did NOT process successfully..................

    I see that it is six months ago that I first posted this. Nothing has changed. When I use affixa to create a message with an attachment from my gmail account in firefox, the message is created in drafts, but the gmail window is closed and I have to re-open it. Not critical, but annoying.
    Now there is a plug-in on the affixa site that is supposed to be designed for Firefox, and which affixa support claims should take care of this. And I've downloaded it twice. When you download it and open it, it says that it will be installed when Firefox restarts, and gives you a button to restart Firefox. But after you click that button and firefox disappears and re-appears, the affixa plug-in is NOT in the plugin list.
    Please, somebody, HELP.

  • Configuring tomcat and apache on the same system

    i need to configure tomcat and apache on the same system.
    first i have configured apache and it is working well.
    Next is have configured tomcat and it is working well.
    i need to interlink tomcat and apache. so i downloaded jk connector and i have configured it.
    i gave an entry in the httpd.conf as
    Include /tomcat/conf/auto/mod_jk.conf
    i have copied the file mod_jk.so to /usr/local/apache/libexec/
    went i start apache after the entry is given it gives the error like this
    cannot load /usr/local/apache/libexec/mod_jk.so into server: ld_so.1. /usr/local/apache/bin/httpd: fatal : libgcc_s.so.1 : openfailed : no such file or directory in linux
    please help to configure this.
    i have done every thing as it is in apache.org documentation. please give the complete configuration. some say that tomcat is not compiled according to apache1.3. but i configure jk connector as --with-apxs=/usr/local/apache/bin/apxs
    send me the reply
    thankqs in advance

    Hi,
    I'm working in a linux machine and choose to use also two different users. Of course I'm using two different ORACLE_HOME directories.I think that the best approach.Just a question ,are you keeping the "GROUP" same or different?
    Anand

  • SSL connectivity - Weblogic 8.1 and Apache web server 2.0

    I'm using a Apache web server 2.0.64 as a front end web server for Weblogic server v8.1 sp6. I have managed setup the connection between both server and now i want to configure the SSL connection Apache web server. However i have face some problems with the SSL connection and i can't figure out the problems. I'm using the ssl.conf* to do the SSL connection. Here are the changes i did on my ssl.conf:
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    #<IfDefine SSL>
    Listen 443
    SSLPassPhraseDialog builtin
    SSLSessionCache dbm:logs/ssl_scache
    SSLSessionCacheTimeout 300
    <VirtualHost default:443>
    DocumentRoot "C:/Program Files/Apache Group/apache2/htdocs"
    ServerName 10.122.50.218:443
    ServerAdmin [email protected]
    ErrorLog logs/ssl_log TransferLog logs/access_log
    SSLEngine on
    SSLCertificateFile conf/ssl/server.crt
    SSLCertificateKeyFile conf/ssl/server.key
    </VirtualHost>
    #</IfDefine>
    When i testing the application, it comes out :
    NOT Found
    The requested URL /secureWebAuth/ was not found on this server.
    Apache/2.0.64 (Win32) mod_ssl/2.0.64 OpenSSL/0.9.8o Server at 10.122.50.218 Port 443
    What should i do in order to solve this problem? Thanks for your help!!!

    I'm using a Apache web server 2.0.64 as a front end web server for Weblogic server v8.1 sp6. I have managed setup the connection between both server and now i want to configure the SSL connection Apache web server. However i have face some problems with the SSL connection and i can't figure out the problems. I'm using the ssl.conf* to do the SSL connection. Here are the changes i did on my ssl.conf:
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    #<IfDefine SSL>
    Listen 443
    SSLPassPhraseDialog builtin
    SSLSessionCache dbm:logs/ssl_scache
    SSLSessionCacheTimeout 300
    <VirtualHost default:443>
    DocumentRoot "C:/Program Files/Apache Group/apache2/htdocs"
    ServerName 10.122.50.218:443
    ServerAdmin [email protected]
    ErrorLog logs/ssl_log TransferLog logs/access_log
    SSLEngine on
    SSLCertificateFile conf/ssl/server.crt
    SSLCertificateKeyFile conf/ssl/server.key
    </VirtualHost>
    #</IfDefine>
    When i testing the application, it comes out :
    NOT Found
    The requested URL /secureWebAuth/ was not found on this server.
    Apache/2.0.64 (Win32) mod_ssl/2.0.64 OpenSSL/0.9.8o Server at 10.122.50.218 Port 443
    What should i do in order to solve this problem? Thanks for your help!!!

  • How to configure httpd.conf for multiple websites on one webserver

    So, right now I have my primary website on a pay-for domain. A friend of mine wants a website and I want to host his and my sites on the same server. For his website, I'll use a DynDNS address.
    So, pretty much, I want to be able to go to my domain and get my site and go to his domain and get his site. I've spent hours trying to get VirtualHosts to work, but haven't gotten it to work yet.
    PS. In Apache, I have User set to Administrator (my user name).
    MacBook Pro 2.16   Mac OS X (10.4.9)  

    First, set the user back to www or whatever it was. To do namebased virtual hosting, you'll need to change two things. The first is to add a NameVirtualHost directive to /etc/httpd/sites/virtualhostglobal.conf
    This is one of the VirtualHost stanzas from my Linux box, you just have to adjust the paths for your machine:
    <VirtualHost www.mydomain.com>
    ServerAlias mydomain.com
    ServerAdmin [email protected]
    DocumentRoot /usr/people/httpd/html/www
    <Directory /usr/people/httpd/html/www>
    Options Includes
    AllowOverride AuthConfig
    </Directory>
    ScriptAlias /bin /usr/people/httpd/cgi-bin/www
    ScriptAlias /cgi-bin /usr/people/httpd/cgi-bin/www
    </VirtualHost>
    Restart Apache and you should be good to go. If there are errors, could you post them from /var/log/httpd/error_log ?
    Roger

  • Problem in configuring tomcat and apache

    I am using mod_jk to configure tomcat and apache. In the server.xml file in /TOMCAT_HOME/conf, I have added this line:
    <Listener className="org.apache.jk.config.ApacheConfig" modJk="/TOMCAT_HOME/mod_jk/mod_jk.so" />
    And when I restart the tomcat, I get this error:
    Caused by: java.lang.RuntimeException: Unable to create path to config file :
    /usr/local/tomcat/apache-tomcat-5.5.15/conf/auto/mod_jk.conf
    What this error is and how it will be removed. Any suggestion?
    Joseph

    Seems like a filesystem user rights problem. Perhaps tomcat is running as a seperate user and this user has no rights to write to one of the subdirectories?

  • Snow Leopard and Exchange 2007 Configuration Issues

    I know this topic may have been covered in here previously but I have yet to find a solution.
    Here is the background. Our CEO has a Mac Book and two weekends ago he updated to Snow Leopard and now wants to use the Mail client on his Mac rather than OWA to get his email. We have Exchange 2007 (I am the Admin) and have all the latest patches and Roll Ups installed. We run OWA without issue and have 10 iPhones working perfectly (i realized they use different technology to sync). I enabled EWS by following this link http://technet.microsoft.com/en-us/library/bb201695.aspx and this is the actual command i used:
    Set-WebServicesVirtualDirectory -identity exchaname\EWS* -externalurl https://webmail.domain.com/EWS/Exchange.asmx -BasicAuthentication:$True
    Seems to have run properly and there are no errors reported.
    Now when I go to connect using the Mac it does not Auto Discover and I must enter manually. I enter what i think it needed and its not working. On the Account Information Tab I have the following:
    Description: generic name
    Email Address: [email protected]
    Full Name: The Person's Name
    Internal Server: webmail.domain.com *Not sure what should be here
    External Server: Webmail.domain.com *Again not sure if this is correct
    Username: AD user name Also tried domain\username
    Password: AD password
    Ougoing Mail Server: not sure what should be here
    Next is the Mailbox behavior Tab:
    Did not change anything
    Advanced Tab:
    Internal Server Path: EWS/Exchange.asmx
    Port:80 SSL unchecked
    External Server: EWS/Exchange.asmx
    Port: 80 SSL unchecked
    I get no connections and I am sure somehting is not correct in the above but I am lost and new to Exchange as it is. Also new to Mac's
    Help Please

    We are already using webmail.domain.com for our OWA URL, well actually it is webmail.domain.com\OWA. Would I need one for the EWS & Autodiscover to use webmail.domian.com\ews?
    We have rules in the firewall for Exchange and OWA. Would we need another for this?

  • Configuration SAP EP systems in HTTPS and SSL

    Hi,
    Can anyone tell me the regarding the configuration SAP EP systems in HTTPS and SSL.
    The scenario is  Client -->Application gateway( Web Dispatcher) -->EP6
    Regards,
    Moulinath Ray

    Hi,
    I am giving to you the steps we do for our securization (EP 7.0):
    Prerequisites:
    -Download SAP Cryptographic ToolKit at http://service.sap.com/ swdc and -> SAP Crypto-graphic Software -> SAP JAVA CryptoToolkit (J2EE Engine as of Release 6.30)
    -Unzip it with SAPCAR
    Logon in SDM and deploy the file
    Check in Visual Admin -> Dispatcher/Server -> Libraries -> core_libs iaik_jce.jar is included
    Loof for SSL Service in Config Tool in Server and Dispatcher, it should be "always"
    Steps:
    -Asking for a certificate
    Visual Admin -> Cluster -> Server (central instance ) -> Services -> Key storage -> Service_ssl -> Create
    Fill in all the data, and be careful with the common name:
    -It shouldn´t have "http" or "https" on it
    -It shouldn´t have port number on it
    For example: "https
    www.myportal.domain:port", the common name should be "www.myportal.domain"
    Visual Admin -> Key Storage -> service_ssl -> Select your certificate and u201CGenerate CSR Requestu201D
    Send the file to a CA
    -Importing the validated certificate:
    Visual Admin -> Key Storage -> Import CSR Response
    In each Server, under SSL Provider, assign the certificate to port 50001, in each Dispatcher
    Now, the portal is secure, and you can check it now.
    A last step would be export the certificate and send it to your Network Team, so they can export it in the load balancing server, reverse proxy, etc.
    You can have a look at this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm
    Some of the threads link:
    /message/5568001#5568001
    /thread/853387
    Regards,
    Niraj
    Edited by: Niraj Kumar on Jan 22, 2009 3:59 PM

  • Unable to find configuration file: JDeveloper.conf   (Leopard)

    jdev 10.1.3.3 will not start on OS X Leopard. Any ideas?
    Here are the console messages:
    Oracle JDeveloper 10g 10.1.3.3
    Copyright 1997, 2007 Oracle. All Rights Reserved
    Unable to find configuration file: JDeveloper.conf
    Exited with exit code: 1
    Regards.
    Al Malin

    Am getting the same problem, unable to start jdeveloper on Mac OS X Leopard. but, am getting a different message in the console log
    5/24/08 5:18:39 PM [0x0-0x14014].com.oracle.JDeveloper[150] Oracle JDeveloper 10g 10.1.3.3
    5/24/08 5:18:39 PM [0x0-0x14014].com.oracle.JDeveloper[150] Copyright 1997, 2007 Oracle. All Rights Reserved
    5/24/08 5:18:40 PM [0x0-0x14014].com.oracle.JDeveloper[150] Exception in thread "main" java.lang.NoClassDefFoundError: Mughrabi/jdevhome
    5/24/08 5:21:13 PM com.apple.launchd[1] (0x10bbd0.mdworker[98]) Exited: Killed
    Please advice?

  • Integrating jboss and apache httpd webserver

    Hi folks,
    I am a new comer in J2EE realm. Prior to this, I have been using Tomcat and Apache httpd and serves me very nicely.
    However, I am now required to evaluate the possibilities of using JBoss. Since we are in need of Apache httpd webserver (we are still serving some old cgi-based), how can we integrate JBOSS and Apache? This is to say that when the request is for J2EE, how can we let Apache forwards this request to JBoss for processing? is this possible though?
    I really appreciate you helping me.
    Thanks in bundle before hand.
    Regards,

    try this http://www.pubbitch.org/jboss/

  • WLS 6.1 SP3 and apache plugin

    Hello,
    I have WLS 6.1 SP3 and apache 1.3.26 installed on solaris 8.
    I enabled the weblogic Weblogic Plug-In Enabled for my wls server and
    then I configured my apache server like the following:
    1) I used mod_wl.so that comes with wls under
    \bea\wlserver6.1\lib\solaris
    2) Then I loaded that module using APACHE_HOME/bin/apxs -i -a -n
    weblogic mod_wl.so
    When I load the module I get the following:
    [Thu Jan 15 10:05:53 2004] [warn] Loaded DSO libexec/mod_wl.so uses
    plain Apache 1.3 API, this module might crash under EAPI!
    please recompile it with -DEAPI)
    /usr/apache/bin/apachectl start: httpd started
    I don't understand that message
    3) The following lines were added to httpd.conf:
    LoadModule weblogic_module libexec/mod_wl.so
    AddModule mod_weblogic.c
    4) Then I added the following to the httpd.conf:
    <IfModule mod_weblogic.c>
    WebLogicHost 10.1.10.205(my weblogic IP)
    WebLogicPort 7020 (my weblogic port)
    FileCaching On
    MatchExpression *.jsp
    </IfModule>
    The problem is that the apache server is not able to redirect the jsp
    calls to the WLS server and I'm always getting "The page cannot be
    displayed"
    Any information that might guide me to solve this problem is appreciated
    Itani Mohamed
    SoftSolutions
    Tel: +961.1.90.11.70 ext:141
    Fax: +961.1.90.11.75
    www.softsolutions.fr

    Itani,
    Please try the mod-wl-ssl.so module shipped with weblogic, as this module is compiled with -DEAPI flag

  • OTC ssl.conf file does not have ssl wallet file location details

    Hi B2B Gurus,
    While doing the HTTPS configuration in OTC we observed that some of lines were missing in ssl.conf file located at <Oracle_Home>\Apache\Apache\conf. The below mentioned lines are missing in OTC’s ssl.conf but present in OracleB2B’s ssl.conf
    Even ssl wallet file location is also missing in OTC ssl.conf file as mentioned below.
    Can u please let us know as why these lines are missing or should we manually add these lines when we do HTTPS on OTC ?
    Listen 4444
    <VirtualHost default:4444>
    # General setup for the virtual host
    DocumentRoot "E:\Oracle_b2b\cachehome\Apache\Apache\htdocs"
    ServerName DSCP17506.TechMahindra.com
    ServerAdmin [email protected]
    ErrorLog "|E:\Oracle_b2b\cachehome\Apache\Apache\bin\rotatelogs logs/error_log 43200"
    TransferLog "|E:\Oracle_b2b\cachehome\Apache\Apache\bin\rotatelogs logs/access_log 43200"
    Port 443
    # SSL Engine Switch:
    # Enable/Disable SSL for this virtual host.
    SSLEngine on
    # SSL Cipher Suite:
    # List the ciphers that the client is permitted to negotiate.
    SSLCipherSuite ALL:!ADH:!EXPORT56:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP
    # Server Wallet:
    # The server wallet contains the server's certificate, private key
    # and trusted certificates. Set SSLWallet at the wallet directory
    # using the syntax: file:<path-to-wallet-directory>
    SSLWallet file:E:\Oracle_b2b\cachehome\Apache\Apache\conf\ssl.wlt\default
    # Certificate Revocation Lists (CRL):
    # Set the CA revocation path where to find CA CRLs for client
    # authentication or alternatively one huge file containing all
    # of them (file must be PEM encoded)
    # Note: Inside SSLCARevocationPath you need hash symlinks
    # to point to the certificate files. Use the provided
    # Makefile to update the hash symlinks after changes.
    #SSLCARevocationPath conf\ssl.crl
    #SSLCARevocationFile conf\ssl.crl\ca-bundle.crl
    # Client Authentication (Type):
    # Client certificate verification type and depth. Types are
    # none, optional and require
    #SSLVerifyClient require
    # Access Control:
    # With SSLRequire you can do per-directory access control based
    # on arbitrary complex boolean expressions containing server
    # variable checks and other lookup directives. The syntax is a
    # mixture between C and Perl. See the mod_ssl documentation
    # for more details.
    #<Location />
    #SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)-/ \
    # and %{SSL_CLIENT_S_DN_O} eq "Snake Oil, Ltd." \
    # and %{SSL_CLIENT_S_DN_OU} in {"Staff", "CA", "Dev"} \
    # and %{TIME_WDAY} >= 1 and %{TIME_WDAY} <= 5 \
    # and %{TIME_HOUR} >= 8 and %{TIME_HOUR} <= 20 ) \
    # or %{REMOTE_ADDR} =~ m/^192\.76\.162\.[0-9]+$/
    #</Location>
    # SSL Engine Options:
    # Set various options for the SSL engine.
    # o FakeBasicAuth:
    # Translate the client X.509 into a Basic Authorisation. This means that
    # the standard Auth/DBMAuth methods can be used for access control. The
    # user name is the `one line' version of the client's X.509 certificate.
    # Note that no password is obtained from the user. Every entry in the user
    # file needs this password: `xxj31ZMTZzkVA'.
    # o ExportCertData:
    # This exports two additional environment variables: SSL_CLIENT_CERT and
    # SSL_SERVER_CERT. These contain the PEM-encoded certificates of the
    # server (always existing) and the client (only existing when client
    # authentication is used). This can be used to import the certificates
    # into CGI scripts.
    # o StdEnvVars:
    # This exports the standard SSL/TLS related `SSL_*' environment variables.
    # Per default this exportation is switched off for performance reasons,
    # because the extraction step is an expensive operation and is usually
    # useless for serving static content. So one usually enables the
    # exportation for CGI and SSI requests only.
    # o CompatEnvVars:
    # This exports obsolete environment variables for backward compatibility
    # to Apache-SSL 1.x, mod_ssl 2.0.x, Sioux 1.0 and Stronghold 2.x. Use this
    # to provide compatibility to existing CGI scripts.
    # o StrictRequire:
    # This denies access when "SSLRequireSSL" or "SSLRequire" applied even
    # under a "Satisfy any" situation, i.e. when it applies access is denied
    # and no other module can change it.
    # o OptRenegotiate:
    # This enables optimized SSL connection renegotiation handling when SSL
    # directives are used in per-directory context.
    #SSLOptions FakeBasicAuth ExportCertData CompatEnvVars StrictRequire
    <Files ~ "\.(cgi|shtml)$">
    SSLOptions +StdEnvVars
    </Files>
    <Directory "E:\Oracle_b2b\cachehome\Apache\Apache\cgi-bin">
    SSLOptions +StdEnvVars
    </Directory>
    SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
    # Per-Server Logging:
    # The home of a custom SSL log file. Use this when you want a
    # compact non-error SSL logfile on a virtual host basis.
    CustomLog E:\Oracle_b2b\cachehome\Apache\Apache\logs\ssl_request_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
    </VirtualHost>
    Thanks for your help in Advance.
    Regards,
    Priyanka

    Hi Ramesh,
    We added the missing entries in ssl.conf file and tested it out. It is working fine. When we did slient install we are facing this error, we found that this is a bug in 10.1.2.3 AS patch (5983622) silent install. Raised an SR on this and Support is working to get this fixed.
    Regards,
    Priyanka

  • Tomcat 4.0 and Apache 2.0.35

    Hello,
    I am trying to install mod_jk or mod_webapp.so with Tomcat 4.0 and Apache 2.0.35, running on Windows XP Professional. When I try to start Apache, it fails to see it the new module in the modules/ directory, even though it's most definitely there. Anybody have any thoughts?

    The Tomcat 4 has different settings compared to the previous releases (Tomcat 3.3.x and Tomcat 3.2.x). If the previous releases use mod_jk.dll and/or mod_jk.so, the version 4 uses different modules. I have obtained the following from the server.xml file from Tomcat 4.0.3.
    The MOD_WEBAPP connector is used to connect Apache 1.3 with Tomcat 4.0
    as its servlet container. Please read the README.txt file coming with
    the WebApp Module distribution on how to build it.
    (Or check out the "jakarta-tomcat-connectors/webapp" CVS repository)
    To configure the Apache side, you must ensure that you have the
    "ServerName" and "Port" directives defined in "httpd.conf". Then,
    lines like these to the bottom of your "httpd.conf" file:
    LoadModule webapp_module libexec/mod_webapp.so
    WebAppConnection warpConnection warp localhost:8008
    WebAppDeploy examples warpConnection /examples/
    The next time you restart Apache (after restarting Tomcat, if needed)
    the connection will be established, and all applications you make
    visible via "WebAppDeploy" directives can be accessed through Apache.

  • Trac (project management) and apache

    I'm having some problems setting up Trac as explained in this wiki article:
    http://wiki.archlinux.org/index.php/SCM_Example_Trac
    The problem is with Apache and its configuration.
    Im getting a 403 Forbidden when trying to access the trac web.
    Here is the error:
    Forbidden
    You don't have permission to access / on this server.
    Additionally, a 401 Authorization Required error was encountered while trying to use an ErrorDocument to handle the request.
    Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8h DAV/2 mod_python/3.3.1 Python/2.5.2 SVN/1.4.6 Server at 192.168.1.69 Port 80
    I know trac is working ok because I can access using the tracd webserver.
    Here is my httpd-vhosts.conf section of trac:
    <VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot "/var/empty"
    ServerName scm.cracker.lan
    <Location />
    Require valid-user
    AuthType Digest
    AuthName "svnrepos"
    AuthDigestDomain http://192.168.1.69/
    AuthDigestProvider file
    AuthUserFile /home/repo/conf/scm-user
    </Location>
    <Location /svn>
    DAV svn
    SVNParentPath /home/repo/svn
    SVNPathAuthz off
    </Location>
    <Location /trac>
    SetHandler mod_python
    PythonHandler trac.web.modpython_frontend
    PythonOption TracEnvParentDir /home/repo/trac
    PythonOption TracUriRoot /trac
    </Location>
    </VirtualHost>
    All the folders and files named here exist.
    Since Arch changed the paths and the way Apache worked, I have been a bit lost on its configuration.
    On the discussion tab of the wiki article, there is someone who couldn't get trac to work with this settings and used ScriptAlias instead, I dont know how to do that.
    Regards,
    Last edited by sud_crow (2008-09-08 14:58:01)

    I solved this issue, will be updating the documentation in the wiki soon.
    Regards.

  • Enable PHP and apache!

    Hello,
    Is there a simple way to enable php and apache on my new imac? So I can test my website locally. Hopefully its not a lot of steps. I have seen a lot of tutorials by using google. But they involve terminal and I don't know that well to be able to mess with it. I don't want to ruin my computer. So any help would be appreciated.
    Thanks,
    Kash_Money

    And to answer your first question, "how can I use a .html extension page" see http://discussions.apple.com/thread.jspa?messageID=5850167&#5850167
    which is, however, for Tiger. On Leopard, the relevant file is /etc/apache2/httpd.conf and it turns out that /etc/apache2/other/php5.conf is even more relevant for exactly what you want.
    Specifically, first read the first paragraph therein for why you should do something else instead. However, the hopefully not too crazy instructions (sorry, but the only way I know how uses the Terminal and emacs, so due to your Terminal-phobia I'll give detailed instructions and hope I'm not insulting you too much), will be for what you want, not for what I think you should do. The Terminal+emacs instructions are needed because /etc/ is a hidden directory owned by root, which makes it hard to use TextEdit to edit it.
    So open a Terminal , and type
    sudo emacs /etc/apache2/other
    emacs is a text editor that works inside the Terminal, and which, for the uninitiated, has weird key bindings. You'll probably see something like
    <pre style="background: #eee">
    <IfModule php5_module>
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps
    <IfModule dir_module>
    DirectoryIndex index.html index.php
    </IfModule>
    </IfModule>
    </pre>
    Press the down arrow key, ctrl-e, and type " .html". The file contents should now look like
    <pre style="background: #eee">
    <IfModule php5_module>
    AddType application/x-httpd-php .php .html
    AddType application/x-httpd-php-source .phps
    <IfModule dir_module>
    DirectoryIndex index.html index.php
    </IfModule>
    </IfModule>
    </pre>
    Type ctrl-x ctrl-s to save, and then ctrl-x ctrl-c to exit.
    Restart the web server, either by typing
    sudo apachectl restart
    or by going into System Preferences and unchecking, then checking web sharing.

Maybe you are looking for

  • Error message: "This document contains photoshop data which appears to be damaged."

    I saved the file I was working on by choosing "Save" from the "File" menu. Unfortunately after 10 min as I saved my work  my PC had "issues" and needed to be manually shut off. I was trying to open the psd file after restarting my computer and I get

  • Where is the best practice to have the controlling logic in scenarios....

    The following steps need to executed in the system: 1> Need to store the data that User has selected in the screens that he has visited till now (selecting data is not part of this step 1 for now); focus of step 1 is there is some data which needs to

  • MFMessageErrorDomain error 1035 sending mail

    I've just upgraded my second tiger box to leopard. Now I can't send mail - it just gives: Operation could not be completed. (MFMessageErrorDomain error 1035.) Now. The server runs courier imap(s)/pop(s) with a self-cert certificate and smtp (exim4) a

  • Why does my nonwireless keyboard stop functioning out of the blue?

    Quad 2.5 10.4.6 keyboard works on my other G5 when i restart it works why does it stop working about once a month out of the blue cant type etc unless i restart repaired perms and first aide ok everything else seems fine ??? ?? ?? ????

  • Context menu in the Universal Worklist

    Hello all, I'm migrating from Portal 7.0 to 7.3, and right now, I'm trying to migrate the UWL configuration. I created the Universal Worklist Systems, I uploaded all the .xml configurations, I re-registered the system, I configurated the UWL iView...