Warning: include(/home/bhost1/public_html/blog/wp-content/plugins/wp-super-cache/wp-cache-base.php): failed to open stream: No such file or directory in /home02/bhost1/public_html/blog/wp-content/plugins/wp-super-cache/wp-cache.php on line 65

Warning: include(/home/bhost1/public_html/blog/wp-content/plugins/wp-super-cache/wp-cache-base.php): failed to open stream: No such file or directory in /home02/bhost1/public_html/blog/wp-content/plugins/wp-super-cache/wp-cache.php on line 65

Warning: include(): Failed opening '/home/bhost1/public_html/blog/wp-content/plugins/wp-super-cache/wp-cache-base.php' for inclusion (include_path='.:/opt/cpanel/ea-php70/root/usr/share/pear') in /home02/bhost1/public_html/blog/wp-content/plugins/wp-super-cache/wp-cache.php on line 65

Warning: include_once(/home/bhost1/public_html/blog/wp-content/plugins/wp-super-cache/ossdl-cdn.php): failed to open stream: No such file or directory in /home02/bhost1/public_html/blog/wp-content/plugins/wp-super-cache/wp-cache.php on line 82

Warning: include_once(): Failed opening '/home/bhost1/public_html/blog/wp-content/plugins/wp-super-cache/ossdl-cdn.php' for inclusion (include_path='.:/opt/cpanel/ea-php70/root/usr/share/pear') in /home02/bhost1/public_html/blog/wp-content/plugins/wp-super-cache/wp-cache.php on line 82
Ce este .htaccess? « BrainHost Blog

Ce este .htaccess?

Serverul de web Apache utilizeaza un sistem de acces si configurare per-director, prin intermediul caruia utilizatorii pot modifica si controla aspecte variate privind operatiunile siturilor lor, prin crearea de fisiere .htaccess.

Un fisier .htaccess este un simplu fisier text ce contine comenzi, denumite directive Apache. Aceste directive se aplica si afecteaza fisirele din directorul in care se afla fisierul .htaccess precum si subdirectoarelor acelui director.

Ce pot face utilizand fisierele .htaccess?

Fisierele .htaccess pot fi unelte foarte puternice. Mai jos gasesti cateva lucruri care pot fi obtinute utilizand .htaccess:

directoare protejate cu parola
setare pagini erori personalizate
dezactivare listare director (directory listings)
specificare fisier index alternativ
blocarea accesului vizitatorilor pe baza de adresa IP
prevenire furt banda prin utilizarea ‘hotlink’
redirectionare automata catre anumite pagini
adaugare tipuri MIME
cautare fisiere .html/.htm dupa cod php

Desi permitem clientilor utilizarea si modificarea fisierelor .htaccess, ca regula generala, nu se acorda suport pentru personalizarea acestora. Pentru suport privind modul in care fisierele .htaccess pot fi utilizate si personalizate, te rugam sa accesezi siturile de specialitate sau forumurile de discutii.

  1. 2 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

*