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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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>
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