Skip to content

Commit 5692506

Browse files
authored
Merge pull request #1 from EdwardAngert/longview-cpanel
adjusted per PR456
2 parents e66d670 + 80fc006 commit 5692506

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

docs/platform/longview/longview-app-for-apache.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,10 +229,16 @@ To fix this, follow these steps:
229229
SetHandler server-status
230230
~~~
231231
The `SetHandler server-status` line indicates that this is the location block for mod\_status. The location line itself sets the location.
232-
232+
233233
#####On cPanel/WHM
234-
You'll want to edit the `/etc/linode/longview.d/Apache.conf` file with the contents:
235-
`location http://localhost/whm-server-status?auto` to update Longview to look at the cPanel customized status page.
234+
235+
To direct Longview to the cPanel customized status page, edit the `location` line in `/etc/linode/longview.d/Apache.conf` to match the following:
236+
237+
{: .file}
238+
/etc/linode/longview.d/Apache.conf
239+
: ~~~
240+
location http://localhost/whm-server-status?auto
241+
~~~
236242

237243
4. Longview is designed to check the default location automatically. If you use the default location shown above, you should be done. Refresh the Longview Apache tab in the Linode Manager to verify that it's working now.
238244
5. If you're not using the default location, you need to create a new file, `/etc/linode/longview.d/Apache.conf`, and set the `location` variable to match what you set in the Apache configuration file:

0 commit comments

Comments
 (0)