Apache2 running multiple hosts
by admin on Feb.20, 2009, under Debian
For running multiple sites on your box, you have to do something with configuration. What I did is (in my opinion) a nice way:
create a file called /etc/apache2/conf.d/virtual.conf
include the following text:
#
# We’re running multiple virtual hosts.
#
NameVirtualHost [your IP]:80
Now you can create a file in your /etc/apache2/sites-available map called (in my case) e-miel.net with the VirtualHost tag pointing to the NameVirtualHost mentioned above:
<VirtualHost [your IP]:80>
With this no errors will be logged after restarting Apache2.
Btw, I ran into this error:
_default_ VirtualHost overlap on port 80
It seems that /etc/apache2/ports.conf also contains a “global” (don’t know for sure if that is the correct word) variable that holds the NameVirtualHost value.
Apache2 falls asleep
by admin on Feb.18, 2009, under Debian
Though being a fulltime Microsoft .NET developer I decided to change my blogging environment from dasBlog to WordPress (on a Debian host).
After configuring the machine it seemed to work smoothly but from time to time Apache2 was not responding to any requests (though the mail server was running perfectly).
It turned out that by using <Virtualhost *> (yes, I definitely am lazy !) the problem was caused by my second not used nic. Disabling this one did the trick, the server is up and running 24/7.
HP owns the Internet
by admin on Nov.26, 2008, under Funny
In my search for a new switch for Antares I contacted HP based upon the contact information found on their site.
It turned out that the information I found was outdated. The funny remark the telephonist made (and I quote):
“Our Internet is outdated…”.
Never knew HP has their own Internet, or do they own the Internet ?
Managing and Versioning Client Databases
by admin on Nov.14, 2008, under TechEd 2008
Steven Lasker (Program Manager)
ClickOnce:
- overwrites the database
- previous (latest version) stored in pre map
Script:
- Generate DB on the fly
- Create & Update script
Microsoft Visual Studio 10: Easing ASP.NET Web Deployment
by admin on Nov.14, 2008, under TechEd 2008
Vishal R. Joshi (Program Manager)
Package web applications into .zip file
Publish with ease
Transform web.config
Deploy DB’s
Deploy in Continuous Integration Model
MSDeploy (Web Package)
- Versioning zip
Roolback -> not GAC & com
Source Manifest XML
Destination Manifest XML
Pckg Install Command
Graffiti
Publish -> Multiple profiles
Creating Location Aware Applications for Windows Mobile Devices
by admin on Nov.14, 2008, under TechEd 2008
Constanze Roman (Community PM),
Maarten Struys (Technical Mangarer PTS Software)
GPS Intermediate Driver
- Multiple applications can share the GPS hardware
- Coding Sample in SDK
Fake GPS can deliver GPS information (for testing purposes).
Project Velocity
by admin on Nov.14, 2008, under TechEd 2008
Nithya Sampathkumar
Distributed caching
Caching reference Data
- little update
- lots of users
Caching Activity-oriented Data
- Shopping cart
- Read & write
Caching Resource-oriented Data
- eBay
- Shared Access
What is Veocity ?
- Application cache for all kinds of data
- Cache tier between the Data and the Mid tier
Web 2.0 + WCF
by admin on Nov.13, 2008, under TechEd 2008
Aaron Skonnard (Cofounder Pluralsight)
Web 1.0 -> HTTP GET
Web 2.0 (2008)
- Content + capabilities (ie maps.google.com)
- Atom
- JSON (smaller than XML, no parsing)
- Resources are identified by URI’s
- REST is an architectural style, not a specification
How to Review Your Code and Test for Security Bugs
by admin on Nov.13, 2008, under TechEd 2008
Michael Howard (Principal Security Program Manager)
Multipass:
- Run all available tools
- Look for patterns
- Deeper review of riskiest code
What does the bad guy control
- SQL injection issues
- Crypto issues (ie SHA512)
- Server XSS antixss library
- Integer Arithmetic issues
- Buffer overflow
Build or buy a Fuzzer
Green Computing Through Sharing
by admin on Nov.13, 2008, under TechEd 2008
Pat Helland, Partner Architect
Expected Response Time = (Minimum Response Time / 1 - Utilization)