WeBWorK Main Forum

Hardcopy generator problem

Re: Hardcopy generator problem

by Ted Cox -
Number of replies: 0
Arghh! Now somehow things are even worse. I get the following when I try to get a hardcopy:

Not Found

The requested URL /webwork2_course_files/MAT521_F07/tmp/hardcopy/MAT521_F07.jtcox.Week-2.pdf was not found on this server.

Apache/1.3.36 Server at webwork.syr.edu Port 81

In the apache error_log I see:

[Tue Sep 11 14:30:07 2007] [warn] [client] [/webwork2/MAT521_F07/hardcopy/] Preserved temporary files in directory '/usr/local/webwork2/courses/MAT521_F07/html/tmp/hardcopy/work.wpDkpesX'.
[Tue Sep 11 14:30:07 2007] [error] [client] File does not exist: /usr/local/webwork2/courses//html/

Notice // above and the missing course name.

Last year using webwork 2.2.1 I had a problem like this which was apparently due to aliasmatch in webwork.apache-config and solved it as suggested by putting in aliases for each course. Now with webwork 2.3.2 this workaround doesn't work, meaning that apache displays the contents of a directory instead of the login page.

I am totally confused now.