SuperAPI AI Directory

web-info

Deployment & operations

View repository

Updated 10-15 23:27

About this skill

/web-info — Status of Apache and 1C publications

Shows the state of Apache HTTP Server, the list of published databases, and recent errors.

Usage

/web-info

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.

Command

powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/web-info.ps1" <параметры>

Script parameters

Parameter Required Description
-ApachePath <путь> no Apache root (by default tools/apache24)

How to read the output

Three sections: server state, list of publications (name, URL, connection string, service tags), tail of the Apache log.

In the output What it means
Status: Остановлен Apache is not running — publications in httpd.conf exist, but the URLs do not respond. It is brought up by re-running /web-publish
Port: 9191 (не отвечает) The port is not listening — the URLs will not open. Together with Status: Запущен means that the server did not come up (port busy, broken config): see the errors section
[WARN] Обнаружен сторонний Apache Another instance is running on the machine — it may be holding the port; our commands do not manage it
[WS HTTP OData] What is published for the database: SOAP services, HTTP services, standard OData
+ext (WS+ext) Services provided by configuration extensions are also published
(нет публикаций) Apache is installed, but no database is published — /web-publish
(ошибок нет) / (нет файла) Normal, not a failure: there are no errors in the log or it has not been created yet

In the errors — the latest entries of level error and above, informational lines are filtered out. The log is not rotated, so an entry may be six months old: check the date before considering it the cause of the current problem. The path to the log is printed nearby — if full context is needed, read the file.

The publication string says "it is configured this way", not "the database responds": it checks the availability of Apache itself, but not of the publications. You can verify a specific database by requesting its URL — but keep in mind that such a request starts a 1C session and takes up a license.

Examples

# Статус по умолчанию
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/web-info.ps1"

# Указать путь к Apache
powershell.exe -NoProfile -File "${CLAUDE_SKILL_DIR}/scripts/web-info.ps1" -ApachePath "C:\tools\apache24"