Skip to content

Instantly share code, notes, and snippets.

@bdunogier
Created September 6, 2012 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bdunogier/3654970 to your computer and use it in GitHub Desktop.
Save bdunogier/3654970 to your computer and use it in GitHub Desktop.
SummerCamp cluster file.ini
<?php /* #?ini charset="utf-8"?
[ClusteringSettings]
FileHandler=eZDFSFileHandler
[eZDFSClusteringSettings]
MountPointPath=/opt/nfs/ezpublish
DBBackend=eZDFSFileHandlerMySQLiBackend
DBHost=localhost
DBPort=3306
DBSocket=
DBName=ezpublish_summercamp
DBUser=root
DBPassword=
DBConnectRetries=3
DBExecuteRetries=20
*/ ?>
Rewriterule ^/var/([^/]+/)?storage/images-versioned/.* /index_cluster.php [L]
Rewriterule ^/var/([^/]+/)?storage/images/.* /index_cluster.php [L]
Rewriterule ^/var/([^/]+/)?cache/public/.* /index_cluster.php [L]
Rewriterule ^/var/([^/]+/)?storage/original/.* /index_cluster.php [L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment