top | item 2774704

H5ai - a beautified Apache index

26 points| pablospr | 14 years ago |larsjung.de | reply

13 comments

order
[+] chrisrogers|14 years ago|reply
Apologies for the aside, but another one of this fellow's projects, jquery.fracs, is pretty impressive: https://github.com/lrsjng/jQuery.fracs
[+] vdm|14 years ago|reply
Thanks for the link.

This is used in h5ai. I find these views more useful that scroll bars. Its amazing what can be done inside the browser these days.

http://larsjung.de/fracs/

> jQuery.fracs determines the fraction of an HTML element that is currently in the viewport, as well as the fraction it takes of the complete viewport and the fraction of the area that might possibly be visible. It also provides the coordinates of the visible rectangle, absolute (in document space) and relative (in element space).

[+] sikhnerd|14 years ago|reply
Link to source and some screenshots, since the site is quite slow right now: https://github.com/lrsjng/h5ai
[+] noibl|14 years ago|reply
As always, Chrome users, prefix the address in the omnibox with 'cache:' to get

http://webcache.googleusercontent.com/search?q=cache%3Alarsj...

At first I thought this was kind of overkill for such a 'simple' function but the example of Github shows how important effective presentation of a file list can be. To the average web user the default Apache listing can look 'broken' whereas I would have no problem directing a client to the URL of an index that looked like this.

[+] overshard|14 years ago|reply
This is quite nice, however, if you are wanting to serve static content I no longer believe Apache the proper tool for the job. Use cherokee, lighttpd or nginx, they are all faster and have decent file interfaces.
[+] static_cast|14 years ago|reply
I don't think this is true. Apache with mpm_worker and fastcgi for python/php should perform on a typical dedicated server like nginx till the network is saturated. you also have to consider that .htaccess files are quite cpu intensive because the way apache works they are parsed at every request. put your .htaccess config in the config-file disable unused modules and use mpm worker and I bet the difference is negligible. if you have to count every io operation and you run on small memory nginx may make a difference.

http://nbonvin.wordpress.com/2011/03/14/apache-vs-nginx-vs-v...

[+] simcop2387|14 years ago|reply
Looking at the way it works, I would imagine that this should be usable even on other web servers. The only key lines are the ones that set the header and footer that do the dirty work. I haven't been able to try the demo (nor have I had time to set it up myself yet), so I don't know how well it works but the screen shots make it look like it could be fairly nice for providing a more familiar interface to a non-computer savy users.
[+] vegardx|14 years ago|reply
Other web-servers are good, but not that good. People are over-optimizing where there are no needs. One could instead say that you should use a more modern approach to a web-server, and then Nginx or LigHTTPD would be a better solution.

Personally I'd just stick Varnish in front of it and keep using the webserver that I've always felt comfortable with, Apache.

[+] retube|14 years ago|reply
I don't get it... It's just a 404 page? Or is this an actual error?
[+] sgt|14 years ago|reply
I guess we won't be seeing any screenshots...