32 bit Apache on Windows 7 x64 Error

Problem
C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin>httpd.exe
Syntax error on line 62 of C:/Program Files (x86)/Apache Software Foundation/Apa
che2.2/conf/extra/httpd-ssl.conf:
SSLSessionCache: Invalid argument: size has to be >= 8192 bytes

Cause
http://wiki.apache.org/httpd/SSLSessionCache

Resolution

; use mklink to create a directory
C:\Program Files (x86)>MKLINK
Creates a symbolic link.

MKLINK [[/D] | [/H] | [/J]] Link Target

        /D      Creates a directory symbolic link.  Default is a file
                symbolic link.
        /H      Creates a hard link instead of a symbolic link.
        /J      Creates a Directory Junction.
        Link    specifies the new symbolic link name.
        Target  specifies the path (relative or absolute) that the new link
                refers to.

MKLINK c:\admin\Apache "c:\Program Files (x86)\Apache Sof
tware Foundation" /d
symbolic link created for c:\admin\Apache <<===>> c:\Program Files (x86)\Apache
Software Foundation

Edit C:/Program Files (x86)/Apache Software Foundation/Apa
che2.2/conf/extra/httpd-ssl.conf

and change this
SSLSessionCache "shmcb:C:/Program Files (x86)/Apache Software Foundation/Apache2.2/logs/ssl_scache(512000)"
to this
SSLSessionCache "shmcb:C:/admin/Apache/Apache2.2/logs/ssl_scache(512000)"

Trackbacks/Pingbacks

  1. How to set up your web server for Facebook Secure Browsing on Windows | Thought Labs Blog - [...] apache “logs” directory, remove the (x86) from “Program Files” to fix the annoying error for Apache on 64-bit Windows …
  2. How to Enable HTTPS on Apache on Windows 7 to Support Facebook Secure Browsing | Thought Labs Blog - [...] Anywhere that has the apache "logs" directory, remove the (x86) from "Program Files" to fix the annoying error for …

Submit a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>