按天归档:2009-12-29

十多年的黑莓

The year is 1999. Bill Clinton is the President of the United States, gas is 94 cents a gallon, Bondi Blue iMacs are a staple in dorm rooms across the country, and Microsoft is trying to bring the desktop Windows experience to the pocket, pushing its Palm-size PC concept (after Palm had quashed the original “Palm PC” branding) on a world still feeling jilted by the failures of the Apple Newton. 3Com subsidiary Palm and its heavyweight licensee Handspring have figured out something interesting about the still-nascent PDA market, though: people like simplicity. If an electronic organizer does what it says it’s going to do, keeps your information in sync with your PC, runs for forever and a day on a single set of batteries, and does it all with a minimum of fuss, people will buy. It’s an exciting, challenging, and rapidly-changing era in the mobile business.

阅读更多 »

Share

虚拟主机支持

下面是我配置的虚拟主机内容.

NameVirtualHost *
<VirtualHost *>
ServerName www.ptubuntu.com
DocumentRoot /home/www/html/
</VirtualHost>
如果你的主机上没有设置有两个.那么这第一个是默认的主机.所以你要添加只能添加下面两个新的虚拟主机才是正确的.
<VirtualHost *>
ServerName lab.test.com
DocumentRoot /home/www/html/test
</VirtualHost>
<VirtualHost *>
ServerName beta.test.com
DocumentRoot /home/www/html/test
</VirtualHost>

Share

Apache设置帐户验证[.htaccess]

先来讲一讲为何要使用帐户验证,比如你公司正在开发一个网站或是已使用的网站.但是你只想让内部的使用.而又不想让其他人访问那么你可以进行设置添加用户认证那么你就可以提高安全性能.在这里也很简单.但是也很容易配置出错.有三步.1是修改httpd.com 2.生成验证文件. 3.创建.htaccess文件.

阅读更多 »

Share
Page 1 of 11