Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

OS X Lion Web Sharing won't start. I checked it with apachectl configtest and got this:

httpd: Syntax error on line 102 of /private/etc/apache2/httpd.conf: LoadModule takes two arguments, a module name and the name of a shared object file to load it from

How can I proceed?

share|improve this question
    
also, when I try and test the psp with <?php phpinfo(); ?> I get [ Error writing info.php: Permission denied –  jwags Jul 31 '12 at 4:27

1 Answer 1

Please check line 102 of the file /private/etc/apache2/httpd.conf, perhaps the format of the LoadModule statement is wrong.

The right format is:

LoadModule info_module libexec/apache2/mod_info.so
share|improve this answer
    
just checked this. the format is and was correct –  jwags Jul 31 '12 at 4:10
    
when I enter /private/etc/apache2/httpd.conf I get an access denied statement –  jwags Jul 31 '12 at 4:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.