The situation:
At home I’m running a Windows 2008 server (Exchange 2007 and mostly file sharing) that is also hosting two virtualized Debian environments: webserver and mail server.
As all HTTP trafic is serviced by the Debian machine, I had to figure out a way to forward all the traffic for www.elconsultancy.nl to this 2K8 machine (running IIS). Why…trying to make my first steps into the SilverLight world.
The solution:
As most stuff also this could be handled really easy by using the reverse proxy. Two steps to handle this:
1) Edit the Virtual Hosts file:
<VirtualHost 192.168.50.80:80>
ServerName www.elconsultancy.nl
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass / http://192.168.50.1
ProxyPassReverse / http://192.168.50.1
</VirtualHost>
2) Enable the proxy module:
a2enmod proxy_http
Yeah, it really is that easy !
February 24th, 2010
admin
Also enjoying Windows Communication Foundation 3.5 (Unleashed, ISBN 978-0672330247) ?
Having trouble to get the example of Chapter 2 up and running ?
Please check this link, it helped me a lot (by using the HttpNamespaceManager).
As I was running out of disk space on my home server, I decided to replace my RAID 1 setup of two Samsung Spinpoint F1 HD103UJ 1TB disks by two Western Digital Caviar Green WD20EARS 2TB disks. As RAID controller I use the onboard ATI/AMD SB600 controller (on a Gigabyte GA-MA69G-S3H motherboard), it does it work perfectly…
Before starting the replacement I searched on the Internet for a good how-to for this replacement as I never extended a soft RAID. Here are the steps I took to get to the extended situation (as there was no complete how-to there for me…):
- Replace one disk with the new disk and have it synchronized (unfortunately, my setup did not show any progress and it took 4.5 hours to complete). This synchronization is done by the OS, in my case Windows 2008. By watching the disk activity light I could tell it was still syncing. After that reboot and make sure the status of the RAID is no longer critical, but functional.
- Replace the second disk with the new disk and have it synchronized as well (think it must have taken the same time….decided to go to bed at this point). After that reboot and make sure the status of the RAID is no longer critical, but functional.
- Press Ctrl + F to get into the RAID utility.
- At this point I had to delete the RAID set and recreate it to get the full size.
- In disk manager the additional disk space was displayed and I was able to have my D drive extended (standard Windows 2008 functionality).
Took me a lot of time to find out how to mount shares from OSX on my Windows server. When that was solved, getting these shares mounted persistently was even more difficult…
For those running into the same guest:
You can automatically mount your Windows drive every time you login to your Mac by adding it to your Login items. In System Preferences, Accounts, choose the “Login Items” tab and add the Volume to the list of apps that automatically start up.
February 20th, 2009
admin
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.
February 18th, 2009
admin
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.
November 26th, 2008
admin
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 ?
November 14th, 2008
admin
Steven Lasker (Program Manager)
ClickOnce:
- overwrites the database
- previous (latest version) stored in pre map
Script:
- Generate DB on the fly
- Create & Update script
November 14th, 2008
admin
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