|
PITS /
00645Summary: Uploads broken if ScriptUrl has no /
Created: 2006-01-19 10:35
Status: Closed - likely fixed for 2.1.beta23
Category: Bug
From: Kurt Devlin
Assigned:
Priority: 3
Version: 2.1 beta 14
OS: Linux/Apache/PHP4.3.2
Description: If the $ScriptURL variable does not contain a slash, then the uploads functionality is broken. We originally had our $ScriptURL set to "http://my-project.my-company.com/wiki(approve links)". I had a new DNS entry added for our server and was able to setup a VirtualHost to generalize the $ScriptURL to not be project centric, but to be more inclusive to our whole department. The new $ScriptURL is "http://my-department-wiki.my-company.com(approve links)". Please note, the "/wiki" at the end of the URL is now resolved by the VirtualHost. Everything appeared to work fine, except uploads. The links for any uploaded files now appeared as "http:/uploads/Group/file.ext(approve links)", without any base URL. I tried several things to get this to work, but settled on setting CORRECTION: I guess AS PER Pm, Jan 23, 2006 11:30 AM via email:
The documentation might need to be updated -- setting Also, |