Features & Development

Small typo in global.conf

Small typo in global.conf

by Andrew Doe-stien -
Number of replies: 2
Small bug, I wasn't sure where to throw it.

in conf/global.conf it says that if you want to use the root of the webserver, you should put a value of "" for $webwork_url. The value should be "/", otherwise apache won't start.

In reply to Andrew Doe-stien

Re: Small typo in global.conf

by Arnold Pizer -
Thanks. It's fixed in the upcoming release which id due "any day now".

In reply to Arnold Pizer

Re: Small typo in global.conf

by Andrew Doe-stien -
Actually, that doesn't fix it. Firstly, it makes the workaround for apache 2.2 not work (the test for $webwork_url eq "" doesn't work anymore)

Secondly, I can't get past the homepage because of some weirdness with the links that are being made. ex:
<a href="//admin/">Course Administration</a>

My browser (FF3) is parsing that to mean http://admin/ which doesn't work.

I suspect it has something to do with Webwork expecting its config files to not have trailing slashes, changing $webwork_url to just a slash means that WW is doubling up on its slashes which is throwing off the relative/absolute logic in my browser.

any suggestions?