Re: Resolving domain name to different IP based on port?

2009-08-21 Thread Christopher Sawtell
 I can do that but thought if there was some neat way to be able to keep
 the same domain and change just the port to access local vs remote it
 would be better.

Could you have two instances of Apache running?

Couldn't you set the port and the base directory of the data area used
by the 'development version'  in its configuration file.

-- 
Sincerely etc.
Christopher Sawtell


Re: Resolving domain name to different IP based on port?

2009-08-21 Thread Daniel Hill
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Phill Coxon wrote:
 The thing I forgot to mention is that it's a wordpress based site.

 WordPress stores it's base URL in it's database so to set up a
 development site on a different domain (whether a sub domain, or
 examplesite.local) means editing the database to replace all
 references to the URL.
That's such a stupid design flaw(feature?)

what happens if you try running it on another (sub)domain?
does it error?

- --
python -c print \\.join([
\\x79\x71\x6Du\056vgp\x40ae\142nr\.decode(\\x72o\164\x5F_13\)[i]
for i  in [1, 12, 9, 5, 13, 0, 4, 3, 5, 0, 0, 8, 11, 10, 7, 11, 9, 4,
9, 13, 6, 4, 9, 2] ] )

http://www.facebook.com/YellowOnion
msnim:chat?contact=yellow_oni...@hotmail.com
xmpp:yellowon...@jabber.org
http://last.fm/user/Yellow-Onion/
https://launchpad.net/~daniel-hill
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqOdUcACgkQGplaCYOFvysPfgCcDhsgC4hTjLKshexIdcyA9aGZ
iOkAn15hqCMvzvqyQNSKv656di7GwAzq
=hznm
-END PGP SIGNATURE-



measurement software for electrical networks?

2009-08-21 Thread Wesley Parish
I'm just wondering if there are any for Linux, that I could use to get hard 
copy of actual voltage and amperage levels on my Internet connection via 
Telecom's oh-so-wonderful lines.

They cycle from useable to useless in between half=a=minute to a quarter of an 
hour, and I'd like to document that.  I may well decide to start a 
class-action suit against Telecom for defrauding the general public, and 
having hard evidence is likely to be vitally important.

Oh, and by the way, Google is indeed my friend in this - when Telecom's lines 
permit me to ask.  Telecom's mastered the art of punishing people for 
preferring to use someone else, after it mastered the art of punishing them 
for using Telecom.

Wesley Parish
-- 
Clinersterton beademung, with all of love - RIP James Blish
-
George Kelischek - To impress those high-tech computer types, 
tell them what an Ocarina really is: 
an animal-activated-solid-state-multi-frequency-sound-synthesizer. 
-
Mau e ki, he aha te mea nui?
You ask, what is the most important thing?
Maku e ki, he tangata, he tangata, he tangata.
I reply, it is people, it is people, it is people.


Re: measurement software for electrical networks?

2009-08-21 Thread Euan Clark
Might be bleeding obvious but I get identical symptoms when a phone's 
been plugged in directly to the socket somewhere oin the house rather 
than an ADSL filter.


Wesley Parish wrote:
I'm just wondering if there are any for Linux, that I could use to get hard 
copy of actual voltage and amperage levels on my Internet connection via 
Telecom's oh-so-wonderful lines.


They cycle from useable to useless in between half=a=minute to a quarter of an 
hour, and I'd like to document that.  I may well decide to start a 
class-action suit against Telecom for defrauding the general public, and 
having hard evidence is likely to be vitally important.


Oh, and by the way, Google is indeed my friend in this - when Telecom's lines 
permit me to ask.  Telecom's mastered the art of punishing people for 
preferring to use someone else, after it mastered the art of punishing them 
for using Telecom.


Wesley Parish
  




Re: measurement software for electrical networks?

2009-08-21 Thread yuri
On 2009/8/22 Wesley Parish wrote:
 I'm just wondering if there are any for Linux, that I could use to get hard
 copy of actual voltage and amperage levels on my Internet connection via
 Telecom's oh-so-wonderful lines.

 They cycle from useable to useless in between half=a=minute to a quarter of an
 hour, and I'd like to document that.  I may well decide to start a
 class-action suit against Telecom for defrauding the general public, and
 having hard evidence is likely to be vitally important.

First, I just want to say:
Never ascribe to malice that which is adequately explained by
incompetence. (Hanlon's Razor)

 Oh, and by the way, Google is indeed my friend in this - when Telecom's lines
 permit me to ask.  Telecom's mastered the art of punishing people for
 preferring to use someone else, after it mastered the art of punishing them
 for using Telecom.

As a contractor who does some work for Telecom, there is a number I
can dial that will report things like earth impedence, capacitance,
voltage etc on your line, provided it comes from a Neax in the
exchange and not from a mux cabinet.
When you call 120 to report a problem with your phone they perform the
same test. It gives better results if you unplug *everything* from all
your phone jacks first.

If you have an alarm, that can cause problems on your line. Even if it
is not monitored, it may still be connected to the phone line for
future-proofing.
Also, any phone jacks installed by sky installers can cause problems
(they do dodgy stuff like leaving an unprotected joint lying on the
damp dirt under your house, among other things).

Reply to me off-list and I'll see what I can do.

Yuri


Re: Resolving domain name to different IP based on port?

2009-08-21 Thread Rex Johnston

Phill Coxon wrote:


If I visit examplesite.com (standard port 80) I'll go to the live
interent site. 


But if I visit examplesite.com:81 I'll be redirected to the local
development virtual site running on my local computer. 


Probably can't be done but thought I'd ask and see what suggestions you
guys can come up with. 


Hey!  this is *nix you are talking about.  Of course it can be done.

You'll be wanting to read the '-R' section of the ssh man page.
Something along the lines of (as root)

ssh -R 81:127.0.0.1:80 examplesite.com

Oh and that other problem you were having with too many open 
conenctions..  sshfs.


Cheers Mate.

Rex


Can someone tell me why...

2009-08-21 Thread Rex Johnston
xmms went away and it's replacement, audacious, sux soo much it isn't 
funny.  xmms2 is a music server, and nothing like xmms.


Rex