2297
Comment:
|
2309
add local. to local instance of site
|
Deletions are marked like this. | Additions are marked like this. |
Line 21: | Line 21: |
{{{127.0.1.1 in2011.mini.debconf.org}}} | {{{127.0.0.1 local.in2011.mini.debconf.org}}} |
Line 25: | Line 25: |
<VirtualHost in2011.mini.debconf.org:80> | <VirtualHost local.in2011.mini.debconf.org:80> |
This document aims to help folks maintaining MiniDebConf India website
MiniDebConf India site data is hosted at debconf-data alioth project.
The site is available from http://mini.debconf.org/india
- Site data (HTML + CSS + SSI) can be downloaded via SVN checkout (copy it to /var/www)
Clone this repo on gitorious https://gitorious.org/minidebconfindia/2011-mirror
or
$ git clone git://gitorious.org/minidebconfindia/2011-mirror.git
or
$ svn checkout svn://anonscm.debian.org/debconf-data/in2011.mini
Note: If you are planning to make changes, use your git clone at gitorious
For testing the site SSI needs to be enabled in Apache (see below for configuration)
- Make an entry in /etc/hosts to resolve in2011.mini.debconf.org to 127.0.0.1 (localhost) as given below
127.0.0.1 local.in2011.mini.debconf.org
- Configure a virtual host in apache for this. Create a file /etc/apache2/sites-available/minidebconfindia
<VirtualHost local.in2011.mini.debconf.org:80> ServerAdmin webmaster@localhost DocumentRoot /var/www/in2011.mini/website/ <Directory /> Options FollowSymLinks +Includes AllowOverride None </Directory> <Directory /var/www/in2011.mini/website/> Options Indexes FollowSymLinks MultiViews +Includes AllowOverride None Order allow,deny allow from all </Directory> </VirtualHost>
- Enable this site
# a2ensite minidebconfindia
- Enable includes
# a2enmod include
- Add following lines to /etc/apache2/mods-available/include.load
AddType text/html .shtml AddOutputFilter INCLUDES .shtml
- Add index.shtml to /etc/apache2/mods-available/dir.conf
- Restart apache
# /etc/init.d/apache2 restart
Make your changes and test it at http://in2011.mini.debconf.org
- After making all the changes send it as
merge request to https://gitorious.org/minidebconfindia/2011-mirror
svn diff to in.mini list (currently Kartik Mistry and Praveen Arimbrathodiyil have commit access to this repo).