Few simple questions about "Suggested Master htaccess file" - Joomla! Forum - community, help and support
hi,
i'm reading (learning) joomla! documentation .htaccess security.
here:
http://docs.joomla.org/htaccess_examples_%28security%29
is suggested master htaccess file.
my questions are:
1. master htaccess file .htaccess file in public_html directory (where joomla! installed)?
2. once joomla! installed, there 1 default htaccess file in there configurations (lines) and, comparing suggested master htaccess file joomla! documetnation, can see in default htaccess file there 2 configurations (lines) not exist in suggested master htaccess file:
question: should add (copy/paste) these lines suggested master htaccess file?
3. should remove content of .htaccess file in public_html directory (where joomla! installed) , copy/paste content of suggested master htaccess file there? (of course, replace instances of example.com , example\.com real domain name)
4. there else need pay attention when htaccess?
i apologize english.
thank in advance!
i'm reading (learning) joomla! documentation .htaccess security.
here:
http://docs.joomla.org/htaccess_examples_%28security%29
is suggested master htaccess file.
my questions are:
1. master htaccess file .htaccess file in public_html directory (where joomla! installed)?
2. once joomla! installed, there 1 default htaccess file in there configurations (lines) and, comparing suggested master htaccess file joomla! documetnation, can see in default htaccess file there 2 configurations (lines) not exist in suggested master htaccess file:
code: select all
# block out script trying base64_encode data within url.
rewritecond %{query_string} base64_encode[^(]*\([^)]*\) [or]code: select all
# requested url ends 1 of listed extensions
rewritecond %{request_uri} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [nc]question: should add (copy/paste) these lines suggested master htaccess file?
3. should remove content of .htaccess file in public_html directory (where joomla! installed) , copy/paste content of suggested master htaccess file there? (of course, replace instances of example.com , example\.com real domain name)
4. there else need pay attention when htaccess?
i apologize english.
thank in advance!
i suggest enable , use default htaccess file. suggested master htaccess file not beginners , can cause lots of issues can hard figure out. replacing mysite.com real site name not sufficient make file work , can guarantee site cease work or cease work correctly. there needed additions have make extensions work file.
since every server, domain, , site requirements different, unable provide through forums in making file work on particular setup.
both of examples provide joomla htaccess file in suggested master different versions.
the default joomla htaccess file named htaccess.txt , must rename .htaccess in order activate it. should activate file. provides basic protections suitable websites.
if domain has .htaccess file see in file. may need copy contents proper area of joomla htaccess file there commands enable something/disable something/or redirect needs on domain in order site work. example command enable php 5.3 programs require it.
since every server, domain, , site requirements different, unable provide through forums in making file work on particular setup.
both of examples provide joomla htaccess file in suggested master different versions.
the default joomla htaccess file named htaccess.txt , must rename .htaccess in order activate it. should activate file. provides basic protections suitable websites.
if domain has .htaccess file see in file. may need copy contents proper area of joomla htaccess file there commands enable something/disable something/or redirect needs on domain in order site work. example command enable php 5.3 programs require it.
Comments
Post a Comment