web-unpublish

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

33|8|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/Dach-Coin/claude_rules_1c --skill web-unpublish-dach-coin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-unpublish
Source: https://github.com/Dach-Coin/claude_rules_1c/tree/main/.claude/skills/web-unpublish
Command: npx skills add https://github.com/Dach-Coin/claude_rules_1c --skill web-unpublish-dach-coin

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Убирает веб-публикацию 1С из Apache, когда нужно закрыть веб-доступ к базе и удалить соответствующие конфигурационные блоки и каталоги публикации.

Core Features & Use Cases

  • Removes Apache httpd.conf blocks: удаляет маркерный блок публикации 1C Publication из httpd.conf, чтобы веб-эндпоинт перестал обслуживаться.
  • Deletes publish directories: удаляет каталог(и) publish/{appname} внутри Apache, чтобы не оставлять веб-артефакты на диске.
  • Supports removing everything at once: флаг --all очищает все публикации и при отсутствии публикаций останавливает Apache, снижая риск неполного удаления.
  • Use Case: пользователь больше не использует опубликованную базу в веб-режиме (или меняет окружение) и просит убрать публикацию, а не просто отключить отдельный модуль.

Quick Start

Запроси: web-unpublish bpdemo, чтобы удалить публикацию bpdemo из Apache (и соответствующий каталог publish).

Frequently Asked Questions about web-unpublish

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

FAQPage Schema
How do I remove 1C web publishing from Apache httpd.conf?

Unpublishing 1C from Apache removes the specific `1C Publication` marker block from httpd.conf and deletes the corresponding `publish/{appname}` directory, stopping the web endpoint from serving the database.

What is the best way to unpublish all 1C web publications from an Apache server at once?

Using the `--all` flag clears every 1C web publication from Apache by removing all httpd.conf blocks and publish directories. If no publications remain, it also stops the Apache service to ensure complete removal.

How does Apache handle leftover 1C publish directories after removing httpd.conf blocks?

Removing httpd.conf blocks alone stops the web endpoint but leaves publish directories on disk. A complete unpublish reconciles both by deleting the `publish/{appname}` directories alongside the configuration markers.

Do I need a specific app name to remove a 1C web publication from Apache?

Yes, you must provide a valid appname to target a specific 1C web publication for removal, or use the `--all` flag. The appname identifies which httpd.conf block and publish directory to delete.

Can I read the webPath for 1C unpublishing from project configuration?

Yes, the unpublish process can optionally read the webPath from the `.v8-project.json` file. This helps accurately locate and remove the correct Apache publish directory for the specified application.

Why should I unpublish a 1C database instead of just disabling the Apache module?

Unpublishing fully removes the 1C web endpoint by deleting httpd.conf configuration blocks and publish directories, whereas disabling a module leaves the publication artifacts intact and the database still configured for web access.