USA India
Home Articles UserTV Press Releases Dictionary Books Education Careers B-Channels Resources Forums Blogs Classifieds
Monday 1 Dec, 2008 Register Login
Archives
Articles By Date
Articles By Category
 
 
 Archives >> Details
Be a webmaster with Mac OS X
OS X is the easiest platform for a personal or SOHO Web site.
Posted by : Dennis Sellers
Mac Advisor hed: Be a webmaster with Mac OS X dek: OS X is the easiest platform for a personal or SOHO Web site. by Dennis Sellers

Did you know that if you can point and click, you can be a webmaster and run an Apache Web server on your Mac, especially if you're using Mac OS X?

But wait--let's back up and explain. You probably know that Mac OS X is Apple's new operating system, which puts a Mac user interface body on a Unix engine. Not only can it run classic Mac software and applications built especially for it, but it also runs some of the best open-source programs, including Apache, a Web server that, in fact, forms the basis for Mac OS X's file-sharing capabilities.

Open source is a term for the historical development model used by the Internet community to facilitate the distributed development of software. The basic idea: involve as many people as possible in writing and debugging code by publishing the source code and encouraging the formation of a large community of developers who will submit modifications and enhancements.

Apache is a powerful, flexible, HTTP/1.1-compliant Web server known for its stability. It's highly configurable, and can be extended with third-party modules. Apache is the world's most popular Web server, powering more than 60 percent of Internet domains, according to Netcraft's June 2001 Web Server Survey.

Mac OS X has a Web Sharing feature. But, you may say, the "traditional" Mac operating system has included a personal Web server in the past. And you'd be right. However, X's Web Sharing is very different. It's a fully functional installation of the aforementioned Apache Web server.

When you first install Mac OS X, Web Sharing is inactive by default. And unlike Web Sharing in previous versions of the Mac operating system, you don't have to enable file sharing. Since Mac OS X is designed as a multi-user system, it presumes that file sharing is on.

In fact, multiple users can have multiple Web sites operating from the same Mac with Mac OS X. However, since Mac OS X is a multi-user system, the start-up process for this can be relatively fast or a bit slow. It all depends on how many user accounts are configured on your Mac, as well as how many files and folders are in the serving content locations. No matter how many users there are, when the Web Sharing process is finished, the Start button will change to a Stop button.

You can set up your Web site simply by adding HTML pages and images to the Sites folder in your Home folder. This means that if someone's browsing the Net and types in your computer's name, they can't run wild with access to your computer and all its files.

You can place HTML docs in your Sites folder and make them accessible by appending ~username/ to the URL of your Web server. You can use the short user name that's assigned to you. For example, if my Web server's IP address is 615.859.1.2, the URL, http://615.859.1.2/~dsellers, would cause the page, index.html, to load from the Sites folder. If your Mac's Web server is accessible through a domain name address, such as www.dsellers.com, then user sites can be accessed with a URL address such as http://www.dsellers.com/~dsellers.

You can place new pages in your Sites folder and create subfolders-e.g., "Docs," "Images," "Text"-within it.

Once you've started Web Sharing, it'll keep on keepin' on until you tell it otherwise or until you shut down your Mac. But when you restart your system, the process will automatically be implemented. To disable Web Sharing, open the Sharing System Preferences and click the Stop button.

Web Sharing only works when your Mac is connected to the Internet. If, like many folks, you access the Internet by modem, the downside to this is that your server will only be on the Internet when you've dialed up and made a modem connection. If you're not connected, your server's not available. You can still Web Share, but you'll have to spread the word about when your Web site is actually available.

By the way, all Web servers have a default home page. Web Sharing uses a file named index.html, the default file name specified in the configuration files for the Apache Web server. In other words, it's the default for serving HTML documents in each directory in the Web server. This can only be overridden with the Terminal application or a product such as iTools. More on both of those in a moment.

Once you've got your Web server up and going, you can test it by using the Mac that's working as the server, or from another machine. If your Mac has a fixed IP (Internet Protocol) address on the Internet, you can access it by typing the address in a Web browser that's Internet connected. If your computer or network has its own domain name, you can access the server by typing in its server name (the old faithful "www" moniker) and domain name (dennis-sellers, for example) together (www.dennis-sellers.com).

However, if your Web server isn't connected to the Internet, you can enter the server's private IP address from your own Mac or from another Mac on your local network. Ditto if you're connecting from behind a firewall on a private IP network. (A firewall is a computer or router configured to act as a security gateway between your LAN and the Internet.)

Either way, an Apache default document should download from the Web server to your client Mac and pop up on-screen. The default page tells you what type of server (Apache, naturally) is being used to serve up your Web documents, and provides links for more information. Eventually, you'll want to replace the default page with your own files.

What's nifty about Apple's new operating system is that it hides all of Apache's expansion modules and configuration options. All of the Web server's advanced options are still there; Apple has just chosen to cloak them under a friendly user interface.

Although Apple has hidden Apache's advanced options, power users can still access them via the included Terminal application, which offers command-line access to the Unix core that hums beneath Mac OS X's Aqua interface. If you're a Unix guru, you can go ahead and test-drive the command line to get familiar with the characteristics of the Unix shell in Mac OS X.

However, if you're not a Unix-head, prepare for some initial intimidation. You'll want to check out the Terminal to see that it's not really that difficult to use the command line for certain tasks. The best way to get started is to walk through Apple's online Terminal tutorial.

Tenon Intersystems' iTools provides a Web-based graphical administration interface to Apache and a comprehensive suite of Internet server tools. The latest release, version 6, lets you configure and remotely manage Apache, DNS, and FTP, along with a range of other Mac OS X Internet services, by using a standard browser on any platform.

The centerpiece of iTools is the Administration Server, which extends Apache in two important ways. First, you get a graphical interface that manages the syntactically demanding Apache configuration file. And you can access this interface from any Web browser, which by definition gives you the ability to configure Apache remotely.

With Tenon's new Aqua graphical user interface, webmasters will also be able to manipulate Apache, DNS, and FTP directly on Apple's Aqua desktop. The new graphical user interface (GUI) will co-exist with Tenon's secure, remote browser-based administration, enabling webmasters to switch between desktop management and "anywhere, anytime" browser-based control.

Because all the needed Web server capabilities will be available using Tenon's iTools 6 on Mac OS X, webmasters will only need to consider Apple's upcoming new server product if they need additional file sharing, NetBoot, or other advanced hardware features.

And if you really need more powerful Web-serving features, you'll want to look into Mac OS X Server, Mac OS X's big brother. It's designed to combine the strengths of AppleShare IP with the power of Mac OS X, integrating services for file sharing, Internet and Web serving, networking, client management, and e-mail. Mac OS X Server, which ranges in price from $499 for a 10-user license to $999 for an "unlimited" license, comes bundled with Apache, mySQL, and PHP (also known as AMP). With PHP, you can develop and host a wide variety of sites for delivering content, conducting e-commerce, or any application that requires connecting to a database server and extracting its data.

Mac OS X is satisfactory for developers who want to download and install PHP themselves. For those who want the software pre-installed and ready to go, Mac OS X Server is the way to go. For more info, go to the Mac OS X Server Web site.

By the way, the Apache Web server is open-source software overseen by the Apache Software Foundation, which exists to ensure "that the Apache projects continue to exist beyond the participation of individual volunteers, to enable contributions of intellectual property and funds on a sound basis, and to provide a vehicle for limiting legal exposure while participating in open-source software projects."

 
 
Archives by Date
 
 
 
 
 
Copyright © 1994-2008 ComputerUser, Inc., All Rights Reserved All marks are trademarks of ComputerUser Media.
Reproduction in whole or in part in any form or medium without express written permission of ComputerUser, Inc. is prohibited.
About us | Terms of use | Privacy Policy | Legal | Trademark/Copyright | Awards | Advertise | Writer guidelines | Sitemap Html Xml | Contact | FAQ's | Feedback  | Link to us

Here are the topics we cover computer certification computer careers computer training computer games consulting data recovery data security digital entertainment emerging technology gadget reviews handheld computers hardware reviews home automation home networks home office how-to advice internet linux local companies local news local profiles macintosh mp3 players network security online music online security open-source small-business technology soho software reviews technology books technology dictionary vpn web site reviews wi-fi windows wireless technology tech articles tech news press releases tech dictionary education resources career solutions create your personal blog upload your videos become a writer usergroups special interest group SIG 3com cipts adobe adobe certified expert apc ncpi apple achds acpt acsa actc avaya bea 8.1 certified administrator 8.1 certified architect 8.1 certified developer 9 certified administrator bicsi rcdd checkpoint ccmse ccsa ccsa ngx ccse ccse ng plus with ai ccse ngx cisco access routing and lan switching ccda ccdp ccie ccip ccna ccnp ccnp old ccsp ccvp crmam ip communications optical proctored exams for validating knowledge sales specialist storage networking vpn and security wireless lan citrix cca 3.0 cca 4.0 cca 4.5 cca xp ccea 3.0 ccea 4.0 ccea xp ccia ciw ciw associate ciw certified instructor master ciw admin master ciw designer master ciw enterprise developer security analyst comptia a+ network+ security+ server+ computer associates ca cusa cuse cwna cwna cwsp dell eccouncil cea cep certified ethical hacker chfi e-commerce architect emc emc specialist implemenation technology foundations enterasys ese eta exam express exin exin itil extreme networks ena ens filemaker f7cd f8cd fortinet fortigate foundry cne fujitsu fujitsu guidance software ence hdi css hda hdm hdsa hitachi hitachi certified professional hp ais apc app aps ase certified systems developer csa cse master ase huawei hcne hyperion hcp ibm advanced deployment professional advanced technical expert application developer business process analyst certified administrator certified advanced system administrator certified advanced technical expert certified associate developer certified enterprise developer certified solution designer certified specialist certified systems expert database administrator db2 deployment professional enterprise developer eserver certified specialist ibm on demand business solution advisor solution designer solutions developer solutions expert storage administrator system administator iisfa cifi intel isaca cisa isc cissp sscp iseb itil ism cpm juniper jncia jncis legato lcaa lcea lotus clp lpi lpic level 1 lpic level 2 lpic level 3 macromedia mcafee mcdata csnd microsoft crm mbs mcad .net mcdba mcdst mcitp mcp mcpd mcsa longhorn mcsa 2003 mcsa 2008 mcsd .net mcse mcse 2000 security mcse 2000 to mcse 2003 upgrade mcse 2003 mcse 2003 messaging mcse 2003 security mcse 2008 mcts microsoft business solutions microsoft partner competency mile2 cnsa network appliance nac-na nac-nie naca nace nacp network general sniffer certified professional nokia nokia security administrator nortel ncde ncds ncse ncss ncts novell5 cna 5 cne 6 cna 6 cne 6.5 cne cne upgrade omg ocup oracle 10g dba 10g oca 11i 8i dba 9i dba 9i internet application developer oca ocp8 to ocp8i dba upgrade exam pmi project management professional polycom pcve redhat rhce rhct sair sas institute sas scp saas scp snia snia certified architect snia certified professional snia certified systems engineer snia storage networking certification program administrator professional associate symantec scse scsp scta scts teradata tca v2r5 tcad v2r5 tcda v2r5 tcis v2r5 tcm v2r5 tcp v2r5 tia ccnt ctp tibco tcp trusecure ticsa veritas infraguard chamber of commerce vcp vmware certified professional webex linkedin facebook myspace Professional page layout, image editing, vector illustration, and print production Website design, development, prototyping, and blogging Creation of rich interactive content Industry-standard visual effects and motion graphics Video capture, editing, and production; DVD titling; and digital audio, Adobe Photoshop CS3 extended, Adobe illustrator CS3,Adobe indesign CS3,Adobe Acrobat 8 Professional, Adobe Flash CS3 Professional, Adobe Dreamweaver CS3,Adobe Contribute CS3,Adobe Fireworks CS3,Adobe After Effects CS3 Professional, Adobe Premiere Pro CS3,Adobe Soundbooth CS3,Adobe Encore CS3,Adobe OnLocation,Adobe Bridge CS3,Adobe Version Cue CS3,Adobe Device Central CS3,Adobe Stock Photos, Intel Pentium 4 (1.4GHz processor for DV; 3.4GHz processor for HDV), Intel Centrino, Intel Xeon, (dual 2.8GHz processors for HD), or Intel Core, Duo (or compatible) processor; SSE2-enabled processor required for AMD systems Microsoft Windows XP with Service Pack 2 or Microsoft Windows Vista Home Premium, Business, Ultimate, or Enterprise (certified for 32-bit editions) 1GB of RAM for DV; 2GB of RAM for HDV and HD; more RAM recommended when running multiple components 10GB of available hard-disk space (additional free space required during installation) Dedicated 7,200 RPM hard drive for DV and HDV editing; striped disk array storage (RAID 0) for HD; SCSI disk subsystem preferred Microsoft DirectX compatible sound card (multichannel ASIO-compatible sound card recommended),1,280x1,024 monitor resolution with 32-bit color adapter Blu-ray burner required for Blu-ray Disc creation OHCI compatible IEEE 1394 port for DV and HDV capture, export to tape, and transmit to DV device QuickTime 7.1.2 software required to use QuickTime features Broadband Internet connection required for Adobe Stock Photos* and other services

3PAR, Accellion, Acronis, Actional, Active Endpoints, ActiveGrid, activePDF, ActiveServers, ActiveState, Actuate, Adaptec, Agile Software, AGiLiENCE, Agilysys, Akorri, AlachiSoft, Alter Logic, Altor Networks, Altova, AMD, AMDAHL, Amentra, Amyuni, anacubis, Apani, APC, Appcelerator, AppSense, AppStream, Array Networks, Ascential, Astaro, Attune Systems, Autodesk, AutoVirt, Availl, Avanade, Azul Systems, Barracuda Networks, BEA Systems, B-hive, Black Duck Software, Blackbaud, Blade Network Technologies, Blue Coat, Blue Lane, BlueArc, BlueNote Networks, BluePheonix Solutions, BMC Software, Borland, Bristol Technology, Brix Networks, BroadVision, Brocade, Burton Group, Business Objects, CA, CalAmp, Cassatt, Cast Iron Systems, Catbird, Cayenne Technologies, Ceedo Technologies, Cenzic, Certeon, CiRBA, Cisco Systems, Cision, Citrix Systems, ClearApp, ClearCube Technology, CollabNet, Compass America, Composite Software, Compugen, Compuware, Configuresoft, Continuity Software, Coraid, Courion, Coyote Point Systems, Crescendo Networks, CSC, DataCore, DataSynapse, Dell, Desktone, Digipede Technologies, Double-Take Software, Ecora Software, EDS, eG Innovations, Egenera, Elastra Corporation, Electric Cloud, Embotics, EMC Corporation, Emulex, Endeavors Technology, Enigmatic Corporation, Enterprise Management Associates, Entuity, EqualLogic, Ericom Software, ESRI, EVault, eXludus Technologies, F5 Networks, FalconStor, FastScale Technology, Foedus, Force10 Networks, Fortisphere, Forum Systems, Fujitsu, GemStone Systems, Getronics, GlassHouse, Green Hills Software, Grid Dynamics, GridGain Systems, GT Software, Hitachi, HP, Hyper9, Hyperic, IBM, ICEsoft, IGEL Technology, Illumita, ILOG, IMEX Research, Information Builders, Ingres, InstallFree, Integrien, Intel, Intellium, International Computerware, iTKO LISA, JBoss, Juniper, KACE, Kidaro, LeftHand Networks, Leostream, Lifeboat Distribution, Liquid Computing Corporation, Liquid Technology, Lynux Works, Mainline, ManageIQ, Managed Methods, ManageSoft, Marathon Technologies, McAfee, Mellanox Technologies, Microsoft, Mid-Atlantic Computers, Mindbridge Software, Mindreef, MKS, MonoSphere, Motorola, MQSoftware, mySoftIT, NASTEL, Ncomputing, NEC, Neocleus, NeoPath Networks, Neoware, NetApp, Netegrity, Neterion, Netuitive, Neverfail, Nexaweb, NextAxiom, Nimbus, Nimsoft, Niyuta, NoMachine, Novell, ONStor, Opalis Software, Open Kernel Labs, OpenSpan, OPNET Technologies, Optaros, OpTier, Oracle, Pano Logic, Parallels, Parasoft, Perforce Software, PHD Technologies, Phoenix Technologies, Phurnace Software, Pillar Data Systems, PlateSpin/Novell, Progress Software, Prolifics, ProSync Technology, Provision Networks, QLogic, Quest Software, Racemi, Raritan, Raxco Software, Red Hat, Reflex Security, Resolution Enterprises, RingCube Technologies, Riverbed Technology, Rogue Wave Software, RSA Security, Sagnet Solutions, SanDisk Corporation, SAP, SAVVIS, ScaleMP, Scalent Systems, Seanodes, Secure Command, Secure Computing, Sentillion, Shavlik Technologies, ServInt Internet Services, Silpion IT Solutions, SIMtone, Skytap, Skyway Software, Software AG, Sonasoft, SourceGear, Splunk, StackSafe, SteelEye Technology, StillSecure, StoneFly, Stonesoft, Stoneware, StoreVault, StrikeIron, STT WebOS, Sun Microsystems, SunGard, Supermicro Computer, Surgient, SWsoft, Sybase, Symantec, Systar, TBD Networks, Tenfold, TheInfoPro, Thinstall, Third Brigade, TIBCO Software, Tidal Software, Tideway Systems, TOA Solutions, TRANGO Virtual Processors, Trend Micro, Tresys Technology, Trigence, Tripwire, Ulteo, Unisys, United Devices, VaST Systems, VDIworks, VeeAm Software, Verari Systems, Verio, VeriSign, Vicom Computer Services, VirtenSys, Virtera, Virtual Iron, VirtualLogix, Virtugo Software, Virtutech, VisionCore, Vizioncore, VKernel, VMLogix, vmSight, VMware, Vordel, vThere-Sentillion, Vyatta, WaveMaker, Web Age Solutions, WSO2, Wyse Technology, XDS, XenoCode, Xiotech, xkoto, Xsigo Systems, Zenith Optemedia, Zeus Technology.