[Discuss] dev & prod server url question
Eric Chadbourne
eric.chadbourne at gmail.com
Wed Jan 8 16:59:54 EST 2014
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 foo.com/bar it really just stays at
127.0.0.1/bar? Bind?
Thanks for any tips!
--
Eric Chadbourne
617.249.3377
http://theMnemeProject.org/
http://WebnerSolutions.com/
More information about the Discuss
mailing list