|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Custom Error Pages
How do i make my own custom error pages on Apache?
|
|
#2
|
|||
|
|||
|
Start here -> http://httpd.apache.org/docs/mod/co...l#errordocument
Syntax: ErrorDocument error-code document Context: server config, virtual host, directory, .htaccess Status: core Override: FileInfo Compatibility: The directory and .htaccess contexts are only available in Apache 1.1 and later. Take a look at Context, so .htaccess is allowed only if AllowOverride FileInfo has been configured. Please bookmark this page -> http://httpd.apache.org/docs/mod/directives.html (you been asking something that can be easily found yourself) |
|
#3
|
|||
|
|||
|
oh yes, i see. but where do i put that code that they gave me?
|
|
#4
|
|||
|
|||
|
On top of the start here link, I thought I explained well enough.
You can put those to http://www.domain.com/.htaccess or httpd.conf and define it globally. If you choose the .htaccess way and got [500] error, then your httpd.conf hasn't configured to allow FileInfo to be overridden. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Custom Error Pages |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|