1

How can I parse a ini-file within .htaccess? In my case .htaccess placed in the root directory (/) and target ini-file is /conf/params.ini.

1 Answers1

0

You can control mod_deflate behaviour directly in the .htaccess file as it's an Apache function and not PHP. php.ini can be modified directly if required or you can change settings from within scripts, but this doesn't sound like your intention.

A similar mod_deflate issue here, where some fairly advanced setting are being used: Mod_deflate and mod_header settings?

Community
  • 1
  • 1
nickhar
  • 19,981
  • 12
  • 60
  • 73
  • I decided to use PHP for files compression, because of I dont see a way to read settings from third-party files through .htaccess... – user1717043 Oct 05 '12 at 10:24
  • Thats a fair choice - There are usually many ways to achieve compression! Good luck. – nickhar Oct 05 '12 at 15:32