If you, like me, set up your Bugzilla install based on IP initially (because you didn’t have the domain ready or whatever), and then you moved the Bugzilla box, either physically or electronically – either way changing your IP address – you might notice that your bugzilla only lets you go to the front page before rerouting you into blue hell somewhere – or nowhere at all.
This is because the configuration of Bugzilla is based off of a customizable URLbase (for security or some other important reason that I care too little about to follow up on) and if that URLbase is an IP address, such as http://123.456.789.100/bugzilla (No, that link doesn’t work. Stop clicking it.), and your box is now located at, say, 987.654.321.001 (That’s not a real IP either. Don’t bother trying.), you’ll need to change this URLbase – either to your new IP address, or – maybe you’d like to show some initiative (I know I didn’t!) – even an actual URL! The only problem is… that setting is in the administration area, and you can’t get there unless your URLbase is correct. Damn those Catch-22’s.
Logically, this means we need to hand-edit the configuration file. Unfortunately, it isn’t exactly labeled “configuration_files_VIM_me_to_fix_URLbase_problems.conf.” Fortunately, I know where the file is. Unfortunately, I’m no longer in a sharing mood. Fortunately, I’m joking. Unfor…. Ok, I’ll stop. Just please, please put down the gun…
Alright – you calm and relaxed again? Good. Alright – so, open up your Terminal Application (whichever that may be for your particular flavor of *Nix), and get yourself to the bugzilla root. (Mine, for example, is in /var/www/bugzilla/) Once you’ve gotten there, the rest is exceedingly easy. navigate to the folder “data” and Vim (or vi, or kate or whatever) the file params. You shouldn’t even need to sudo it. Inside, you will find an actual alphabetical list of all the bugzilla parameters! How amazing is that? Page down to the U’s, find urlbase, and change it accordingly. :wq (or… well, you should know how to save and quit your favorite text editor) and simply log into your bugzilla – problem solved!
I’ll actually answer questions you might have on this one. Or on bugz in general, should i know the answer, so feel free to ask.
Recent Comments