aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Debian specific fixesGareth Rees2014-08-13-0/+22
| | | | | | | - Add wheezy repo to get bundler package which is unavailable in squeeze repo - Get bundler from wheezy repo and de-prioritise all other wheezy packages
* Update commonlibGareth Rees2014-08-08-0/+0
|
* Use curl instead of wget in VagrantfileGareth Rees2014-08-08-1/+1
| | | | | | | | | | | | Use curl instead of wget in Vagrantfile to fetch the install script due to a bug in the default version of wget on Debian Squeeze. Fixes https://github.com/mysociety/alaveteli/issues/1691 > wget debian packages prior to 1.14-1 don't have SNI [1] support so the > webserver don't know which ssl certificate needs to use > > – https://github.com/Hexxeh/rpi-update/issues/65#issuecomment-13332143
* Add customisable OS to VagrantfileGareth Rees2014-08-08-2/+17
| | | | | | | | | | | | | Choose the OS you want to run with the ALAVETELI_VAGRANT_OS environment variable. Examples: # Use default (Ubuntu 12.04 LTS (precise) vagrant up # Use Debian (7) Wheezy ALAVETELI_VAGRANT_OS=wheezy64 vagrant up
* Merge branch 'httpd-vhost' into rails-3-developGareth Rees2014-08-07-79/+172
|\
| * Remove legacy httpd.conf-exampleGareth Rees2014-08-07-224/+143
| | | | | | | | | | | | Replace the unused httpd.conf-example with the contents of httpd-vhost.conf-example Also rename the SSL vhost for continuity
| * Use legacy document rootGareth Rees2014-08-06-7/+7
| | | | | | | | Too difficult to change to FSH standard at this point
| * Add note about RackEnv passenger directiveGareth Rees2014-08-06-0/+2
| |
| * Run passenger as alaveteli user rather than foiGareth Rees2014-08-06-1/+1
| | | | | | | | The manual install guide assumes alaveteli as the file owner and foi as the database user, so do that here.
| * Add additional note about SuExecUserGroupGareth Rees2014-08-06-1/+2
| |
| * Move RewriteEngine directive to top of vHost configGareth Rees2014-08-06-2/+1
| | | | | | | | Easier to see what mods are enabled if they’re not buried in the middle of configuration
| * Group passenger performance directives togetherGareth Rees2014-08-06-1/+1
| |
| * Decrease default PassengerMaxPoolSizeGareth Rees2014-08-06-1/+5
| | | | | | | | | | | | | | | | | | Passenger's default MaxPoolSize is 6. At the time of writing normal* instances of Alaveteli seem to take 150-200MB per process, so we've set this conservatively at 3. * ‘Normal’ is basically any vHost other than WDTK, which is running at around 500MB per process
| * fixup! 2a0c4d7 add another passenger tuning guideGareth Rees2014-08-06-1/+4
| |
| * fixup! e8f30daGareth Rees2014-08-06-9/+0
| |
| * fixup! d7adeacGareth Rees2014-08-06-2/+0
| |
| * Group httpd assets directives togetherGareth Rees2014-08-06-6/+6
| |
| * fixup! 134d9934 fix PassengerAppRoot pathGareth Rees2014-08-06-1/+1
| |
| * Comment rarely-used httpd configurationGareth Rees2014-08-05-7/+7
| | | | | | | | Unlikely that reusers will use this, but left for documentation purposes
| * Update httpd conf static asset location matchingGareth Rees2014-08-05-1/+1
| |
| * Remove unneeded httpd config directivesGareth Rees2014-08-05-11/+0
| | | | | | | | These are/were mySociety generic and not required for standalone use
| * fixup! ab1f215 fix typoGareth Rees2014-07-21-1/+1
| |
| * fixup! ab1f215 Update SSL cert pathsGareth Rees2014-07-17-4/+4
| |
| * Allow forced https rewrite to be configurableGareth Rees2014-07-17-7/+8
| | | | | | | | | | | | | | Enable with: mkdir -p /etc/apache2/vhost.d/alaveteli cp /opt/alaveteli/config/httpd-force-ssl.conf-example \ /etc/apache2/vhost.d/alaveteli/force-ssl.conf
| * Add example HTTPS vhostGareth Rees2014-07-17-0/+24
| |
| * Comment out forced redirect to HTTPSGareth Rees2014-07-17-2/+5
| | | | | | Only need this if FORCE_SSL: true is set
| * fixup! 134d993 Use easier to set up log dirsGareth Rees2014-07-16-2/+2
| | | | | | Using alaveteli subdir means more setup; easier to just prefix the file name with alaveteli. Also use .log rather than _log to keep with original access.log and error.log convention.
| * fixup! 134d993 use apache2 rather than httpd for log dirGareth Rees2014-07-16-2/+2
| | | | | | For dumb Debian convention
| * Add link to Passenger performance tuning guideGareth Rees2014-07-16-0/+1
| |
| * fixup! 134d993 Remove PassengerMinInstancesGareth Rees2014-07-16-1/+0
| | | | | | Not available in Debian version of passenger
| * fixup! 134d993 Remove PassengerGroup/UserGareth Rees2014-07-16-2/+0
| | | | | | Not available in Debian version of passenger
| * fixup! 134d993 Use /srv/alaveteli instead of SITE_URLGareth Rees2014-07-16-8/+8
| |
| * Add example httpd vhost config fileGareth Rees2014-07-01-0/+161
| | | | | | | | | | | | httpd.conf is only a partial configuration designed to be included in to an existing vhost directive. This provides a (nearly) drop-in vhost configuration for httpd.
* | Fix typo in config_files:convert_init_scriptGareth Rees2014-08-07-1/+1
| |
* | Merge branch 'sysvinit-example' into rails-3-developGareth Rees2014-08-07-67/+86
|\ \
| * | Tidy config_files:convert_init_scriptGareth Rees2014-08-07-10/+11
| | |
| * | Generate sysvinit with rake taskGareth Rees2014-08-07-4/+7
| | | | | | | | | | | | Now uses ugly so convert it with the rake task
| * | Update thin sysvinit descriptionsGareth Rees2014-08-07-2/+2
| | | | | | | | | | | | Replace "web server" with the slightly more correct "app server"
| * | Let ugly generate the full path to the appGareth Rees2014-08-07-1/+1
| | | | | | | | | | | | | | | | | | Usage of the $vhost_dir and $vcspath is enough to get the full path to the app without making the assumption that the app is in a directory named ‘alaveteli’
| * | Convert sysvinit-example to uglyGareth Rees2014-08-07-6/+12
| | |
| * | Update sysvinit SITE_HOME, mute thin, etcGareth Rees2014-08-07-4/+5
| | | | | | | | | | | | | | | | | | - Use $NAME in $SITE_HOME for future daemon name change - Mute thin output - Return true from daemon commands
| * | Exit gracefully from sysVinit if thin not availableGareth Rees2014-08-07-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > These scripts should not fail obscurely when the configuration files > remain but the package has been removed, as configuration files remain > on the system after the package has been removed. Only when dpkg is > executed with the --purge option will configuration files be removed. > In particular, as the /etc/init.d/package script itself is usually a > conffile, it will remain on the system if the package is removed but > not purged. Therefore, you should include a test statement at the top > of the script, like this: > > test -f program-executed-later-in-script || exit 0 https://www.debian.org/doc/debian-policy/ch-opersys.html#s-writing-init
| * | Fix sysvinit case indentationGareth Rees2014-08-07-14/+14
| | |
| * | Use thin’s built in restart commandGareth Rees2014-08-07-3/+4
| | |
| * | Update how thin starts and stopsGareth Rees2014-08-07-2/+9
| | | | | | | | | | | | | | | | | | | | | Use long form options for clarity Use thin’s built in start and stop mechanisms Use thin’s built in process owner options Bind to localhost only
| * | Use default port for thinGareth Rees2014-08-07-1/+1
| | | | | | | | | | | | No reason to use non-default
| * | Start alaveteli in production mode in sysvinitGareth Rees2014-08-07-1/+1
| | | | | | | | | | | | | | | | | | Unlikely to want to use sysvinit in the current development setup, so default to starting in production mode for users who just copy this file on install.
| * | Use correct user for sysvinit exampleGareth Rees2014-08-07-1/+1
|/ /
* | Merge branch 'stats_export_body_name_quoting' into rails-3-developGareth Rees2014-08-05-2/+2
|\ \
| * | Quote body name in stats csv exportGareth Rees2014-08-04-2/+2
| | | | | | | | | | | | Some Public Body names contain commas (or other characters) which lead to a malformed CSV where parts of the body name are in later columns.