httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Subra A Narayanan" <>
Subject Module conflict - Help
Date Wed, 05 Mar 2008 17:05:33 GMT
Hello folks,

I am working on a large project with a bunch of other developers. As part of
my work I wrote an Apache module. I deployed the module using the following
directives in a separate conf file:


Here are the contents of my file

*LoadModule my_module /usr/local/mymodule/lib/*
<Location /photos>
#       SetHandler my_module

So when I would type in http://localhost/mymodule, I would get a welcome
page for my module

Everything was working perfectly fine until another developer from the team
made this entry in the httpd.conf file

# LoadModule fastcgi_module modules/

# AddHandler fastcgi-script .fcgi

<VirtualHost *:888>
    *DocumentRoot /var/www/rails/gui/public*
    #ErrorLog /var/log/httpd/testapp-error_log
    #CustomLog /var/log/httpd/testapp-access_log common
    Options Indexes ExecCGI FollowSymLinks
    RewriteEngine On
        LoadModule fcgid_module modules/
        addHandler fcgid-script .fcgi
<Directory /var/www/>
        Options Indexes ExecCGI FollowSymLinks
        AllowOverride all
        #AddHandler fcgid-script .fcgi

Now when I try http://localhost/mymodule, I get a page not found 404 error.
Neither is my co-worker able to bringup his gui app using
http://localhost:888 <http://localhost/mymodule>

If I comment out this line from above
*DocumentRoot /var/www/rails/gui/public

*my module starts working. For my coworkers gui app to work, he has to
comment out this line from mymodule.conf file:

*LoadModule maui_module /usr/local/maui/lib/

Any idea as to why this conflict is happening?

Thanks so much for any help/pointers


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message