Lighttpd Custom Error Page
Contents |
5 years ago 404 not found lighttpd Hi All,I need customize 501 error
Lighttpd Index Html 404
pages, if i wrote in "lighttpd.conf" : server.error-handler-404 =
Lighttpd Setup
"/error.php" -- WORKserver.error-handler-401 = "/error.php" -- NOT WORKserver.error-handler-501 = "/error.php" -- NOT WORK... How
Lighttpd Redirect
can I do customize page with other errors, not only 404 error? Replies (2) RE: Customize error pages, not only 404 error. - Added by spaam about 5 lighttpd url rewrite years ago the error handler only works for 404..http://redmine.lighttpd.net/wiki/lighttpd/Server.errorfile-prefixDetails something for you to read. RE: Customize error pages, not only 404 error. - Added by sinoptik about 5 years ago I know about this, but this way use only static page. I need to show my error code (for example 200 for any error). Who can tell me how to do, to act Lighttpd my script for any errors and return my error codes. Thanks. (1-2/2) Loading... Powered by Redmine © 2006-2016 Jean-Philippe Lang
server.errorfile-prefix option¶ server.errorfile-prefix¶ lighttpd log identifies the path prefix to a list lighttpd directory listing of static error files You can customize what page to send back http://redmine.lighttpd.net/boards/2/topics/4639 based on a status code. This provides you with an alternative way to customize 404 pages. You may also customize other status-codes with their https://redmine.lighttpd.net/projects/1/wiki/Server_errorfile-prefixDetails own custom page (500 pages, etc). Only static files are allowed to be sent back. Format:
is very easy to do http://nslu2guide.blogspot.com/2009/01/custom-404-error-page-for-your-lighttpd.html thoughh, just edit lighttpd.conf.nano /etc/lighttpd/lighttpd.conffind the line below in this config file#server.error-handler-404 = "/error-handler.html"and uncomment it toserver.error-handler-404 = "/error-handler.html"Now, you create a file called error-handler.html in your www root ( for my case /var/www/ ).Restart the server to apply changes/etc/init.d/lighttpd restartThat is all. You have a lighttpd redirect custom error page right now. Here is mine :) at 10:40 AM Labels: debian, guide, lighttpd, NSLU2 No comments: Post a Comment Newer Post Older Post Home Subscribe to: Post Comments (Atom) About this site... Useful guides for your slug. It is even easier to setup a lighttpd custom error Debian server with all these :) -Burak Guides Adding USB wireless adapter WebCam on Slug Upgrade Slug Lighttpd password protected folders Choose the correct disk to boot... Backup your NSLU2 flashed image FireStats - Top 40 php script - guide Open up some space Installing and using Screen Mount NTFS with extended characters Send email using an ISP or Gmail Custom 404 error page Fine tuning for your slug Sftp drive for windows connection MySQL server setup with phpmyadmin Free more memory External HDD spindown issue Read/write NTFS drives Mt-daapd - Firefly Media Server Transmission - Torrent download client Lighttpd eaccelerator support Webserver installation - Lighttpd + PHP Installing Debian on NSLU2 Other useful NSLU2 sites http://nslu2.pcprobleemloos.nl http://unslung.blogspot.com/ http://www.cyrius.com/debian/nslu2/ http://www.nslu2-linux.org/ http://www.slug-firmware.net/ Websites of my friends http://tuysuz.homeip.net If it is helpful If you want to donate click below