• CATATAN KANGHAKI
  • Man Jadda Wajada

Enable userdir, users can build websites with this config.

Enable userdir, users can build websites with this config.
[1] Configure Apache2 for Userdir.  
root@www:~# 
a2enmod userdir

Enabling module userdir.
To activate the new configuration, you need to run:
  service apache2 restart

root@www:~# 
vi /etc/apache2/mods-enabled/userdir.conf
# line 6,7: change

AllowOverride 
All

Options 
ExecCGI
root@www:~# 
vi /etc/apache2/mods-enabled/php5.conf
# line 25: comment out

#
 php_admin_flag engine Off
root@www:~# 
systemctl restart apache2
[2] Create a CGI test page with a user and access to it with web browser. It's OK if following page is shown.
jessie@www:~$ 
mkdir public_html

jessie@www:~$ 
vi public_html/index.cgi
#!/usr/bin/perl

print "Content-type: text/html\n\n";
print "<html>\n<body>\n";
print "<div style=\"width: 100%; font-size: 40px; font-weight: bold; text-align: center;\">\n";
print "Userdir Test Page";
print "\n</div>\n";
print "</body>\n</html>\n";

jessie@www:~$ 
chmod 705 public_html/index.cgi

Komentari Tulisan Ini
Tulisan Lainnya
How to Install and Configure OpenLiteSpeed Web Server on Debian 10

on this page Requirements Getting Started Install and Configure OpenLiteSpeed Install MariaDB for OpenLiteSpeed Install PHP for OpenLiteSpeed OpenLiteSpeed is a free, open-source

31/05/2020 07:06 WIB - Administrator
Install WordPress on Debian 10

In today’s world, everything is Internet and information sites. There is too much variety in them. But we also find a lot of variety of applications that allow us to make websites

02/05/2020 09:42 WIB - Administrator
How To Rewrite URLs with mod_rewrite for Apache on Debian 10

Introduction Apache’s mod_rewrite module lets you rewrite URLs in a cleaner fashion, translating human-readable paths into code-friendly query strings. It also lets yo

09/02/2020 15:19 WIB - Administrator
How To Rewrite URLs with mod_rewrite for Apache on Debian 10

Introduction Apache’s mod_rewrite module lets you rewrite URLs in a cleaner fashion, translating human-readable paths into code-friendly query strings. It also lets yo

09/02/2020 15:08 WIB - Administrator
Download Owncloud

Debian_9.0 owncloud-files-10.2.1-1+1.3 Add (at least temporarily) a download repository. This requires registering trusted key. (More information). Run the following shell commands as r

29/10/2019 18:44 WIB - Administrator
NextCloud vs ownCloud vs Seafile vs Syncthing

pengantar Sinkronisasi file adalah cara bagi individu dan perusahaan untuk membuat cadangan file penting misi mereka pada drive eksternal atau server. Sangat penting untuk memiliki

29/10/2019 18:33 WIB - Administrator
Install and Configure Samba Server Share on Debian 10 / Ubuntu 18.04

Welcome to our guide on how to install and configure Samba Share on a Debian 10 server (Buster) & Ubuntu 18.04 Linux system. Samba is an open-source implementation of the Server M

29/10/2019 11:36 WIB - Administrator
Belajar VPN yuk

27/10/2019 14:25 WIB - Administrator
How To Install Nextcloud on Debian 10 Buster Linux

Nick Congleton Debian 27 June 2019   Contents 1. Software Requirements and Conventions Used 2. Install the Required Packages 3. Set Up Your Database 4.&nb

23/10/2019 09:54 WIB - Administrator
The Perfect Server - Debian 10 (Buster) with Apache, BIND, Dovecot, PureFTPD and ISPConfig 3.1

On this page 1 Preliminary Note 2 Install the SSH server (Optional) 3 Install a shell text editor (Optional) 4 Configure the Hostname 5 Update your Debian Installation 6. Change t

23/10/2019 09:44 WIB - Administrator