Written by James McDonald

October 7, 2010

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)"

0 Comments

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 *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…