logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Syntax error
Author
winkylocc



Joined: 01 Nov 2015
Posts: 10
Location: US

PostPosted: Tue 10 Nov '15 16:10    Post subject: Syntax error Reply with quote

The following line:
Code:
<IfModule ssl_module> SSLRandomSeed startup builtin SSLRandomSeed connect builtin
</IfModule>
Throws the following error:
Code:
httpd: Syntax error on line 515 of /private/etc/apache2/httpd.conf: <IfModule takes one argument, Container for directives based on existence of specified modules

Any help would be great as I don't understand what the error is complaining about.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Tue 10 Nov '15 16:18    Post subject: Reply with quote

<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>

This works here on windows (with line feeds).

I see here on Debian:

<IfModule mod_ssl.c>

The module argument can be either the module identifier or the file name of the module (ends with .c), at the time it was compiled.
Back to top


Reply to topic   Topic: Syntax error View previous topic :: View next topic
Post new topic   Forum Index -> Apache