Dave Winer's weblog, started in April 1997, bootstrapped the blogging revolution.
RSS地址:
http://www.scripting.com/rss.xml共有3篇文章被收藏推荐
收录于2007-06-26
认领
报错
推荐
75
最新文章
精华文章
75位订阅者
I thought I had it yesterday, but there was a case I didn't test, and it didn't work, so there's still some more work to do.
What I want:
1. http://apache.twitterland.org/ should be served from the static Apache folder, which is in its virgin state with the "It Works!" page. And it does work.
2. The npr sub-folder should be served by the OPML Editor, and it is.
3. http://test5.twitterland.org/...
I thought I had it yesterday, but there was a case I didn't test, and it didn't work, so there's still some more work to do.
What I want:
1. http://apache.twitterland.org/ should be served from the static Apache folder, which is in its virgin state with the "It Works!" page. And it does work.
2. The npr sub-folder should be served by the OPML Editor, and it is.
3. http://test5.twitterland.org/ should also be served by the OPML Editor, but it is not. Instead it's serving the static Apache folder.
Here's a copy of my httpd.conf file. The VirtualHost stuff is at the end of the file.
This is a virgin Apache install, with the modifications made in yesterday's checklist, with one additional change, I've set the DocumentRoot to C:/www.
What I want:
1. http://apache.twitterland.org/ should be served from the static Apache folder, which is in its virgin state with the "It Works!" page. And it does work.
2. The npr sub-folder should be served by the OPML Editor, and it is.
3. http://test5.twitterland.org/ should also be served by the OPML Editor, but it is not. Instead it's serving the static Apache folder.
Here's a copy of my httpd.conf file. The VirtualHost stuff is at the end of the file.
This is a virgin Apache install, with the modifications made in yesterday's checklist, with one additional change, I've set the DocumentRoot to C:/www.
Reading the news it's not clear if we're going to give Detroit the money to keep them going for a while longer. Pretty sure we can't afford not to, and of course they'll be coming back for more next year, and that's probably a good thing, cause it's time to make some changes. We need to own them for a while so they start working for us not continuing to feed our oil habit and keeping their...
Reading the news it's not clear if we're going to give Detroit the money to keep them going for a while longer. Pretty sure we can't afford not to, and of course they'll be coming back for more next year, and that's probably a good thing, cause it's time to make some changes. We need to own them for a while so they start working for us not continuing to feed our oil habit and keeping their buddies at Exxon-Mobil's profits high.
And they have to retire their fleet of corporate jets. And all their execs take pay cuts down to less than $1 million per year. If they choose to quit, so be it and good riddance. And since we're going to own them, a new rule -- no more commuting from Seattle to work in Detroit for the CEOs. We're bailing them out not because we think they've done anything remotely like a good job, we're doing it so that we don't have to feed and house their remaining employees and bail out their suppliers when they go bankrupt. We're doing it to save our country, not to save the auto industry as its currently configured, which is rotten and dangerously short-sighted.
I just got a briefing from Frontline, a show that aired just before the election called Heat, about global warming. Lots of interesting stuff in there, all of which must be taken, of course, with a grain of salt. But if you believe them, Detroit had a Prius before Toyota, funded by the government, but it never went into production. The Prius was a response by Toyota to a US initiative to increase gas mileage. Detroit took our money but never shipped the damn car. Now they're rebooting their effort to produce a hybrid, and get this -- they're starting from scratch. The bastards threw away the R&D we paid for. So much for trusting them with our money. Can't do it.
But we also can't jump off the cliff. We'll have Hoovervilles in every shopping mall. When you go to the supermarket the shelves will be empty. It's already happening at some local retailers. When the economy fails, distributors go out of business, then the manufacturers the distributors stiffed, and all of a sudden even if you have money in the bank you can't find food to buy. You turn up the thermostat and there's no heat. Old people and children and people with chronic diseases die when we get there. Perhaps you have some people like that in your family. Perhaps you're one of those people?
If you've ever been to the Third World, or parts of the US that are the Third World like the South Bronx and New Orleans and (I'm told) parts of Detroit -- you owe it to yourself to find out what that's like. Because if you're stupid enough to think that letting Detroit fall off the cliff somehow won't take you and your family with it, you need to get educated, fast.
I'd start with watching the Frontline episode about global warming and see if that doesn't get you thinking. Then, after we give them the $25 billion, when they come back in (say) February, we'll be ready with a plan for them to execute. And they won't be coming to Washington on their corporate jets next time. We need to cut our oil consumption, fast, and they need to cut the fat. Let's get going everyone.
PS: Some people say they should go into bankruptcy, and I'd be willing to make that a condition for the companies to receive government loans. If they can get by without the loan, fantastic. If they can get a bank to give them a loan without going bankrupt, even better. I might also add the requirement that while the companies are receiving our money, their CEOs take the pay cuts outlined above. You don't like it? Quit. We'll keep taking resignations until one of your execs is willing to roll up his or her sleeves for the cause. Taking government money should be a painful process. They've gotten accustomed to our bailouts and keeping their corporate jets -- it must be factored in their planning that we're soft touches. That's got to stop.
Update: John Robb agrees with my earlier piece.
Update: Cross-posted at Huffington.
Reading the news it's not clear if we're going to give Detroit the money to keep them going for a while longer. Pretty sure we can't afford not to, and of course they'll be coming back for more next year, and that's probably a good thing, cause it's time to make some changes. We need to own them for a while so they start working for us not continuing to feed our oil habit and keeping their buddies at Exxon-Mobil's profits high. And they have to retire their fleet of corporate jets. And all their execs take pay cuts down to less than $1 million per year. If they choose to quit, so be it and good riddance. And since we're going to own them, a new rule -- no more commuting from Seattle to work in Detroit for the CEOs. We're bailing them out not because we think they've done anything remotely like a good job, we're doing it so that we don't have to feed and house their remaining employees and bail out their suppliers when they go bankrupt. We're doing it to save our country, not to save the auto industry as its currently configured, which is rotten and dangerously short-sighted.
I just got a briefing from Frontline, a show that aired just before the election called Heat, about global warming. Lots of interesting stuff in there, all of which must be taken, of course, with a grain of salt. But if you believe them, Detroit had a Prius before Toyota, funded by the government, but it never went into production. The Prius was a response by Toyota to a US initiative to increase gas mileage. Detroit took our money but never shipped the damn car. Now they're rebooting their effort to produce a hybrid, and get this -- they're starting from scratch. The bastards threw away the R&D we paid for. So much for trusting them with our money. Can't do it.
But we also can't jump off the cliff. We'll have Hoovervilles in every shopping mall. When you go to the supermarket the shelves will be empty. It's already happening at some local retailers. When the economy fails, distributors go out of business, then the manufacturers the distributors stiffed, and all of a sudden even if you have money in the bank you can't find food to buy. You turn up the thermostat and there's no heat. Old people and children and people with chronic diseases die when we get there. Perhaps you have some people like that in your family. Perhaps you're one of those people?If you've ever been to the Third World, or parts of the US that are the Third World like the South Bronx and New Orleans and (I'm told) parts of Detroit -- you owe it to yourself to find out what that's like. Because if you're stupid enough to think that letting Detroit fall off the cliff somehow won't take you and your family with it, you need to get educated, fast.
I'd start with watching the Frontline episode about global warming and see if that doesn't get you thinking. Then, after we give them the $25 billion, when they come back in (say) February, we'll be ready with a plan for them to execute. And they won't be coming to Washington on their corporate jets next time. We need to cut our oil consumption, fast, and they need to cut the fat. Let's get going everyone.
PS: Some people say they should go into bankruptcy, and I'd be willing to make that a condition for the companies to receive government loans. If they can get by without the loan, fantastic. If they can get a bank to give them a loan without going bankrupt, even better. I might also add the requirement that while the companies are receiving our money, their CEOs take the pay cuts outlined above. You don't like it? Quit. We'll keep taking resignations until one of your execs is willing to roll up his or her sleeves for the cause. Taking government money should be a painful process. They've gotten accustomed to our bailouts and keeping their corporate jets -- it must be factored in their planning that we're soft touches. That's got to stop.
Update: John Robb agrees with my earlier piece.
Update: Cross-posted at Huffington.
Checklist of things to do with a fresh Apache install to get reverse proxies working (on Windows).
1. Start with apache_2.2.9-win32-x86.nossl.msi, go through normal install. When it asks for domains I entered: twitterland.org, apache.twitterland.org (one of many unused domains I've bought over the years) and my Gmail address.
2. Rebooted the system.
3. Editing httpd.conf. In the default install...
Checklist of things to do with a fresh Apache install to get reverse proxies working (on Windows).
1. Start with apache_2.2.9-win32-x86.nossl.msi, go through normal install. When it asks for domains I entered: twitterland.org, apache.twitterland.org (one of many unused domains I've bought over the years) and my Gmail address.
2. Rebooted the system.
3. Editing httpd.conf. In the default install the full path is:
4. Uncomment two lines, to activate the proxy module, per advice.
4a. Configure Apache to only listen on port 80 of 67.18.151.42.
5. Restarted server. It works. http://apache.twitterland.org/
6. Added code to map /npr on this server to the OPML Editor (which is running on port 5337). Well, it didn't kill the server, but it's also not mapping to the right place. What you should see is exactly what you see at: http://npr2.twitterland.org:5337/
After a bit of fussing on the OPML Editor side of things, it worked. Thank you everyone for the help and encouragement.
Here's the code I added in step 6.
ProxyPreserveHost On
<Location /npr/>
ProxyPass http:\//npr2.twitterland.org:5337/
ProxyPassReverse http:\//npr2.twitterland.org:5337/
</Location>
I have a bit more work to do, later, to get virtual domains to pass through the proxy, but I've heard that's pretty easy (heh, I'll believe it when I see it).
Later...
It turned out to be very straightforward and easy. I set it up so that http://test5.twitterland.org/ points to the Apache server, and using VirtualHost I sent it over to the OPML Editor through a proxy. Worked the first time.
<VirtualHost 67.18.151.42:80>
ServerName test5.twitterland.org
ProxyPass / http:\//test5.twitterland.org:5337/
ProxyPassReverse / http:\//test5.twitterland.org:5337/
</VirtualHost>
1. Start with apache_2.2.9-win32-x86.nossl.msi, go through normal install. When it asks for domains I entered: twitterland.org, apache.twitterland.org (one of many unused domains I've bought over the years) and my Gmail address.
2. Rebooted the system.
3. Editing httpd.conf. In the default install the full path is:
C:\\Program Files\\Apache Software Foundation\\Apache2.2\conf\\http.conf4. Uncomment two lines, to activate the proxy module, per advice.
4a. Configure Apache to only listen on port 80 of 67.18.151.42.
5. Restarted server. It works. http://apache.twitterland.org/
6. Added code to map /npr on this server to the OPML Editor (which is running on port 5337). Well, it didn't kill the server, but it's also not mapping to the right place. What you should see is exactly what you see at: http://npr2.twitterland.org:5337/
After a bit of fussing on the OPML Editor side of things, it worked. Thank you everyone for the help and encouragement.
Here's the code I added in step 6.
ProxyPreserveHost On
<Location /npr/>
ProxyPass http:\//npr2.twitterland.org:5337/
ProxyPassReverse http:\//npr2.twitterland.org:5337/
</Location>
I have a bit more work to do, later, to get virtual domains to pass through the proxy, but I've heard that's pretty easy (heh, I'll believe it when I see it).
Later...
It turned out to be very straightforward and easy. I set it up so that http://test5.twitterland.org/ points to the Apache server, and using VirtualHost I sent it over to the OPML Editor through a proxy. Worked the first time.
<VirtualHost 67.18.151.42:80>
ServerName test5.twitterland.org
ProxyPass / http:\//test5.twitterland.org:5337/
ProxyPassReverse / http:\//test5.twitterland.org:5337/
</VirtualHost>
Update: It worked, after a fresh install of Apache and a bit of fussing in the OPML Editor.
0. I must use Windows, so please don't tell me I shouldn't use Windows. Thanks in advance.
1. I have at least two HTTP servers that I want to run on one box, one of them is Apache. The other is the OPML Editor. I may want to run Frontier as well (so I can serve Manila sites that are still in use).
2....
Update: It worked, after a fresh install of Apache and a bit of fussing in the OPML Editor.
0. I must use Windows, so please don't tell me I shouldn't use Windows. Thanks in advance.
1. I have at least two HTTP servers that I want to run on one box, one of them is Apache. The other is the OPML Editor. I may want to run Frontier as well (so I can serve Manila sites that are still in use).
2. If the colocation service allowed multiple IP addresses per machine, I would just use one for Apache and one for OPML and one for Frontier, and I'm done. Unfortunately the colo I'm using only allows a single IP address. So I must come up with a software solution.
3. Apache has a module that does a reverse proxy service, that allows you to route requests, by domain, to other servers. That's great, because I would just use Apache to do that. But last week I spent four hours farting around with it and couldn't get it working. It turns out there are undocumented switches somewhere, no one is exactly sure, and there are no docs (at least none that make any sense to me).
Update: Whenever I include the ProxyPass directive in a my conf file, I get this cryptic error dialog. Until I remove it, the server doesn't start up.
4. Now I'm pretty sure it can be done. Someone must know how to do it. I promise if I figure it out I will leave behind a clear how-to. So if anyone has a clue, please let me know. Scripting News readers are famous for knowing arcania like this. So please show your stuff!
Update: I'm willing to use other HTTP software if its easier to set up reverse proxies, but I am not willing to use IIS. Last time I set one of those up it got horribly hacked. I think it's a target for a lot of kids out there, and you always end up with gremlins hanging out on your servers supporting warez and other strange shit. Rather not mess around with that.
By the way: I'm also looking for web app software I can run myself, hopefully simple to install, that takes a JPG and scales it down to 640-by-480 or even smaller. Ideally on Windows, again. Sigh. Even better would be someone else's service, but this is the kind of thing people usually don't want to do for you since it uses machine cycles.
0. I must use Windows, so please don't tell me I shouldn't use Windows. Thanks in advance.
1. I have at least two HTTP servers that I want to run on one box, one of them is Apache. The other is the OPML Editor. I may want to run Frontier as well (so I can serve Manila sites that are still in use).
2. If the colocation service allowed multiple IP addresses per machine, I would just use one for Apache and one for OPML and one for Frontier, and I'm done. Unfortunately the colo I'm using only allows a single IP address. So I must come up with a software solution.
3. Apache has a module that does a reverse proxy service, that allows you to route requests, by domain, to other servers. That's great, because I would just use Apache to do that. But last week I spent four hours farting around with it and couldn't get it working. It turns out there are undocumented switches somewhere, no one is exactly sure, and there are no docs (at least none that make any sense to me).
Update: Whenever I include the ProxyPass directive in a my conf file, I get this cryptic error dialog. Until I remove it, the server doesn't start up.
4. Now I'm pretty sure it can be done. Someone must know how to do it. I promise if I figure it out I will leave behind a clear how-to. So if anyone has a clue, please let me know. Scripting News readers are famous for knowing arcania like this. So please show your stuff!
Update: I'm willing to use other HTTP software if its easier to set up reverse proxies, but I am not willing to use IIS. Last time I set one of those up it got horribly hacked. I think it's a target for a lot of kids out there, and you always end up with gremlins hanging out on your servers supporting warez and other strange shit. Rather not mess around with that. By the way: I'm also looking for web app software I can run myself, hopefully simple to install, that takes a JPG and scales it down to 640-by-480 or even smaller. Ideally on Windows, again. Sigh. Even better would be someone else's service, but this is the kind of thing people usually don't want to do for you since it uses machine cycles.
This is what I was talking about yesterday."They should put their reporters in Detroit, Columbus, Indianapolis, where ever there are elements of the auto industry, and explain what will happen to these Americans when GM, Ford and Chrysler shut down, even if it's just for a few months. Really show us what the decision is. For once, scare us with the truth, instead of telling the usual bedtime...
This is what I was talking about yesterday.
"They should put their reporters in Detroit, Columbus, Indianapolis, where ever there are elements of the auto industry, and explain what will happen to these Americans when GM, Ford and Chrysler shut down, even if it's just for a few months. Really show us what the decision is. For once, scare us with the truth, instead of telling the usual bedtime story. That would be the honorable journalistic thing to do, but of course they're not doing it."
Well, someone is doing it. Here's an example.

Instead of sitting in a studio and asking questions based on incorrect premises, that somehow the collapse of the auto industry is a United States thing not happening because the world economy has collapsed, the NY Times sent a reporter and a photographer to Long Beach to describe the scene at the point where imported cars enter the US market.
"Gleaming new Mercedes cars roll one by one out of a huge container ship here and onto a pier. Ordinarily the cars would be loaded on trucks within hours, destined for dealerships around the country. But these are not ordinary times."
"They should put their reporters in Detroit, Columbus, Indianapolis, where ever there are elements of the auto industry, and explain what will happen to these Americans when GM, Ford and Chrysler shut down, even if it's just for a few months. Really show us what the decision is. For once, scare us with the truth, instead of telling the usual bedtime story. That would be the honorable journalistic thing to do, but of course they're not doing it."
Well, someone is doing it. Here's an example.

Instead of sitting in a studio and asking questions based on incorrect premises, that somehow the collapse of the auto industry is a United States thing not happening because the world economy has collapsed, the NY Times sent a reporter and a photographer to Long Beach to describe the scene at the point where imported cars enter the US market.
"Gleaming new Mercedes cars roll one by one out of a huge container ship here and onto a pier. Ordinarily the cars would be loaded on trucks within hours, destined for dealerships around the country. But these are not ordinary times."
收录该频道的主题秀
-
搜索不到您的频道?
>立即加入 -
想与您的读者互动?快来认领您的频道
>立即认领 -
想知道您的博客详细订阅数据么?
>到FeedSky查看 -
想体验专业的博客托管服务么?
>注册BlogBus


