Skip to content

Instantly share code, notes, and snippets.

@Torsten85
Created May 28, 2015 08:34
Show Gist options
  • Save Torsten85/e78b9ab64e2675cc7614 to your computer and use it in GitHub Desktop.
Save Torsten85/e78b9ab64e2675cc7614 to your computer and use it in GitHub Desktop.
{
"name": "typo3/flow-base-distribution",
"description": "TYPO3 Flow Base Distribution",
"license": "LGPL-3.0+",
"config": {
"vendor-dir": "Packages/Libraries",
"bin-dir": "bin"
},
"require": {
"typo3/flow": "2.3.1",
"typo3/media": "1.2.1",
"typo3/swiftmailer": "5.0.3",
"doctrine/migrations": "@dev",
"typo3/surf": "dev-master",
"typo3/welcome": "2.3.1"
},
"require-dev": {
"typo3/kickstart": "2.3.*",
"typo3/buildessentials": "2.3.*",
"phpunit/phpunit": "4.3.*",
"mikey179/vfsstream": "1.4.*"
},
"suggest": {
"ext-pdo_sqlite": "For running functional tests out-of-the-box this is required"
},
"scripts": {
"post-update-cmd": "TYPO3\\Flow\\Composer\\InstallerScripts::postUpdateAndInstall",
"post-install-cmd": "TYPO3\\Flow\\Composer\\InstallerScripts::postUpdateAndInstall",
"post-package-update": "TYPO3\\Flow\\Composer\\InstallerScripts::postPackageUpdateAndInstall",
"post-package-install": "TYPO3\\Flow\\Composer\\InstallerScripts::postPackageUpdateAndInstall"
}
}
<?xml version="1.0" encoding="UTF-8"?>
<!--
! The following is a basic showcase example for a virtual host configuration.
! Some more examples can be found at:
!
! http://appserver.io/get-started/documentation/webserver.html#virtualhost-examples
-->
<virtualHosts xmlns="http://www.appserver.io/appserver">
<virtualHost name="test.local">
<params>
<param name="admin" type="string">info@by-torsten.com</param>
<param name="documentRoot" type="string">/Users/torsten/Sites/flow/Web</param>
</params>
<rewrites>
<rewrite
condition="^/(_Resources/Packages/|robots\.txt|favicon\.ico){OR}-d{OR}-f{OR}-l"
target="" flag="L" />
<rewrite
condition="^/(_Resources/Persistent/[a-z0-9]+/(.+/)?[a-f0-9]{40})/.+(\..+)"
target="$1$3" flag="L" />
<rewrite condition="^/(_Resources/Persistent/.{40})/.+(\..+)"
target="$1$2" flag="L" />
<rewrite condition="^/_Resources/.*" target="" flag="L" />
<rewrite condition="(.*)" target="index.php" flag="L" />
</rewrites>
<environmentVariables>
<environmentVariable condition=""
definition="FLOW_REWRITEURLS=1" />
<environmentVariable condition=""
definition="FLOW_CONTEXT=Development" />
<environmentVariable condition="Basic ([a-zA-Z0-9\+/=]+)@$Authorization"
definition="REMOTE_AUTHORIZATION=$1" />
</environmentVariables>
</virtualHost>
</virtualHosts>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment