openwebwork / webwork2

Course management front end for WeBWorK
http://webwork.maa.org/wiki/Main_Page
Other
140 stars 164 forks source link

location of pg_dir #1723

Open Alex-Jordan opened 2 years ago

Alex-Jordan commented 2 years ago

https://github.com/openwebwork/webwork2/blob/8ddfecf0c0162e14651e86529cd03a9c4a870a33/conf/webwork.apache2.4-config.dist#L59

This comment says "... There is no need to modify it." but I think I need to modify the location for $pg_dir. I'm sure it is usually at /opt/webwork/pg but whoever initially installed WeBWorK on the AIM servers put things in unusual places. Do you agree that modifying that makes sense? Or is there something in site.conf that I should set to deal with this instead?

drgrice1 commented 2 years ago

That comment is old, and is from before the recent changes that moved the PG library linking up in the file. If the PG directory is in a different location, then it will need to be modified there. The comment should be adjusted with the changes to say the same thing that the $webwork_dir says above. "Set this variable to the path to your PG installation."