ผลต่างระหว่างรุ่นของ "ฐานความรู้"
ไปยังการนำทาง
ไปยังการค้นหา
Cardcaptor (คุย | มีส่วนร่วม) |
Cardcaptor (คุย | มีส่วนร่วม) |
||
แถว 2: | แถว 2: | ||
=== Enabling User Directory === | === Enabling User Directory === | ||
This is how to set up Apache2 on Ubuntu so that, when '''<tt>hxxp://server/~username</tt>''' is accessed, the browser returns the content in '''<tt>/home/username/public_html</tt>'''. | This is how to set up Apache2 on Ubuntu so that, when '''<tt>hxxp://server/~username</tt>''' is accessed, the browser returns the content in '''<tt>/home/username/public_html</tt>'''. | ||
+ | |||
+ | User directory is now a mod in Ubuntu's apache2. If you have not installed the mod, then execute the following command: | ||
+ | sudo a2enmod userdir | ||
+ | |||
+ | First, edit '''<tt>/etc/apache2/apache2.conf</tt>''' as follows: |
รุ่นแก้ไขเมื่อ 08:45, 16 มีนาคม 2551
Apache2 on Ubuntu
Enabling User Directory
This is how to set up Apache2 on Ubuntu so that, when hxxp://server/~username is accessed, the browser returns the content in /home/username/public_html.
User directory is now a mod in Ubuntu's apache2. If you have not installed the mod, then execute the following command:
sudo a2enmod userdir
First, edit /etc/apache2/apache2.conf as follows: