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="90">
	<language>en</language>
	<category>Domains</category>
	<keywords></keywords>
	<theme>Point extra domain to
folder</theme>
	<content
xmlns="http://www.w3.org/TR/REC-html40">You can point an additional
domain to a sub folder.

Assuming your extra domain is &quot;example.com&quot; do
this:

1: Add a folder &quot;example.com&quot; in your main web
folder.

2: Create a text file named &quot;.htaccess&quot; and upload
it to your
main web folder.

The .htaccess file should look like this:
-------------------------------------
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/example.com/ [NC]
RewriteCond %{HTTP_HOST} ^(www.)*example.com$ [NC]
RewriteRule ^(.*) example.com/$1 [L]
-------------------------------------
Note: Replace &quot;example.com&quot; with the real domain.

If it doesn&#039;t work at a first attempt, you can look for
error messages
in &quot;/var/log/httpd/error_log&quot;</content>
	<author>EchoEcho Support</author>
	<date>12.07.2009, 21:10</date>
</article>
</phpmyfaq>

open XML-File

Copyright © EchoEchoPlus Hosting