SuperAPI AI Directory

web-unpublish

Deployment & operations

View repository

Updated 10-15 18:45

About this skill

/web-unpublish — Removing a 1C web publication from Apache

Removes the publication block from httpd.conf and the directory publish/{appname} inside Apache. If no other publications remain — removes the global 1C block and stops Apache. With the flag --all removes all publications at once.

Attention: this skill manages only web publications in Apache (blocks in httpd.conf + directory publish/). It does NOT delete project directories, upload/, databases or source files.

Usage

/web-unpublish <appname>
/web-unpublish bpdemo
/web-unpublish --all

Connection parameters

Read .v8-project.json from the project root. If webPath is set — use it as -ApachePath. By default tools/apache24 from the project root.

If the user did not specify appname and did not specify --all, run /web-info to show the list of publications and ask which one to delete.

If the user asks to delete all publications — use -All.

Command

powershell.exe -NoProfile -File .claude/skills/web-unpublish/scripts/web-unpublish.ps1 <параметры>

Script parameters

Parameter Required Description
-AppName <имя> * Publication name
-All * Delete all publications
-ApachePath <путь> no Apache root (by default tools/apache24)

* — either -AppNameor -All

Examples

# Удалить одну публикацию
powershell.exe -NoProfile -File .claude/skills/web-unpublish/scripts/web-unpublish.ps1 -AppName "bpdemo"

# Удалить все публикации
powershell.exe -NoProfile -File .claude/skills/web-unpublish/scripts/web-unpublish.ps1 -All

# С указанием пути
powershell.exe -NoProfile -File .claude/skills/web-unpublish/scripts/web-unpublish.ps1 -AppName "mydb" -ApachePath "C:\tools\apache24"