1c-web-unpublish

Remove 1C web publications from Apache httpd.conf and publish directories.

40|11|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/Desko77/claude-code-skills-1c --skill 1c-web-unpublish
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 1c-web-unpublish
Source: https://github.com/Desko77/claude-code-skills-1c/tree/main/skills/1c-web-unpublish
Command: npx skills add https://github.com/Desko77/claude-code-skills-1c --skill 1c-web-unpublish

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires psutil, and includes scripts (resource) components.

What problem does it solve?

Removes 1C web publications from Apache configurations and their publish directories to revert a site’s web publication when requested by a user.

Core Features & Use Cases

  • Deletes the publication blocks from httpd.conf for a specific app or all apps.
  • Removes the corresponding publish/{appname} directory to clean up published artifacts.
  • Restarts or stops the Apache service as needed to apply changes.

Quick Start

Execute the script with the target publication name to remove a specific web publication, for example: powershell -NoProfile -File skills/1c-web-unpublish/scripts/web-unpublish.ps1 -AppName MyApp

Frequently Asked Questions about 1c-web-unpublish

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I remove 1C web publications from Apache configurations?

To remove 1C web publications from Apache, execute the provided PowerShell script with the target application name, which deletes the publication blocks from httpd.conf and removes the corresponding publish directories before restarting Apache.

Can I delete all 1C web publications from Apache at once?

Yes, you can delete all 1C web publications from Apache at once by passing the -All parameter to the script, which clears every publication block from httpd.conf and removes all publish directories.

What happens to the Apache service when a 1C web publication is removed?

When a 1C web publication is removed, the Apache service is restarted or stopped as needed to apply the configuration changes made to httpd.conf and the deleted publish directories.

Do I need to manually specify the Apache root directory to unpublish a 1C web app?

You do not need to manually specify the Apache root directory to unpublish a 1C web app, because the script automatically resolves ApacheRoot from the project when it is not explicitly provided.

Does the 1C web unpublish script require Python to run?

The 1C web unpublish script requires Python and the psutil dependency to execute, as it exploits both PowerShell and Python scripts to edit httpd.conf markers and manage the Apache service.

What is the best way to clean up orphaned 1C publish directories on Apache?

The best way to clean up orphaned 1C publish directories on Apache is to run the unpublish script, which removes the publish/{appname} folders and their corresponding httpd.conf blocks to safely revert web publications.