myjay610
Mar 10, 06:43 AM
Gotcha. So I think the best way to handle this would be to use Apache to handle all requests for both servers, and set up a ReverseProxy to handle traffic that should go to the Ruby server.
Check this site out: http://httpd.apache.org/docs/2.0/vhosts/examples.html
And this site for ReverseProxy: http://www.ehow.com/how_6108865_configure-apache-reverse-proxy.html
So, your config file in Apache should similar to this (be sure to enable the proxy module):
Listen 172.20.30.40:80
# This is the "main" server running on 172.20.30.40
ServerName server.domain.com
DocumentRoot /www/mainserver
# This is the other address - the one handling requests for Ruby
NameVirtualHost 172.20.30.50:80
<VirtualHost 172.20.30.50:80>
# Other directives here ...
ProxyRequests off
ProxyPass / http://localhost:8080
ProxyPassReverse / http://localhost:8080
</VirtualHost>
Then obviously you need to ensure your DNS server is set so the domain names are pointing to ther right IP addresses.
You could also filter out on the ServerName in apache to determine which server handles your traffic...or do both to be consistent.
Check this site out: http://httpd.apache.org/docs/2.0/vhosts/examples.html
And this site for ReverseProxy: http://www.ehow.com/how_6108865_configure-apache-reverse-proxy.html
So, your config file in Apache should similar to this (be sure to enable the proxy module):
Listen 172.20.30.40:80
# This is the "main" server running on 172.20.30.40
ServerName server.domain.com
DocumentRoot /www/mainserver
# This is the other address - the one handling requests for Ruby
NameVirtualHost 172.20.30.50:80
<VirtualHost 172.20.30.50:80>
# Other directives here ...
ProxyRequests off
ProxyPass / http://localhost:8080
ProxyPassReverse / http://localhost:8080
</VirtualHost>
Then obviously you need to ensure your DNS server is set so the domain names are pointing to ther right IP addresses.
You could also filter out on the ServerName in apache to determine which server handles your traffic...or do both to be consistent.
Gator24765
Mar 30, 06:32 PM
camera stabilizer would be awesome... im on a cheap budget..
Doozy
Nov 8, 11:01 AM
If you could spend time modding PHPBB to be more SEO, imagine how much better VB would be with that sime time spent optimizing it's SEO capabilities. It's ahead to begin with, the same amount (or less) of time will push it way out of PHPBB's reach.
You know I agree with you. The hardest part is convincing the client to pay for the license, but if I tell the client it will cost more optimizing phpbb for SEO than the cost of the license he may go for it.
His competition uses phpbb.
Would you rather post on a site that uses vBulletin or phpbb. I know I would prefer vBulletin but would the average user know a difference?
You know I agree with you. The hardest part is convincing the client to pay for the license, but if I tell the client it will cost more optimizing phpbb for SEO than the cost of the license he may go for it.
His competition uses phpbb.
Would you rather post on a site that uses vBulletin or phpbb. I know I would prefer vBulletin but would the average user know a difference?
TrulyYuki
Apr 6, 02:20 PM
I would buy one. if it was a reasonable price.
http://img59.imageshack.us/img59/420/appleicar5.jpg (http://img59.imageshack.us/i/appleicar5.jpg/)
http://img59.imageshack.us/img59/420/appleicar5.jpg (http://img59.imageshack.us/i/appleicar5.jpg/)
iJon
Jul 2, 02:36 AM
Originally posted by jbomber
not really related, but
is there a set of keystrokes that'll hide everything and just show the finder?
its coming, its called expose.
iJon
not really related, but
is there a set of keystrokes that'll hide everything and just show the finder?
its coming, its called expose.
iJon
TreborM
Mar 27, 10:29 AM
I have been using screen in the osx terminal to get serial access, using the following:
screen telnet /dev/tty.usbserial
Unfortunately I can't scrollback in screen, which makes copying long config files a process of :apple:-C, :apple:-V, and repeat. Any suggestions for native serial support in the osx terminal app WITH scrollback?
I do not understand why you are using screen to launch telnet instead of invoking it directly, but try using logging in screen (-L if memory serves right)
Personally I would use tee to make a copy of the output in a file and extract your config files from this file.
Also IIRC Cisco's iOS lets you save and load config files directly. I do not remember the exact syntax but try built-in help...
Hope this helps,
Trebor.
screen telnet /dev/tty.usbserial
Unfortunately I can't scrollback in screen, which makes copying long config files a process of :apple:-C, :apple:-V, and repeat. Any suggestions for native serial support in the osx terminal app WITH scrollback?
I do not understand why you are using screen to launch telnet instead of invoking it directly, but try using logging in screen (-L if memory serves right)
Personally I would use tee to make a copy of the output in a file and extract your config files from this file.
Also IIRC Cisco's iOS lets you save and load config files directly. I do not remember the exact syntax but try built-in help...
Hope this helps,
Trebor.
guyute
Nov 13, 12:47 AM
I ran across this program the other day and have been using it. The speed of this version of firefox is much faster than safari or ff1.0. Here is a link to the site.
http://www.beatnikpad.com/archives/2004/11/06/firefoxG5
http://www.beatnikpad.com/archives/2004/11/06/firefoxG5
ECUpirate44
May 2, 01:08 PM
Ugh, I just bought CleanMyMac. Could you elaborate more why these products are bad to use? Thanks
I've also noticed that CleanMyMac sometimes deletes important system files which can lead to problems down the road. Id just consider it a waste of $15 or 30 if you paid for a lifetime license :o and just never use it.
I've also noticed that CleanMyMac sometimes deletes important system files which can lead to problems down the road. Id just consider it a waste of $15 or 30 if you paid for a lifetime license :o and just never use it.
robots3humans0
Apr 11, 07:30 PM
If you're looking for thin.. I'd say go with the pinlo slice 3. Doesn't do much for drop protection. Works for scratches though and looks pretty damn good. I've got one on my i4 and love it
aafuss1
Jan 9, 10:38 AM
I'm more excited about iWork-as I use Pages & Keynote a lot more than I use Word and Powerpoint.
joepunk
Aug 4, 09:54 AM
I'll try tonight as I was too tired last night to bother watching the sky at midnight. Unfortunately, I live in/near big cities.
1macker1
Apr 22, 08:14 AM
why is a tab button needed. Command + T seems to be easier. Now a way to scroll through tabs would be nice.
Umit
May 4, 12:06 PM
Hi all,
I've sold my sgs i9000 and switched to iphone 3gs and i am more than happy now. iphone ui is really so smooth and things are cool. I recommend to switch to all android users that got fed up with bugs and lags.
I've purchased few apps yesterday and i wonder what happens if i switch to iphone 4 (or ip5) in the future? Will i have to re purchase them again?
I've sold my sgs i9000 and switched to iphone 3gs and i am more than happy now. iphone ui is really so smooth and things are cool. I recommend to switch to all android users that got fed up with bugs and lags.
I've purchased few apps yesterday and i wonder what happens if i switch to iphone 4 (or ip5) in the future? Will i have to re purchase them again?
aristobrat
May 4, 09:41 PM
MacBook Airs:
extremely portable
slower processors than the iMac
SSD is faster than the iMac's traditional hard drive, but less storage capacity
memory can't be upgraded after purchase
no Thunderbolt ports
iMacs:
not very portable
faster processors than the Air
traditional hard drive is slower than the Air's SSD, but has more storage capability
memory can be upgraded after purchase
has Thunderbolt ports
Either machine is capable of photos and videos.
The iMac is going to have a faster processor, so it's going to be faster at CPU intensive tasks, like converting/export video. For me, I don't do these tasks often.
The Airs have the solid-state drives, which are insanely quick. This can make the Air feel like a faster-overall system when doing normal daily tasks, like surfing the web, email, iTunes, etc.
There's really no clear-cut answer. You're going to have to figure out if you need something portable or not, and if you want a Mac with a faster processor or a faster hard drive.
For me, the slower processor of the Air was outweighed by the very fast SSD. I'll gladly wait longer for the Air to complete CPU intensive tasks that I do a few times a month in exchange for doing the tasks I do daily much quicker than any other Mac I've ever used.
extremely portable
slower processors than the iMac
SSD is faster than the iMac's traditional hard drive, but less storage capacity
memory can't be upgraded after purchase
no Thunderbolt ports
iMacs:
not very portable
faster processors than the Air
traditional hard drive is slower than the Air's SSD, but has more storage capability
memory can be upgraded after purchase
has Thunderbolt ports
Either machine is capable of photos and videos.
The iMac is going to have a faster processor, so it's going to be faster at CPU intensive tasks, like converting/export video. For me, I don't do these tasks often.
The Airs have the solid-state drives, which are insanely quick. This can make the Air feel like a faster-overall system when doing normal daily tasks, like surfing the web, email, iTunes, etc.
There's really no clear-cut answer. You're going to have to figure out if you need something portable or not, and if you want a Mac with a faster processor or a faster hard drive.
For me, the slower processor of the Air was outweighed by the very fast SSD. I'll gladly wait longer for the Air to complete CPU intensive tasks that I do a few times a month in exchange for doing the tasks I do daily much quicker than any other Mac I've ever used.
Dagless
Mar 26, 08:30 PM
I'm after 1 or 2 more people to add to my army of 4 other Beta testers for a game I'm working on.
There are a few requirements-
1) A PC and/or bootcamp. The beta is tied to individual systems too, so not jumping from system to system! A good controller is recommended. I'm using an Xbox 360 wired controller to dev it, all 4 face buttons, the start button and 2 shoulder buttons are in use so you'd either need something similar or you can always use a keyboard.
2) A softspot to 2D games. This may be ported to the PSP or DS, unlikely for big screened consoles. so it's 2D. In the style of Super Metroid and co. Infact it plays more like an exploration game at the beginning so theres little combat. Very retro gameplay, RPG levelling up system. That sort of thing really.
3) Commitment. It's going to be a long project with updates coming out at irregular times. But you will be expected to play through, give comments on my forum etc.
The game itself is very much in its infancy, estimated release is late 2007 and is unpaid, but full term beta testers will get free copies of the game... if you're not sick of it by this stage :p
screenshots and other info on my site! (http://satansam.co.uk/tormishire)
There are a few requirements-
1) A PC and/or bootcamp. The beta is tied to individual systems too, so not jumping from system to system! A good controller is recommended. I'm using an Xbox 360 wired controller to dev it, all 4 face buttons, the start button and 2 shoulder buttons are in use so you'd either need something similar or you can always use a keyboard.
2) A softspot to 2D games. This may be ported to the PSP or DS, unlikely for big screened consoles. so it's 2D. In the style of Super Metroid and co. Infact it plays more like an exploration game at the beginning so theres little combat. Very retro gameplay, RPG levelling up system. That sort of thing really.
3) Commitment. It's going to be a long project with updates coming out at irregular times. But you will be expected to play through, give comments on my forum etc.
The game itself is very much in its infancy, estimated release is late 2007 and is unpaid, but full term beta testers will get free copies of the game... if you're not sick of it by this stage :p
screenshots and other info on my site! (http://satansam.co.uk/tormishire)
simsaladimbamba
May 4, 07:42 PM
MacBook 5.1
Hmm, maybe this applies then?
Standard RAM: 2 GB
Maximum RAM: 8 GB*
Details: 2 GB of RAM is installed as two 1 GB modules, no slots free.
*Apple officially supports a maximum of 4 GB of RAM. Originally, this model was only unofficially capable of stably supporting 6 GB of RAM, but as confirmed (http://blog.macsales.com/9102-secret-firmware-lets-late-08-macbooks-use-8gb) by site sponsor OWC, it is capable of supporting 8 GB of RAM if updated to Boot ROM Version MB51.007D.B03 and running MacOS X 10.6 "Snow Leopard."
from http://www.everymac.com/systems/apple/macbook/stats/macbook-core-2-duo-2.0-aluminum-13-late-2008-unibody-specs.html
Hmm, maybe this applies then?
Standard RAM: 2 GB
Maximum RAM: 8 GB*
Details: 2 GB of RAM is installed as two 1 GB modules, no slots free.
*Apple officially supports a maximum of 4 GB of RAM. Originally, this model was only unofficially capable of stably supporting 6 GB of RAM, but as confirmed (http://blog.macsales.com/9102-secret-firmware-lets-late-08-macbooks-use-8gb) by site sponsor OWC, it is capable of supporting 8 GB of RAM if updated to Boot ROM Version MB51.007D.B03 and running MacOS X 10.6 "Snow Leopard."
from http://www.everymac.com/systems/apple/macbook/stats/macbook-core-2-duo-2.0-aluminum-13-late-2008-unibody-specs.html
lee1210
Apr 24, 01:36 PM
It's wrong because you want room for doubles, but get space for double *s. These are different types with different sizes. On platforms where sizeof(double) == sizeof(double *) your code will work. On platforms where this is not true you will not have the right amount of space. In most cases you will have too little space, not too much.
-Lee
-Lee
The.316
Oct 31, 05:55 AM
Here is my collection
Blu's
http://farm5.static.flickr.com/4025/5127152612_4d77b15255.jpg
Is it just the picture, or is that shelf ready to go?
Nice collections BTW. I had about 500 DVDs from the States, but since i live in Greece now, they wont play on my PS3 I bought here, so I converted them all, and have them stored on my external drive.
Anyone have any ideas what I should do with them? I have them in two boxes in the garage.
Blu's
http://farm5.static.flickr.com/4025/5127152612_4d77b15255.jpg
Is it just the picture, or is that shelf ready to go?
Nice collections BTW. I had about 500 DVDs from the States, but since i live in Greece now, they wont play on my PS3 I bought here, so I converted them all, and have them stored on my external drive.
Anyone have any ideas what I should do with them? I have them in two boxes in the garage.
oripaamoni
Mar 11, 11:36 AM
came by at 9:00 to scope it out and decided to stay... i am about number 25 in line.... this line is going to be huge!
Cromulent
Dec 28, 05:44 AM
I still have two left. I'm surprised more people aren't interested, Spotify is the single best music resource I have ever found.
maccompaq
Mar 29, 09:02 AM
The stock analysts have target prices on Apple as high as $550.
I have absolutely no doubt that will happen, so I am holding my large position in Apple.
A broker can give you suggestions how to buy without a SS#.
I have absolutely no doubt that will happen, so I am holding my large position in Apple.
A broker can give you suggestions how to buy without a SS#.
balamw
Apr 8, 10:58 AM
Inspired by a user's thread who is unhappy with the way their KB backlight works (http://forums.macrumors.com/showthread.php?t=1130722), I decided to play with the Ambient Light Sensor and KB backlight on my MBP.
I was a bit disappointed to see that unlike under W7 (http://msdn.microsoft.com/en-us/library/dd318953(v=vs.85).aspx)there is no official API to access the sensor data. Really?
Anyhow, I quickly found this code: http://osxbook.com/book/bonus/chapter10/light/ and various comments around that it doesn't work anymore. A bit more digging led to this code: http://google-mac-qtz-patches.googlecode.com/svn-history/r5/trunk/AmbientLightSensor which does actually work and allowed me to whip this up.
A few reasons for the post:
I was a bit disappointed to see that unlike under W7 (http://msdn.microsoft.com/en-us/library/dd318953(v=vs.85).aspx)there is no official API to access the sensor data. Really?
Anyhow, I quickly found this code: http://osxbook.com/book/bonus/chapter10/light/ and various comments around that it doesn't work anymore. A bit more digging led to this code: http://google-mac-qtz-patches.googlecode.com/svn-history/r5/trunk/AmbientLightSensor which does actually work and allowed me to whip this up.
A few reasons for the post:
jabbott
Mar 31, 12:00 AM
camera stabilizer would be awesome... im on a cheap budget..
Ask and ye shall receive: http://littlegreatideas.com/stabilizer/diy/
Ask and ye shall receive: http://littlegreatideas.com/stabilizer/diy/
aafuss1
Jan 9, 10:38 AM
I'm more excited about iWork-as I use Pages & Keynote a lot more than I use Word and Powerpoint.
No comments:
Post a Comment