Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] dev & prod server url question

This works for the local stuff. The java script stuff needs to be modified. I would suggest a wholescale find and replace of the absolute path with configuration variable.

-------- Original message --------
>From Eric Chadbourne <eric.chadbourne at> 
Date: 01/08/2014  5:17 PM  (GMT-05:00) 
To BLU <discuss at> 
Subject Re: [Discuss] dev & prod server url question 
That looks like the answer!? I'll try it now.? Thanks all!

On Wed, Jan 8, 2014 at 5:05 PM, Dan Ritter <dsr at> wrote:
> On Wed, Jan 08, 2014 at 04:59:54PM -0500, Eric Chadbourne wrote:
>> Hi All,
>> I have been handed a pretty large (not in hits but in code) website to
>> maintain.? There's a few features they would like added.? My problem
>> is that the code is a mess.? No comments, no documentation, very
>> sloppy, and error_log is so full of problems it makes my head spin.
>> Anyway, they don't have a development server, only production.? So I
>> spun up centos in virutalbox, imported the db and files.? It "works"
>> but there are like 170 links that point to the production server.
>> There's also some funny javascript I don't understand yet that I think
>> requires the production server.? Apparently their old admin didn't
>> believe in relative paths.? So is there a way I can make the
>> development server think it's the production server?? Like when I
>> click on a link that says it really just stays at
>> Bind?
> /etc/hosts comes to mind.
> -dsr-

Eric Chadbourne
Discuss mailing list
Discuss at

BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!

Boston Linux & Unix /