How do I enable mod_proxy on Apache2 in linux

    Date: 01/07/05 (Apache)    Keywords: linux, apache

    i think i'm the only person that ever posts here. ;)

    again, i'm new to apache under linux, so this may be elementary...

    how exactly do I enable mod_proxy in Apache2? I'm pretty certain I compiled it properly, but I get Invalid command 'RewriteEngine' in the error log from my [previously working on win32 apache] .htaccess file. I am presuming this is because mod_rewrite is not enabled.

    I thought [though retrospectively incorrectly] that if I compiled Apache with --enable-MODULE it would automatically enable those modules. Is there something else I need to do?

    Here's my ./configure script -- does it look right?
    ./configure -prefix=/usr/local/apache2 \
    --enable-module=so \
    --enable-module=auth_db \
    --enable-module=digest \
    --enable-module=example \
    --enable-module=log_agent \
    --enable-module=mime_magic \
    --enable-module=usertrack \
    --enable-module=auth_anon \
    --enable-module=auth_digest \
    --enable-module=cern_meta \
    --enable-module=expires \
    --enable-module=proxy \
    --enable-module=unique_id \
    --enable-module=vhost_alias \
    --enable-module=auth_dbm \
    --enable-module=headers \
    --enable-module=info \
    --enable-module=log_referer \
    --enable-module=mmap_static \
    --enable-module=speling \
    --enable-module=rewrite


    Thanks so much!

    Source: http://www.livejournal.com/community/apache/15652.html

« Ubuntu PHP4 Question || Quick question... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home