Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8689321
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:37:02+00:00 2026-06-12T23:37:02+00:00

In my httpd.conf file I have these lines: LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so AddModule mod_proxy.c ProxyPass

  • 0

In my httpd.conf file I have these lines:

LoadModule proxy_module  /usr/lib/apache2/modules/mod_proxy.so
AddModule  mod_proxy.c



ProxyPass         /myapp  http://ec2-54-242-101-196.compute-1.amazonaws.com:8080/
ProxyPassReverse  /myapp  http://ec2-54-242-101-196.compute-1.amazonaws.com:8080/

When I restart the apache I get the error like this :

Syntax error on line 2 of /etc/apache2/httpd.conf:
Invalid command 'AddModule', perhaps misspelled or defined by a module not included in the server configuration
Action 'configtest' failed.
The Apache error log may have more information.
   ...fail!

I followed the tutorial form here.

Where I’m making the mistake?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T23:37:04+00:00Added an answer on June 12, 2026 at 11:37 pm

    The AddModule directive is not present in httpd 2.0 and later. Remove it.

    Are you really using Apache httpd 1.3? Read the last line on that whole page you referenced. Also, are you really using Tomcat 4.1? Try using the documentation for the version you are actually using. In fact, forget the Tomcat documentation. Go for the httpd documentation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In the httpd.conf file I have AllowOverride FileInfo . In the .htaccess file in
I'm trying to edit the httpd.conf file located in /private/etc/apache2, and I can't figure
I'm trying to share a single httpd.conf file across multiple OS X machines. I'm
I want to open the httpd.conf file and change the LogFormat line with the
My httpd-vhosts.conf file looks something like this. I am trying to create 2 virtual
I'm using Wamp 2.2, edited conf/extra/httpd-vhosts.conf edited this file to add VirtualHosts , but
@echo off for /f %%a in (httpd.conf) do ( echo %%a ) I have
So i have just set new Error Handlers in httpd.conf for custom error pages:
Apache webserver setup added: AddType application/x-mpegURL .m3u8 AddType video/MP2T .ts to httpd.conf file. Movie
Coding for PHP on Mac OSX Lion, using the following within the httpd.conf file:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.