Summary: | [PATCH] Mod_status Readability & Browser Side Table Sorting enhancements | ||
---|---|---|---|
Product: | Apache httpd-2 | Reporter: | Francois Cartegnie <bugzilla77> |
Component: | mod_status | Assignee: | Apache HTTPD Bugs Mailing List <bugs> |
Status: | RESOLVED LATER | ||
Severity: | enhancement | CC: | grange, jordi.prats, takashi.asfbugzilla |
Priority: | P3 | Keywords: | MassUpdate, PatchAvailable |
Version: | 2.0.48 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: |
screenshot
patch adding ExtendedStatusCssUrl and ExtendedStatusJsUrl sample css for extended status page |
Description
Francois Cartegnie
2004-02-10 18:33:32 UTC
I don't like to embed CSS or JavaScript into C. Perhaps it would be better if the user could supply a directive to specify an external CSS or JavaScript file to include? As server-status is an apache handler, it is not bound to any vhost. The directive would be inclued in the handler section, which would cause troubles with upgrades. If we need to fix css or js, the user would need to upgrade manually in his vhost. Created attachment 21752 [details]
screenshot
I have such a patch if anyone is interested. It adds support for ExtendedStatusCssUrl and ExtendedStatusJsUrl which both take an URL for .css or .js to include in extended status page. CSS allows for instance better highlighting of current requests. See attached screenshot (running on my own Apache development server). I want to try your patch (In reply to comment #5) > I want to try your patch Against which branch? (In reply to comment #6) > Against which branch? I'm using 2.2 Created attachment 21765 [details]
patch adding ExtendedStatusCssUrl and ExtendedStatusJsUrl
Patch:
- adds ExtendedStatusCssUrl
- adds ExtendedStatusJsUrl (I don't use it myself, but added it after reviewing this bug #)
- makes page HTML 4.0 Transitional valid
- corrects <title> to add server name (useful for bookmarks)
Quirk: I had to correct <dl>'s use for more powerful styling, which made degraded mode (without any css) different to what extended status used to look like. If anyone is interested in commiting this patch, I'd correct this.
Created attachment 21766 [details]
sample css for extended status page
To use, save into your document root and use :
ExtendedStatusCssUrl /server-status.css
(In reply to comment #9) > Created an attachment (id=21766) [details] > sample css for extended status page > > To use, save into your document root and use : > > ExtendedStatusCssUrl /server-status.css > Might be interesting to merge both patchs. But again, i'm not a fan of adding an external document call to an engine only function. (In reply to comment #10) > But again, i'm not a fan of adding an external document call to an engine only > function. There are precedents: DefaultIcon, AddIcon and AddIconByType. (In reply to comment #10) ... > Might be interesting to merge both patchs. > But again, i'm not a fan of adding an external document call to an engine only > function. Seems like the easiest way for the administrator to tweak the page to fit his needs though. Please help us to refine our list of open and current defects; this is a mass update of old and inactive Bugzilla reports which reflect user error, already resolved defects, and still-existing defects in httpd. As repeatedly announced, the Apache HTTP Server Project has discontinued all development and patch review of the 2.2.x series of releases. The final release 2.2.34 was published in July 2017, and no further evaluation of bug reports or security risks will be considered or published for 2.2.x releases. All reports older than 2.4.x have been updated to status RESOLVED/LATER; no further action is expected unless the report still applies to a current version of httpd. If your report represented a question or confusion about how to use an httpd feature, an unexpected server behavior, problems building or installing httpd, or working with an external component (a third party module, browser etc.) we ask you to start by bringing your question to the User Support and Discussion mailing list, see [https://httpd.apache.org/lists.html#http-users] for details. Include a link to this Bugzilla report for completeness with your question. If your report was clearly a defect in httpd or a feature request, we ask that you retest using a modern httpd release (2.4.33 or later) released in the past year. If it can be reproduced, please reopen this bug and change the Version field above to the httpd version you have reconfirmed with. Your help in identifying defects or enhancements still applicable to the current httpd server software release is greatly appreciated. |