I have a Joomla website www.siteA.com and another Joomla website www.siteA.com/siteB.
I have a .htaccess file on site A, but not on the site.
Is there a security risk of not having .htaccess -file on site B?
.htaccess files are configuration files used to override settings at the level of each directory. The same parameters (and more) can be set from the main apache configuration (often in / usr / local / etc / apache *). If you own your server and configure Apache correctly, it may actually be an enhancement to disable .htaccess for performance reasons.
Improper permission settings are usually a security risk. How you configure them is up to you. Some people prefer to have .htaccess so that they can support general application settings.
Joomla: .htaccess, , , URL. , .htaccess . . , .htaccess
, , ( , ).
.htaccess , apache. , , ( ) .htaccess.
.htaccess
.htaccess, Joomla! mod_rewrite, URL SEF /index.php/, . , , , . Joomla! . , .
? , .htaccess. , , (, /etc/apache2/httpd.conf).
/etc/apache2/httpd.conf
, , , .htaccess. , , (, , ). . , , , . , , , - , .
USE htaccess? htaccess - , , , htaccess , . htaccess, . -, : " htaccess - "?
Source: https://habr.com/ru/post/1705998/More articles:SQL group by date - sqlEnv Variables in Python (v3.0) on Windows - pythonbeginner C ++: virtual functions in a base class - c ++Is it possible to use PHP without a dollar sign $ character for variables? - variablesкак получить доступ к поля перечисления mySQL с помощью Java ResultSet и PreparedStatement - javaИспользование асфальтоукладчика и носа вместе с нетипичной структурой каталогов - pythonTables ACCPAC - databaseFree Nhibernate (ClassMap) issue - c #Using AesCryptoServiceProvider in VB.NET - javaSilverlight XAML Binary Serialization Object - c #All Articles