Site Panel Help User Panel Help Panel Demo's Search Help

Categories

· Show all categories

New Customer FAQs
E-Mail
FTP - File Transfers
Domains
SSH and Telnet
Scripting Languages
Password Protection
MySQL
Stats
Power Tools

· FAQ Home

· EchoEcho+ Support

XML-File

<?xml version="1.0" encoding="iso-8859-1"
standalone="yes" ?>
<!-- XML-Output by phpMyFAQ 1.3.8 -->
<phpmyfaq
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:NamespaceSchemaLocation="http://www.phpmyfaq.de/xml/faqschema.xsd">
<article id="55">
	<language>en</language>
	<category>FTP - File Transfers</category>
	<keywords></keywords>
	<theme>Custom error pages</theme>
	<content
xmlns="http://www.w3.org/TR/REC-html40">You can create custom error
pages this way:

Create a .htaccess file with this content:
-----------------------------
ErrorDocument 500 /error.htm
ErrorDocument 404 /error.htm
ErrorDocument 403 /error.htm
-----------------------------

Upload the file to the /var/www/html folder.


You can use different error documents for different error
codes, for
example you could use lines like this:
-----------------------------
ErrorDocument 403 /error_403.htm
ErrorDocument 404 /error_404.htm
-----------------------------



----------
A .htaccess file is a plain text file named
&quot;.htaccess&quot;.

Create the file using a very simple editor that doesn&#039;t
add any
formatting to the file.
Do not use complex editors like &quot;MS Word&quot; but
rather a simple
editor like &quot;NotePad&quot; available on most Windows
systems.

Make sure that you transfer the .htaccess file in ASCII mode
(or
&quot;plain text&quot; mode) when you upload it with FTP.</content>
	<author>EchoEcho Support</author>
	<date>12.07.2009, 21:08</date>
</article>
</phpmyfaq>

open XML-File

Copyright © EchoEchoPlus Hosting