.htaccess files are read on every request. … You should avoid using .htaccess files completely if you have access to httpd main server config file. Using .htaccess files slows down your Apache http server. Any directive that you can include in a .htaccess file is better set in a Directory block, as it will haveContinue reading “#Apache: avoid using .htaccess files completely”
Tag Archives: Apache
Do not log requests for images in the access log
The following lines should be included in httpd.conf to keep requests for images from appearing in the access log. It can be easily modified to prevent logging of particular directories, or to prevent logging of requests coming from particular hosts. SetEnvIf Request_URI \.gif image-request SetEnvIf Request_URI \.jpg image-request SetEnvIf Request_URI \.png image-request CustomLog logs/access_log env=!image-request
Как получить значение свойства в Deferred Custom Action
English: How to Transfer Properties to Deferred Custom Action Мы можем найти следующую информацию в MSDN. Где в последнем абзаце находим простое решение. Если его перевести на Wix-код, получим следующее (синим цветом выделено решение): —–begin of test.wxs <?xml version=’1.0′?> <Wix xmlns=’http://schemas.microsoft.com/wix/2006/wi’ > <Product Id='{00A86C83-0000-0000-0000-2FDF0595B100}’ Name=’Property to deffered custom action’ Language=’1033′ Version=’1.0.0.0′ Manufacturer=’Vlasenko’ UpgradeCode='{00E9017B-0000-0000-0000-DDDF83756800}’> <Package Description=”PropertyContinue reading “Как получить значение свойства в Deferred Custom Action”