Difference between revisions of "User WebSpace"

From SME Server
Jump to navigationJump to search
(remove command revised)
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
== User WebSpace for SME 7.x ==
+
== User WebSpace for SME 8.x ==
  
 
=== Maintainer ===
 
=== Maintainer ===
[http://fisheye1.cenqua.com/browse/smeserver/smeserver-user-webspace none]
+
[mailto:tests@pialasse.com[[User:Unnilennium|Unnilennium]]]
 +
===Version===
 +
{{#smeversion: smeserver-user-webspace }}
  
 
=== Description ===
 
=== Description ===
 +
 
Enables the SME Server and gateway to host user web pages
 
Enables the SME Server and gateway to host user web pages
 
from their home directories. A public_html directory is created
 
from their home directories. A public_html directory is created
 
inside your ~/home/ directory and any static web pages placed there
 
inside your ~/home/ directory and any static web pages placed there
will be available via the urls http://www/~user and http://www/user.
+
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 ===
 
=== Installation ===
  
  wget http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/jppialasse/SME7/user-webspace/
+
  yum install --enablerepo=smecontribs smeserver-user-webspace
  yum locallinstall smeserver-user-webspace*.rpm
+
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 ===
  
=== Configure ===
 
 
User pages are enabled by default, to disable
 
User pages are enabled by default, to disable
rpm -e smeserver-user-webspace
+
 
or
 
 
  config set UserPublicWeb off (on)
 
  config set UserPublicWeb off (on)
 
  expand-template /etc/httpd/conf/httpd.conf
 
  expand-template /etc/httpd/conf/httpd.conf
Line 27: Line 43:
  
 
=== Bugs ===
 
=== Bugs ===
Please raise bugs under the SME-Contribs section in {{BugzillaFileBug|product=|component=|title=bugzilla}}and select the unknown component
+
Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla]
 +
and select the smeserver-user-webspace component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-user-webspace|title=this link}}.
 +
 
 
----
 
----
 
[[Category: Contrib]]
 
[[Category: Contrib]]
 +
[[Category:Administration:File and Directory Access]]

Latest revision as of 07:03, 18 April 2021

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 .