Created
August 23, 2012 13:06
-
-
Save german-bortoli/3436396 to your computer and use it in GitHub Desktop.
Elgg Multisite
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Primer paso: | |
Nos bajamos el source de https://github.com/mapkyca/Elgg-Multisite para dar soporte de multisite | |
Nos bajamos la ultima version estable de elgg y la copiamos en la carpeta elgg del multisite. | |
Corremos: | |
* ant test - builds and installs into | |
CURRENTUSER/~public_html/multisiteelgg_VERSION | |
* ant release - builds a release .zip file which you can use | |
to install into another location. | |
Copiamos todo lo que se encuentra en releases/elggversion... | |
Leemos el archivo readme del elggmulti/README.txt | |
nano /etc/hosts | |
## Elgg MultiSite | |
127.0.0.1 site1.elggmulti.dev | |
127.0.0.1 site2.elggmulti.dev | |
127.0.0.1 admin.elggmulti.dev | |
Descomentar la linea "Include /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf" en "/Applications/MAMP/conf/apache/httpd.conf" | |
Modificar los virtual hosts /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf | |
##### ELGG MULTISITE ADMIN ##### | |
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
ServerName admin.elggmulti.dev | |
DirectoryIndex index.html index.php | |
DocumentRoot /Users/development/Sites/elggmultisite/ | |
UseCanonicalName off | |
php_admin_flag engine on | |
php_admin_flag safe_mode off | |
<Directory "/Users/development/Sites/elggmultisite/"> | |
AllowOverride All | |
Options +Indexes +Includes +FollowSymlinks +ExecCGI | |
</Directory> | |
</VirtualHost> | |
##### ELGG MULTISITE SITES ##### | |
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
ServerName hosts.elggmulti.dev | |
ServerAlias *.elggmulti.dev | |
DirectoryIndex index.html index.php | |
DocumentRoot /Users/development/Sites/elggmultisite/docroot/ | |
UseCanonicalName off | |
php_admin_flag engine on | |
php_admin_flag safe_mode off | |
<Directory "/Users/development/Sites/elggmultisite/docroot/"> | |
AllowOverride All | |
Options +Indexes +Includes +FollowSymlinks +ExecCGI | |
</Directory> | |
</VirtualHost> | |
REINICIAR APACHE LUEGO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment