Wednesday, April 14, 2010

How to host multiple web-sites on XAMP

Edit C:\xampp\apache\conf\httpd.conf
- yes... there are more lines in that file, but these are the ones you need to edit... :)
ServerName *:80

#DocumentRoot "C:/xampp/htdocs"

#<Directory />
# Options FollowSymLinks
# AllowOverride None
# Order deny,allow
# Deny from all
#</Directory>

#<Directory "C:/xampp/htdocs">
# Options Indexes FollowSymLinks Includes ExecCGI
# AllowOverride All
# Order allow,deny
# Allow from all
#</Directory> 

Edit C:\xampp\apache\conf\extra\httpd-vhosts.conf
- ok - just kinda follow the logic for each website... and place your web files in the right directory... or else...!
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot "C:/xampp/htdocs/FolderForWhateverSite"
ServerName www.whatever.com
##ServerAlias www.whatever.com
ErrorLog "logs/error.log"
CustomLog "logs/error.log" combined
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
<Directory "C:/xampp/htdocs/FolderForWhateverSite">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

Then go to command prompt:
net stop apache2.2 & net start apache2.2

Ever wanna clear your SSL Cert Cache?

certutil -urlcache * delete

Free Disk Utilities

http://www.freebyte.com/filediskutils/

Thursday, April 1, 2010

Installing Exchange 2007 - basics

Install Windows 2003 Ent x64

Install all Windows Updates - reboot

Install IIS

Check for more Windows Updates - reboot

Run Exchange 2007 setup.exe

MailFlow Settings - <Your old Exchange 2003 Server Name>

Readiness Check - all green? - click install

click yes - reboot - run the setup.exe again to Get Critical Updates for Exchange 2007

- mine found Update Rollup 9 for Exchange Server 2007 Service Pack 1 (KB970162)

install AdminPack

install Resource ToolKit

reboot

Open IIS - change directory security so that it does not require 128-bit encryption

Open Exhcange MMC - Server Config > Client Access - Properties of OWA

- - set the internal and external URLs - make sure that the S from the https has been removed.

- - The internal one I set for http://servername.domain.net/owa

- - The external one I set for http://owa.publicdomain.com/owa

After this part, you're ready to configure your proxy server to handle the incoming traffic to OWA and direct it to your new Exchange Server.