User WebSpace

From SME Server
Revision as of 08:03, 18 April 2021 by Unnilennium (talk | contribs) (Maintainer)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

User WebSpace for SME 8.x

Maintainer

Unnilennium

Version

smeserver-user-webspace
The latest version of smeserver-user-webspace is available in the SME repository, click on the version number(s) for more information.


Description

Enables the SME Server and gateway to host user web pages from their home directories. A public_html directory is created inside your ~/home/ directory and any static web pages placed there will be available via the urls http://www.yourdomain/~user and http://www.yourdomain/user.

A default index.html can be created in /etc/e-smith/skel/user/home/public_html and this will appear in the users webspace when the user is created Installing this package will create user webspace for NEW users AND EXISTING users.

Installation

yum install --enablerepo=smecontribs smeserver-user-webspace
signal-event post-upgrade; signal-event reboot

after that if you want that all users installed before the contrib get their own user web page, you have to do

signal-event user-webspace-force-existings


Removal

yum remove smeserver-user-webspace

Configuration

User pages are enabled by default, to disable

config set UserPublicWeb off (on)
expand-template /etc/httpd/conf/httpd.conf
sv h /service/httpd-e-smith

Additional information

The Contrib was originally authored by Damien Curtain, Thanks

Bugs

Please raise bugs under the SME-Contribs section in bugzilla and select the smeserver-user-webspace component or use this link .