summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 9 insertions, 2 deletions
diff --git a/README.md b/README.md
index 6b930f8..e944f4d 100644
--- a/README.md
+++ b/README.md
@@ -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 databases.
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.