FP98: Cannot Open Webs on Apache Server (297948)



The information in this article applies to:

  • Microsoft FrontPage 98 for Windows

This article was previously published under Q297948

SYMPTOMS

When you attempt to open a Microsoft FrontPage Web that resides on an Apache Server, after you install FrontPage Server Extensions, you may receive an error message similar to one of the following:
Cannot open httpd.conf for writing

-or-

Cannot open httpd.conf.lck
In addition, you cannot open your FrontPage Web.

CAUSE

This behavior can occur when either the conf folder or the files in the conf folder do not have the correct permissions.

RESOLUTION

To resolve this issue, follow these steps:
  1. Use the ls -l command to check the permissions on the conf folder and the Httpd.conf file.
  2. Assign the following permissions to the conf folder and the Httpd.conf file by typing the following:

    chmod 775 conf

    chmod 664 httpd.conf

  3. Use the ls -l command to verify the new permissions.

    The permissions for the conf folder should now be displayed as:

    drwxrwxr-x

    The permissions for the httpd.conf file should now be displayed as:

    -rw-rw-r--

NOTE: The conf folder and files must belong to the group that contains the user who is running the Web server. This is typically the www group.

MORE INFORMATION

In UNIX, there are three levels of permissions: user, group, and other. There are three permissions: read (r), write (w), and execute (x). Use the chmod command to specify the mode, or permissions and attributes of files and directories. Absolute mode is defined by the following octal numbers:
user                group               other

read write execute  read write execute  read  write  execute
400  200   100      040  020   010      004   002    001
r--  -w-   --x      r--  -w-   --x      r--  -w-   --x
				
For more information about the chmod command, refer to the UNIX pages in your system documentation.

The third-party products that are discussed in this article are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.

For additional information about installing FrontPage Server Extensions to an Apache Server, click the article numbers below to view the articles in the Microsoft Knowledge Base:

185541 Installing FrontPage Extensions on Supported UNIX Servers

214605 FP98: How to Uninstall and Reinstall Server Extensions on UNIX

185553 Patched Apache Requires Minimum Values for GID and UID

For more information about installing and administering the FrontPage Server Extensions, please refer to the Microsoft FrontPage Server Extensions Resource Kit (SERK). The FrontPage Server Extensions Resource Kit is located in the \SERK folder in your Microsoft FrontPage 98 CD.

Modification Type:MinorLast Reviewed:1/7/2006
Keywords:kbprb KB297948