PDA

View Full Version : Setting up a web server in XP (humor)


Craig R. Arko
03-03-2002, 11:04 PM
I came across this on the web, and once again found it too amusing to pass up (typifies my recent XPeriences):

"How to enable personal web sharing in Windows XP Home Edition. Microsoft has discontinued the Personal Web Sharing product that came with Windows 95/98/ME, and IIS is only included in the Professional Edition. Furthermore, they appear to have gone to some length to keep you from installing it manually.

Here's what you have to do to set up a web server on Windows XP Home Edition:

1. open C:\WINDOWS\INF\SYSOC.INF in Notepad or another text editor
2. locate a section called [Components]
3. find a line like this: iis=iis.dll,OcEntry,iis.inf,hide,7
4. change it to this: iis=iis2.dll,OcEntry,iis2.inf,,7
5. Copy IIS.DL_ and IIS.IN_ from the Windows 2000 Advanced Server CD (according to this thread on devdex, Windows 2000 Professional CD
also works, but the Professional Edition of XP does not)
6. From a command prompt, EXPAND IIS.DL_ IIS2.DLL
7. Copy IIS2.DLL to C:\WINDOWS\SYSTEM32\SETUP
8. From a command prompt, EXPAND IIS.IN_ IIS2.INF
9. Copy IIS2.INF to C:\WINDOWS\INF
10. Now you can start installing it. Go to Start menu, Settings, Control Panel, Add/Remove Programs, Add New Programs, select IIS.
11. When prompted for files, alternately insert your XP Home Edition CD or the Advanced Server CD. You will have to manually search for
each file on each CD; it doesn't know the correct path for any of them. Some files (like INFOCTRS.DLL) are not on either CD, but
they are stored in compressed form in C:\WINDOWS\I386. Select the compressed file (like INFOCTRS.DL_) and the installer will
uncompress it and continue.
12. Reboot

You will still have to go to IIS Administration (Start menu, Settings, Control Panel, Administrative Programs, IIS) and set up virtual directories (right-click on Default Site and select "New virtual directory", then step through all the tabs to configure it). Also (and I'm not clear on this step), you'll need to go to the Directory Security tab, click Edit, and browse for the user setup on your computer. If you have multiple users on the machine, you would presumably have to set up separate virtual directories for each of them and set privileges manually in order to allow each user to administer their own virtual site. If anyone has actually succeeded in doing this, please let me know.

By contrast, here's what you have to do to set up a web server on Mac OS X:

1. Go to Apple menu, System Preferences, Sharing.
2. Under Web Sharing, click Start.

Every user now has their own web site, served by Apache. Each user can put files and folders in the Sites folder of their home directory, and they will be served up from http://localhost/~username/. Users can only edit their own site (though of course they can browse other users' sites in a web browser). Administrators can also put files and folders in /Library/WebServer/Documents/, and they will be served up from http://localhost/."

Good night, Gracie.