Difference between revisions of "Webhosting"

From SME Server
Jump to navigationJump to search
Line 19: Line 19:
 
This contrib is currently held in the [[stephdl]] repository, so the following commands will install on your smeserver.
 
This contrib is currently held in the [[stephdl]] repository, so the following commands will install on your smeserver.
  
  yum --enablerepo=stephdl install smeserver-webhosting
+
  yum --enablerepo=stephdl,smecontribs install smeserver-webhosting
  
 
You will then need to activate the database changes etc.
 
You will then need to activate the database changes etc.

Revision as of 18:13, 25 June 2014


Webhosting for SME Server

Maintainer

Stephane de Labrusse aka stephdl

Description

This contribution for Smeserver adds the abilities to manage particular ModDAV, PHP and Apache settings for each Ibays, directly from the server-manager. No more needs to play with DB commands.

This contribs is ONLY for SME Server 9.0

Requirements

The Webhosting contrib requires that smeserver-mod_dav has already been installed. Follow the instructions for the DAV contrib - http://wiki.contribs.org/DAV

You need to enable the stephdl repository

Installation

This contrib is currently held in the stephdl repository, so the following commands will install on your smeserver.

yum --enablerepo=stephdl,smecontribs install smeserver-webhosting

You will then need to activate the database changes etc. The 'official' way is to perform

signal-event post-upgrade;  signal-event reboot

or if you don't like to reboot your server, simply do

signal-event console-save

Go to the web hosting panel on Server Manager and activate settings you need.

New settings

Apache

  • +Indexes
  • FollowSymLinks
  • AllowOverride
  • WebDav (DAV)

PHP

  • allow_url_fopen
  • memory_limit
  • upload_max_filesize
  • post_max_size
  • max_execution_time
  • PHPBasedir

Uninstall

yum remove smeserver-webhosting
signal-event console-save

Bugs

For now there is no component, please send a mail to maintainers