IT Director here...
With changing our website from static HTML for the main part of the site (which UBB is integrated into) to Drupal being the "front door", I was thinking to totally change the install directory and stop using the former directory completely.
To test the concept on one of our test subdomains, I copied all of the UBB files to the new directory path at that sumdomain. Several files would not copy, they are as follows:
:~/sites/domain.org/www/members/forums > cp -r * ~/sites/d1.domain.org/www/ubb/
cp: cannot open `images/groups/index.html' for reading: Permission denied
cp: cannot stat `styles/images/bkg2.png': Permission denied
cp: cannot stat `styles/images/grad-02.png': Permission denied
cp: cannot stat `styles/images/grad-02-sans.png': Permission denied
cp: cannot stat `styles/images/nbkg-l.png': Permission denied
cp: cannot stat `styles/images/quote.gif': Permission denied
cp: cannot stat `styles/images/brushed.gif': Permission denied
cp: cannot stat `styles/images/dark_brushed.gif': Permission denied
cp: cannot stat `styles/images/header_grad.gif': Permission denied
cp: cannot stat `styles/images/header_grad2.gif': Permission denied
cp: cannot stat `styles/images/drop_shadow_wrapper': Permission denied
cp: cannot stat `styles/images/ubbthreads': Permission denied
cp: cannot stat `styles/StyleExamples/4.jpg': Permission denied
cp: cannot stat `styles/StyleExamples/3.jpg': Permission denied
cp: cannot stat `styles/StyleExamples/2.jpg': Permission denied
cp: cannot stat `styles/StyleExamples/1.jpg': Permission denied
cp: cannot stat `styles/StyleExamples/5.jpg': Permission denied
I continued onward.
Next I edited the MySQL backup file making the following changes:
Was: Changed to:
/members/forum/ /ubb/
http://domain.org/ http://d1.domain.org/https://domain.org/ http://d1.domain.org/Created a new DB and restored the backup to the new DB.
Lastly I modified the /ubb/includes/config.inc.php updating the paths and the DB connection info.
Tested it and it seemed to take right off! Woo hoo!
*** I took time to clear the cache. ***
However, looking through the Drupal logs, I was seeing 404's mentioning the old install path. I went looking and found various files on disk referring to the old path.
One bunch which I do not know if it was from before I cleared the cache or not... referring to the former install path:
warning page not found 01/04/2010 - 13:04 members/forums/gallery/54/thumbs/549.jpg Anonymous
warning page not found 01/04/2010 - 13:04 members/forums/gallery/54/thumbs/540.jpg Anonymous
warning page not found 01/04/2010 - 13:04 members/forums/gallery/54/thumbs/542.jpg Anonymous
warning page not found 01/04/2010 - 13:04 members/forums/gallery/54/thumbs/539.jpg Anonymous
warning page not found 01/04/2010 - 13:04 members/forums/gallery/54/thumbs/544.jpg Anonymous
warning page not found 01/04/2010 - 13:02 members/forums/gallery/54/thumbs/544.jpg Anonymous
warning page not found 01/04/2010 - 13:02 members/forums/gallery/54/thumbs/542.jpg Anonymous
warning page not found 01/04/2010 - 13:02 members/forums/gallery/54/thumbs/540.jpg Anonymous
warning page not found 01/04/2010 - 13:02 members/forums/gallery/54/thumbs/549.jpg Anonymous
warning page not found 01/04/2010 - 13:02 members/forums/gallery/54/thumbs/539.jpg Anonymous
/cache/rss##.xml files. Am I fine with deleting all files in this directory since it is called "cache"?
cache_builders/custom/portal_box_1.php which I suspect means that URL's are hard coded into islands, so I will check into those myself.
Several files like this one:
styles/ubbcentral_1256923774.css:background: #FFFFFF url('http://domain.org/members/forums/styles/images/ubbthreads/header_grad.gif');
Odd that our URL would be hard coded into CSS files. I am thinking to simplify such references and have it be relative to the current server.
So, open to feedback at this point. I am thinking to pause work on this front for a little while.