Fork me on GitHub

.:: Editor Online htaccess


Deny all access to files

We would strongly recommend choosing "Deny(Y)" if you do not have any particular reason.

Basic authentication

STEP 1 Create your .htpasswd

User name
Password words
 
.htpasswd
Create a file called ".htpasswd" and copy&paset the texts above to file.

STEP 2 Enter the path to the .htpasswd file e.g. /home/foo/bar/.htpasswd

Error page setup

Enter URLs or paths

400 Bad Request
401 Auth Req'd
402 Payment Req'd
403 Forbidden
404 Not Found
405 Method Not Allowed
406 Not Acceptable
407 Proxy Auth Repid
408 Request Time Out
409 Conficting Request
410 Gone
411 Content Len Req'd
412 Precondition Failed
413 Entity Too Long
414 URI Too Long
500 Int, Server Error
501 Not Implemented
502 Bad Gateway
503 Service Unavailable
504 Gateway Timeout
505 HTTP Ver Not Sup...

Default page

Enter file name e.g. index.html







Setup WWW

Redirect directives

Enter the site path into "From" and URL into "To"

301 Moved Permanently

  • From:  To: 
  • From:  To: 
  • From:  To: 

302 Moved Temporarily

  • From:  To: 
  • From:  To: 
  • From:  To: 

Access restrictions

Enter allowed addresses

  • OK: 
  • OK: 
  • OK: 
  • OK: 
  • OK: 
  • OK: 
  • OK: 
  • OK: 

Enter denied addresses

  • NG: 
  • NG: 
  • NG: 
  • NG: 
  • NG: 
  • NG: 
  • NG: 
  • NG: 

Copy & Paste the texts above to the .htaccess file.