|
|
|
|
||||||
| alt.apache.configuration Apache web server configuration issues. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi,
I am a newbie and I have a question, I did install debian+apache2+PHP+mysql every thing working just fine, I can access my website from every where on this server. Now I want to configure my server, so that diffirent users can access it with SSH and setup there own websites, what program do I need and how can I configure it? Thanks, Shahin |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
shahin wrote:
> Hi, > > I am a newbie and I have a question, > > I did install debian+apache2+PHP+mysql every thing working just fine, > I can access my website from every where on this server. > Now I want to configure my server, so that diffirent users can access > it with SSH and setup there own websites, what program do I need and > how can I configure it? > > Thanks, > > Shahin Make sure that the userdir module is installed. As root : #a2enmod userdir #/etc/init.d/apache2 reload If you look in /etc/mods-available you should have two files userdir.conf and userdir.load In /etc/mods-enabled you should have symbolic links pointing to these files. If your users create a directory called public_html under their home directories they can place their html files there. These are accessible via http://yoursite/~username You also need to install the openssh server. Again as root : #apt-get install openssh-server -- Andy Ruddock ------------ andy_DOT_ruddock_AT_gmail_DOT_com (GPG Key ID 0x74F41E8F) |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Andy Ruddock wrote:
> shahin wrote: [snip] > If you look in /etc/mods-available you should have two files > userdir.conf and userdir.load > In /etc/mods-enabled you should have symbolic links pointing to these files. That is, of course, /etc/apache2/mods-available and /etc/apache2/mods-enabled -- Andy Ruddock ------------ andy_DOT_ruddock_AT_gmail_DOT_com (GPG Key ID 0x74F41E8F) |
|
![]() |
| Outils de la discussion | |
|
|