HOW TO: Migrate Apache Settings to Apache for Windows in a UNIX-to-Windows Migration (323974)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional
  • Microsoft Small Business Server 2000
  • Microsoft Internet Information Services 5.0

This article was previously published under Q323974

SUMMARY

After you install Apache for Windows as part of your migration process, you may want to migrate your Apache configuration file to Windows. If so, you have make some minor modifications to the file. This article describes which directives to modify.

back to the top

Directory References

You must change references to files or directories in the configuration file. Specifically, check the directory references in the following directives:
  • AccessConfig
  • AddIcon
  • AddIconByEncoding
  • AddIconByType
  • AddType
  • Alias
  • CustomLog
  • DefaultIcon
  • DefaultType
  • Directory
  • DocumentRoot
  • ErrorDocument
  • ErrorLog
  • LoadModule
  • Location
  • MIMEMagicFile
  • PidFile
  • ResourceConfig
  • ScriptAlias
  • ServerRoot
  • TypesConfig
back to the top

User Directories

UNIX and Windows use different methods for supporting users and user directories. In Apache, you use the UserDir directive to specify the location of user directories. Windows does not support the same method. Instead, you must use Alias directives to map a user directory in the ~user format that is used in Apache for UNIX.

back to the top

REFERENCES

For additional information about how to prepare servers for migrating from UNIX to Windows, click the article number below to view the article in the Microsoft Knowledge Base:

323970 HOW TO: Prepare the Target Server for a UNIX-to-Windows Migration

back to the top

Modification Type:MinorLast Reviewed:2/16/2005
Keywords:kbhowto kbHOWTOmaster KB323974 kbAudITPro