1829187 Members
8958 Online
109986 Solutions
New Discussion

Uninstall/Disable WebDav

 
ghousebagwan
Occasional Contributor

Uninstall/Disable WebDav

How do i uninstall or disable WebDav confid from my HP UX server ?

Platform info: Model: "ia64 hp Integrity Virtual Partition"
Release: HP-UX B.11.31

 

1 REPLY 1
DanishRaza
Senior Member

Re: Uninstall/Disable WebDav

Hello @ghousebagwan,

To uninstall or disable WebDAV (Web Distributed Authoring and Versioning) from an HP-UX server, you can follow these steps:

1) Connect to the HP-UX server: Log in to the HP-UX server using an account with administrative privileges.

2) Stop the WebDAV service: You need to stop the WebDAV service before proceeding with the uninstallation or disabling process. Open a terminal or command prompt and enter the following command:

/sbin/init.d/dav stop 

3) This command will stop the WebDAV service on the HP-UX server.

Uninstall WebDAV (optional): If you want to completely remove WebDAV from the server, you can uninstall it. The exact steps may vary depending on how WebDAV was installed on your server. Typically, WebDAV is installed as part of the Apache HTTP Server package on HP-UX. To uninstall Apache and WebDAV, you can use the following command:

swremove Apache

This command will remove the Apache HTTP Server and any associated components, including WebDAV.

4) Disable WebDAV configuration (alternative): If you prefer to disable WebDAV instead of uninstalling it completely, you can modify the server configuration to prevent WebDAV functionality. Follow these steps

                 a) Open the Apache HTTP Server configuration file in a text editor. The file is typically located at /etc/httpd/conf/httpd.conf.

vi /etc/httpd/conf/httpd.con

                 b) Search for the following line:

LoadModule dav_module libexec/mod_dav.so

                 C) Comment out or remove the line by adding a # at the beginning:

# LoadModule dav_module libexec/mod_dav.s

                 D) Save and close the file.

Restart the server: After uninstalling or disabling WebDAV, it's recommended to restart the server to ensure the changes take effect. Use the following command to restart Apache:

/sbin/init.d/httpd stop

/sbin/init.d/httpd start

This command will stop and then start the Apache HTTP Server on the HP-UX server.

After completing these steps, WebDAV should be uninstalled or disabled on your HP-UX server. Verify that the WebDAV functionality is no longer accessible by testing it with a WebDAV client or by attempting to access a WebDAV-enabled resource.

Thanks

Regards, 

Syed Danish Raza