SCM is a simple CodeIgniter Multisite.
Demo:
- Default Site: http://scm.github.mhs.web.id
- Sub Site1: http://site1.scm.github.mhs.web.id
- Sub Site2: http://site2.scm.github.mhs.web.id
Demo @ different Domain:
- Default Site: https://scm.omahijo.net
- Client 1 Site: http://client1.scm.omahijo.net
- Unkwown Site (no configuration found): http://unknown.scm.omahijo.net
Apache Configuration Sample:
<VirtualHost *:80>
ServerAdmin webmaster@mhs.web.id
ServerName scm.github.mhs.web.id
ServerAlias *.scm.github.mhs.web.id
DocumentRoot "/var/www/html/scm.github.mhs.web.id/public_html"
<Directory "/var/www/html/scm.github.mhs.web.id/public_html/">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@omahijo.net
ServerName scm.omahijo.net
ServerAlias *.scm.omahijo.net
DocumentRoot "/var/www/html/scm.github.mhs.web.id/public_html"
<Directory "/var/www/html/scm.github.mhs.web.id/public_html/">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Add Hostname (/etc/hosts):
127.0.0.1 mhs.tut
127.0.0.1 site1.mhs.tut
127.0.0.1 site2.mhs.tut
127.0.0.1 ci.mhs.tut
127.0.0.1 site1.ci.mhs.tut
127.0.0.1 site2.ci.mhs.tut
Apache Configuration Sample:
<VirtualHost *:80>
ServerAdmin webmaster@mhs.tut
ServerName mhs.tut
ServerAlias *.mhs.tut
DocumentRoot "/var/www/html/ci_multi_site/public_html"
<Directory "/var/www/html/ci_multi_site/public_html/">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerAdmin webmaster@ci.mhs.tut
ServerName ci.mhs.tut
ServerAlias *.ci.mhs.tut
DocumentRoot "/var/www/html/ci_multi_site/public_html"
<Directory "/var/www/html/ci_multi_site/public_html/">
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
CodeIgniter is an Application Development Framework - a toolkit - for people who build web sites using PHP. Its goal is to enable you to develop projects much faster than you could if you were writing code from scratch, by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries. CodeIgniter lets you creatively focus on your project by minimizing the amount of code needed for a given task.
This repo contains in-development code for future releases. To download the latest stable release please visit the CodeIgniter Downloads page.
You can find a list of all changes for each release in the user guide change log.
PHP version 5.4 or newer is recommended.
It should work on 5.2.4 as well, but we strongly advise you NOT to run such old versions of PHP, because of potential security and performance issues, as well as missing features.
Please see the installation section of the CodeIgniter User Guide.
Please see the license agreement.
Report security issues to our Security Panel or via our page on HackerOne, thank you.
The CodeIgniter team would like to thank EllisLab, all the contributors to the CodeIgniter project and you, the CodeIgniter user.