diff options
| author | Eric Johansson (neku) <neku@pomf.se> | 2015-02-05 20:06:08 +0100 |
|---|---|---|
| committer | Eric Johansson (neku) <neku@pomf.se> | 2015-02-05 20:06:08 +0100 |
| commit | b816236168e74309be4a298ff0a4644a732dc9f3 (patch) | |
| tree | 1497dced7d755362dcdfd73b7e11d78b04597f2d /README.md | |
| parent | c359aa20cd0876e1e497aca1ff19e4c54287b6c2 (diff) | |
| parent | fd98101d073805fc42474a00bca640a618f99de6 (diff) | |
Merge pull request #27 from cenci0/master
Minor code refactoring and improvements
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -1,6 +1,6 @@ # Pomf.se -Only tested with Nginx + PHP5.5 + MySQL, but should work with newer PHP or any -other PDO-compatible database. +Original development environment is Nginx + PHP5.5 + MySQL, but is confirmed to work with Apache 2.4 +and newer PHP versions. Should work with any other PDO-compatible database. Most of the code is ghetto and easily improved, will clean it up sometime. Modify it as you like. @@ -25,6 +25,13 @@ $ grunt ``` After this, the pomf site is now compressed and set up inside `dist/`. +### Apache +If you are runnging Apache and want to compress your output when serving files, add to your `.htaccess` file: +``` +AddOutputFilterByType DEFLATE text/html text/plain text/css application/javascript application/x-javascript application/json +``` +Remember to enable `deflate_module` and `filter_module` modules in your Apache configuration file. + ## Configuring The majority of settings are in `static/includes/settings.inc.php`. Read the comments in that file for more information. |
