I installed webwork from a live DVD - I believe it's 2.4 on Ubuntu 9.10. Things seem to work fine, but I must access by typing ip_address/webwork2. I need to be able to start webwork with JUST ip_address. Right now if I use the ip_address I get the default "It works! This is the default web page for this server ... (Oh yeah, webwork is the ONLY thing that this apache server is serving.)
This appears to be an apache configuration thing, but I can't figure out the exact details. Can anyone help me?
This is indeed something you can do with an apache configuration.
Here is how we did it on our server (the relevant files may be someplace else on your server):
1) mv /usr/local/apache2/htdocs/index.html to index.html.dist or some such thing.
2) create a new /usr/local/apache2/htdocs/index.html
which contains only the following single line:
(obviously above you replace webwork.uoregon.edu/webwork2 with whatever the URL for webwork is on your server)
OK, now I've done this twice - I'm very sorry. The auto-format interprets the line I'm trying to give you as code, and then doesn't send it.
The line is:
meta HTTP-EQUIV="REFRESH" content="0; url=http://webwork.uoregon.edu/webwork2"
except it needs to be enclosed in angle brackets.