Home > lighttpd redirect > lighttpd custom error page

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: .html Example¶ server.errorfile-prefix = "/srv/www/htdocs/errors/status-" Now create static pages for your error handling in directory /srv/www/htdocs/errors. Based on the above entry you must name your files status-(status-code).html /srv/www/htdocs/errors/status-404.html /srv/www/htdocs/errors/status-500.html /srv/www/htdocs/errors/status-501.html Create custom pages for any error status code. See Also¶ server.error-handler-404 Spice Up Error Page Loading... Powered by Redmine © 2006-2016 Jean-Philippe Lang

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

 

Related content

lighttpd error handler

Lighttpd Error Handler table id toc tbody tr td div id toctitle Contents div ul li a href Lighttpd Url Rewrite a li li a href Lighttpd Redirect All Requests a li ul td tr tbody table p years ago not found lighttpd Hi All I need customize error lighttpd index html pages if i wrote in lighttpd conf server error-handler- lighttpd setup error php -- WORKserver error-handler- error php -- NOT WORKserver error-handler- error php -- NOT WORK How lighttpd redirect can I do customize page with other errors not only error Replies RE Customize error pages not only

lighttpd 404 error handler

Lighttpd Error Handler table id toc tbody tr td div id toctitle Contents div ul li a href Lighttpd Index html a li li a href Lighttpd Setup a li li a href Lighttpd Redirect a li ul td tr tbody table p years ago not found lighttpd Hi All I need customize error p h id Lighttpd Index html p pages if i wrote in lighttpd conf server error-handler- p h id Lighttpd Setup p error php -- WORKserver error-handler- error php -- NOT WORKserver error-handler- error php -- NOT WORK How p h id Lighttpd Redirect p can

lighttpd error pages

Lighttpd Error Pages table id toc tbody tr td div id toctitle Contents div ul li a href Not Found Lighttpd a li li a href Lighttpd Setup a li li a href Lighttpd Redirect a li li a href Lighttpd Redirect All Requests a li ul td tr tbody table p server error-handler- option para server error-handler- para uri to call if the requested URL results in a static relatedl file not being found It is p h id Not Found Lighttpd p not invoked if dynamic content such as a fastcgi lighttpd custom script returns an HTTP status

lighttpd server error handler 404

Lighttpd Server Error Handler table id toc tbody tr td div id toctitle Contents div ul li a href Lighttpd Index html a li li a href Lighttpd Url Rewrite a li li a href Lighttpd Directory Listing a li ul td tr tbody table p years ago not found lighttpd Hi All I need customize error p h id Lighttpd Index html p pages if i wrote in lighttpd conf server error-handler- lighttpd setup error php -- WORKserver error-handler- error php -- NOT WORKserver error-handler- error php -- NOT WORK How lighttpd redirect can I do customize page with

lighttpd error handler 404

Lighttpd Error Handler table id toc tbody tr td div id toctitle Contents div ul li a href Lighttpd Redirect a li li a href Lighttpd Log a li li a href Lighttpd Directory Listing a li ul td tr tbody table p server error-handler- option para server error-handler- para uri to call if the requested URL results in a static relatedl file not being found It is not found lighttpd not invoked if dynamic content such as a fastcgi lighttpd index html script returns an HTTP status code You can use a dynamic or static lighttpd setup page for

lighthttpd error

Lighthttpd Error table id toc tbody tr td div id toctitle Contents div ul li a href Lighttpd Custom a li li a href Lighttpd Index html a li li a href Lighttpd Error Log a li ul td tr tbody table p server error-handler- option para server error-handler- para uri to call if the requested URL results in a static relatedl file not being found It is not found lighttpd not invoked if dynamic content such as a fastcgi p h id Lighttpd Custom p script returns an HTTP status code You can use a dynamic or static p