Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3474

The command "apachectl status" does not work

$
0
0
Hello,

I try to run the "apachectl status" command in debian 12
but the system displays the following lines:
knowing that instead of https://example.my-domane.com it is my real domain which is displayed


Looking up localhost
Making HTTP connection to localhost
Sending HTTP request.
HTTP request sent; waiting for response.
HTTP/1.1 302 Found
Data transfer complete
HTTP/1.1 302 Found
Using https://example.my-domane.comserver-status
Looking up https://example.my-domane.comserver-status
Unable to locate remote host https://example.my-domane.comserver-status.
Alert!: Unable to connect to remote host.

lynx: Can't access startfile http://localhost/server-status
'www-browser --dump http://localhost:80/server-status' failed.
Maybe you need to install a package providing www-browser or you
need to adjust the APACHE_LYNX variable in /etc/apache2/envvars


Can you please help me to make this command work knowing that the status module is activated. Here is the content of the "status.conf" file:

<Location /server-status>
SetHandler server-status
Require local
#Require ip 192.0.2.0/24
</Location>

# Keep track of extended status information for each request
ExtendedStatus On

# Determine if mod_status displays the first 63 characters of a request or
# the last 63, assuming the request itself is greater than 63 chars.
# Default: Off
#SeeRequestTail On


<IfModule mod_proxy.c>
# Show Proxy LoadBalancer status in mod_status
ProxyStatus On
</IfModule>

Statistics: Posted by pipa85 — 2024-05-21 14:32 — Replies 0 — Views 33



Viewing all articles
Browse latest Browse all 3474

Trending Articles