Menu

Apache misconfiguration?

Help
2003-10-13
2003-10-14
  • Leonardo Hernandez

    Hi,
    I'm getting some trouble in configuring coursework, I think I have some configuration in apache that "interferes" with coursework. I have no problem when I access http://localhost/coursework/ but when I access http://localhost/coursework/servlet/UserRegistration or
    http://localhost/coursework/servlet/UserLogin for instance, I receive an "OBject not Found" error.
    By the way, I can access /AdminHelp and /StudentHelp without a problem.
    Do you think I have misconfigured apache or something?
    Thanks,
    -kAmuS

     
    • Sam Ottenhoff

      Sam Ottenhoff - 2003-10-13

      Are you able to access any servlets?

      Is this running on a recent version of Tomcat (> 4.1)?

      You may need to add an invoker servlet in server.xml or web.xml:

        <servlet-mapping>
           <servlet-name>invoker</servlet-name>
           <url-pattern>/servlet/*</url-pattern>
        </servlet-mapping>

       
    • Jason Cole

      Jason Cole - 2003-10-14

      Also check your Apache/Tomcat adapter. We're using mod_jk. Be sure to put JkMount directives in the mod_jk.conf file in apache/conf

      Ours looks like this

      Alias /coursework "/usr/local/tomcat/webapps/coursework"
      <Directory "/usr/local/tomcat/webapps/coursework">
          Options Indexes FollowSymLinks
      </Directory>
      JkMount /coursework/servlet/* ajp13
      JkMount /coursework/*.dtl ajp13
      JkMount /coursework/class/* ajp13

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.