Site Panel Help | User Panel Help | Panel Demo's | Search | Help |
Categories· New Customer FAQs · FAQ Home |
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="93"> <language>en</language> <category>Password Protection</category> <keywords></keywords> <theme>Deny access from certain IP\'s</theme> <content xmlns="http://www.w3.org/TR/REC-html40">You can deny certain IP's from accessing your pages. This is done with a .htaccess file like this: ------- order allow,deny deny from 123.45.6.7 deny from 012.34.5. allow from all ------- You can deny access based upon IP address or an IP block. The above blocks access to the site from 123.45.6.7, and from any sub domain under the IP block 012.34.5. (012.34.5.1, 012.34.5.2, 012.34.5.3, etc.) ---------- A .htaccess file is a plain text file named ".htaccess". Create the file using a very simple editor that doesn't add any formatting to the file. Do not use complex editors like "MS Word" but rather a simple editor like "NotePad" available on most Windows systems. Make sure that you transfer the .htaccess file in ASCII mode (or "plain text" mode) when you upload it with FTP.</content> <author>EchoEcho Support</author> <date>12.07.2009, 21:18</date> </article> </phpmyfaq> |
Copyright © EchoEchoPlus Hosting |