Re: [WebDNA] Ubuntu and WebDNA

This WebDNA talk-list message is from

2019


It keeps the original formatting.
numero = 114709
interpreted = N
texte = 2331 --Apple-Mail=_912141CD-B68E-43E8-90C6-0C8C5EACCC59 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I have recently moved all my dev servers from linode to Digital Ocean. Straight install of Ubuntu onto a droplet. Then install of WebDNA server or cgi (note that server needs a couple of = tweeks) The Digital Ocean architecture is very good with plenty of options to = suit the way that I work with servers. I have a Ubuntu 16.04 production server, so testing this url: https://plsoftware.com.au/plugins/ https://plsoftware.com.au/js/ You will get a Forbidden message. This is the config file for this virtual domain notice Options -Indexes: DocumentRoot "/var/www/html/plsoftware/plsoftware_root" ServerName plsoftware.com.au allow from all Options -Indexes Require all granted AllowOverride All CheckSpelling on CheckCaseOnly on Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@plsoftware.com.au > On 28 Aug 2019, at 09:47, Vincent Medina wrote: >=20 > Rebooted after every change > =20 > mod_rewrite is enabled > =20 > I=E2=80=99m thinking I need to look for a different version to play = with. What do you recommend?=20 > =20 > =20 > From: Stuart Tremain [mailto:webdna@plsoftware.com.au = ]=20 > Sent: Tuesday, August 27, 2019 7:08 PM > To: WebDNA Talk List > Subject: Re: [WebDNA] Ubuntu and WebDNA > =20 > Have you rebooted. > =20 > Do you have mod_rewrite installed and available to Apache ? > =20 > =20 > Kind regards > =20 > Stuart Tremain > Pharoah Lane Software > AUSTRALIA > webdna@plsoftware.com.au > =20 > =20 > =20 > =20 > =20 >=20 >=20 >=20 > On 28 Aug 2019, at 08:50, Vincent Medina > wrote: > =20 > Not sure what I am doing wrong but nothing I have tried is restricting = dir access=E2=80=A6 Frustration setting in. > =20 > From: Stuart Tremain [mailto:webdna@plsoftware.com.au = ]=20 > Sent: Monday, August 26, 2019 9:00 PM > To: WebDNA Talk List > Subject: Re: [WebDNA] Ubuntu and WebDNA > =20 > Hi Vincent > =20 > You can do it on three levels > =20 > 1) virtual host config file > 2) .htaccess file for each virtual host or individual directories > 3) globally > =20 > =20 > 1) in the vhost config file - remove Indexes from : > > Options Indexes FollowSymLinks > AllowOverride None > Require all granted > > =20 > =20 > 2) add Options -Indexes to the .htaccess file > =20 > =20 > 3) https.conf file - remove Indexes from : > > Options Indexes FollowSymLinks > AllowOverride None > Require all granted > > =20 > =20 > =20 > =20 > =20 > Kind regards > =20 > Stuart Tremain > Pharoah Lane Software > AUSTRALIA > webdna@plsoftware.com.au > =20 > =20 > =20 > =20 > =20 >=20 >=20 >=20 >=20 > On 27 Aug 2019, at 10:44, Vincent Medina > wrote: > =20 > I just noticed that dir listings is somehow still enabled. Does anyone = know how to disable dir listings in Ubuntu 18.x=20 > =20 > =20 > From: Vincent Medina [mailto:vmedina@apcn.net = ]=20 > Sent: Sunday, August 25, 2019 10:50 PM > To: talk@webdna.us > Subject: [WebDNA] Ubuntu and WebDNA > =20 > I got Ubuntu Server 18.04.3 LTS running with WebDNA Fast CGI Here are = my notes (Got from the Talk list, friends and various other sources) = feel free to critique=E2=80=A6. > =20 > This is not for a virtual host=20 > =20 > Use the directions on the WebDNA site to install WebDNA with Apache > =20 > = --------------------------------------------------------------------------= > Side Note: > Upgrading to WebDNA Server 8.6.3=20 > =20 > Download the Zip=20 > Change "mod_WebDNA_apache2.4.so" file name to "mod_webdna.so", > replace existing files (mod_webdna.so,WebCatalog, WebDNAMonitor) with = the new ones from the zip > archive, made the last two files executable, and reboot. > =20 > = ------------------------------------------------------------------------ > =20 > Change the following: > =20 > sudo nano /lib/systemd/system/apache2.service > sudo nano /etc/systemd/system/multi-user.target.wants/apache2.service > =20 > Change 'PrivateTmp =3D true' > to > =20 > PrivateTmp =3D false > =20 > on both files, then reboot. > =20 > - FTP - > =20 > NOTE: Must use SFTP to write > =20 > sudo apt-get install vsftpd > sudo systemctl start vsftpd > sudo systemctl enable vsftpd > =20 > backup the original config file: > =20 > sudo mv /etc/vsftpd.conf /etc/vsftpd.conf.orig > =20 > create a new config file: > =20 > sudo nano /etc/vsftpd.conf > =20 > c/p this into the config file: > =20 > listen=3DNO > listen_ipv6=3DYES > anonymous_enable=3DNO > local_enable=3DYES > write_enable=3DYES > local_umask=3D022 > dirmessage_enable=3DYES > use_localtime=3DYES > xferlog_enable=3DYES > connect_from_port_20=3DYES > chroot_local_user=3DYES > secure_chroot_dir=3D/var/run/vsftpd/empty > pam_service_name=3Dvsftpd > rsa_cert_file=3D/etc/ssl/certs/ssl-cert-snakeoil.pem > rsa_private_key_file=3D/etc/ssl/private/ssl-cert-snakeoil.key > ssl_enable=3DNO > pasv_enable=3DYes > pasv_min_port=3D10000 > pasv_max_port=3D10100 > allow_writeable_chroot=3DYES > =20 > Now create a ftp account > =20 > sudo useradd -m ftpuser > sudo passwd ftpuser =20 > =20 > Then add user to www-data > =20 > sudo adduser ftpuser www-data > =20 > Create a folder under /var/www/html/ > =20 > give rights to the www-data group > =20 > chgrp www-data > chmod g+rwx > =20 > Allow WebDNA to write to db's > =20 > chgrp www-data > chmod g+rwx > =20 > Other Stuff: > =20 > Remove dir browsing > In /etc/apache2/apache2.conf > =20 > Look for and change it to: > =20 > > Options FollowSymLinks > Options -Indexes > =20 > =20 > =20 > root level accesscd > sudo su - > =20 > =20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: = talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: = talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us > =20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: = talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: = talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us > =20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: = talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us = ------------------------------------------------= --------- This message is sent to you because you are subscribed to the = mailing list talk@webdna.us To unsubscribe, = E-mail to: talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us --Apple-Mail=_912141CD-B68E-43E8-90C6-0C8C5EACCC59 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
I have recently moved all my = dev servers from linode to Digital Ocean.
Straight = install of Ubuntu onto a droplet.
Then install of = WebDNA server or cgi (note that server needs a couple of = tweeks)

The = Digital Ocean architecture is very good with plenty of options to suit = the way that I work with servers.



I have a Ubuntu 16.04 production = server, so testing this url:


You will get a Forbidden = message.



This= is the config file for this virtual domain notice Options = -Indexes:


DocumentRoot = "/var/www/html/plsoftware/plsoftware_root"
<Directory = "/var/www/html/plsoftware/plsoftware_root">
allow = from all
Options -Indexes
= Require all granted
= AllowOverride All
</Directory>

<IfModule = mod_speling.c>
    CheckSpelling = on
CheckCaseOnly on
</IfModule>










Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA







On 28 Aug 2019, at 09:47, Vincent Medina <vmedina@apcn.net> = wrote:

Rebooted after every = change
 
mod_rewrite is = enabled
 
I=E2=80=99m thinking I = need to look for a different version to play with. What do you = recommend? 
 
 
From: Stuart Tremain [mailto:webdna@plsoftware.com.au] 
Sent: Tuesday, August 27, 2019 = 7:08 PM
To: WebDNA Talk List
Subject: Re: [WebDNA] Ubuntu and = WebDNA
 
Have you rebooted.
 
Do you have = mod_rewrite installed and available to Apache ?
 
 
Kind regards
 
Stuart Tremain
Pharoah Lane = Software
AUSTRALIA
 
 
 
 

 



On 28 Aug 2019, at = 08:50, Vincent Medina <vmedina@apcn.net> wrote:
 
Not sure what I am doing wrong but nothing = I have tried is restricting dir access=E2=80=A6 Frustration setting = in.
 
From: Stuart Tremain [mailto:webdna@plsoftware.com.au] 
Sent: Monday, August 26, 2019 = 9:00 PM
To: WebDNA Talk List
Subject: Re: [WebDNA] Ubuntu and = WebDNA
 
Hi Vincent
 
You can do it on three levels
 
1) virtual host config = file
2) = ..htaccess file for each virtual host or individual directories
3) globally
 
 
1) in the vhost config = file - remove Indexes from :
<Directory /var/www/>
        &= nbsp;    Options Indexes = FollowSymLinks
        &= nbsp;    AllowOverride = None
        &= nbsp;    Require all = granted
</Directory>
 
 
2) add Options -Indexes = to the .htaccess file
 
 
3) https.conf file - remove Indexes from :
<Directory= /var/www/>
        &= nbsp;   Options Indexes = FollowSymLinks
        &= nbsp;   AllowOverride None
        &= nbsp;   Require all granted
</Directory>
 
 
 
 
 
Kind = regards
 
Stuart Tremain
Pharoah Lane = Software
AUSTRALIA
 
 
 
 

 




On 27 Aug 2019, at = 10:44, Vincent Medina <vmedina@apcn.net> = wrote:
 
I just noticed that dir listings is = somehow still enabled. Does anyone know how to disable dir listings in = Ubuntu 18.x 
 
 
From: Vincent Medina [mailto:vmedina@apcn.net] 
Sent: Sunday, August 25, 2019 = 10:50 PM
To: talk@webdna.us
Subject: [WebDNA] Ubuntu and = WebDNA
 
I got Ubuntu Server = 18.04.3 LTS running with WebDNA Fast CGI Here are my notes (Got from the = Talk list, friends and various other sources) feel free to = critique=E2=80=A6.
 
This is not for a = virtual host 
 
Use the directions = on the WebDNA site to install WebDNA with Apache
 
---------------------------------------------------------------= -----------
Side Note:
Upgrading to WebDNA = Server 8.6.3 
 
Download the = Zip 
Change = "mod_WebDNA_apache2.4.so" file name to "mod_webdna.so",
replace existing = files (mod_webdna.so,WebCatalog, WebDNAMonitor) with the new ones from = the zip
archive, made the last two files executable, and = reboot.
 
---------------------------------------------------------------= ---------
 
Change the = following:
 
sudo nano = /lib/systemd/system/apache2.service
sudo nano = /etc/systemd/system/multi-user.target.wants/apache2.service
 
Change 'PrivateTmp =3D= true'
to
 
PrivateTmp =3D = false
 
on both files, then reboot.
 
- FTP -
 
NOTE: Must use SFTP = to write
 
sudo apt-get install = vsftpd
sudo systemctl start vsftpd
sudo systemctl = enable vsftpd
 
backup the original = config file:
 
sudo mv = /etc/vsftpd.conf /etc/vsftpd.conf.orig
 
create a new config = file:
 
sudo nano /etc/vsftpd.conf
 
c/p this into the = config file:
 
listen=3DNO
listen_ipv6=3DYES
anonymous_enable=3DNO
local_enable=3DYES
write_enable=3DYES
local_umask=3D022
dirmessage_enable=3DYES
use_localtime=3DYES
xferlog_enable=3DYES
connect_from_port_20=3DYES
chroot_local_user=3DYES
secure_chroot_dir=3D/var/run/vsftpd/empty
pam_service_name=3Dvsftpd
rsa_cert_file=3D/etc/ssl/certs/ssl-cert-snakeoil.pem
rsa_private_key_file=3D/etc/ssl/private/ssl-cert-snakeoil.key
ssl_enable=3DNO
pasv_enable=3DYes
pasv_min_port=3D10000
pasv_max_port=3D10100
allow_writeable_chroot=3DYES
 
Now create a ftp = account
 
sudo useradd -m ftpuser
sudo passwd = ftpuser  
 
Then add user to = www-data
 
sudo adduser ftpuser = www-data
 
Create a folder = under /var/www/html/<new folder>
 
give rights to the = www-data group
 
chgrp www-data = <new folder>
chmod g+rwx  <new folder>
 
Allow WebDNA to = write to db's
 
chgrp www-data = <dbfile>
chmod g+rwx <dbfile>
 
Other = Stuff:
 
Remove dir browsing
In = /etc/apache2/apache2.conf
 
Look for = <Directory /var/www/> and change it to:
 
<Directory = /var/www/>
    Options = FollowSymLinks
    Options -Indexes
</Directory>  
 
 
root level = accesscd
sudo su -
 
 
--------------------------------------------------------- = This message is sent to you because you are subscribed to the mailing = list talk@webdna.us To unsubscribe, E-mail = to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us
--------------------------------------------------------- = This message is sent to you because you are subscribed to the mailing = list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us
 
--------------------------------------------------------- = This message is sent to you because you are subscribed to the mailing = list talk@webdna.us To unsubscribe, E-mail = to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us
--------------------------------------------------------- = This message is sent to you because you are subscribed to the mailing = list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us
 
--------------------------------------------------------- = This message is sent to you because you are subscribed to the mailing = list talk@webdna.us To unsubscribe, E-mail = to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us
--------------------------------------------------------- = This message is sent to you because you are subscribed to the mailing = list talk@webdna.us To = unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us
= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_912141CD-B68E-43E8-90C6-0C8C5EACCC59-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Ubuntu and WebDNA (Paul Willis 2019)
  2. Re: [WebDNA] Ubuntu and WebDNA (Stuart Tremain 2019)
  3. Re: [WebDNA] Ubuntu and WebDNA (Stuart Tremain 2019)
  4. RE: [WebDNA] Ubuntu and WebDNA ("Scott @ Itsula" 2019)
  5. RE: [WebDNA] Ubuntu and WebDNA (Vincent Medina 2019)
  6. RE: [WebDNA] Ubuntu and WebDNA ("Scott @ Itsula" 2019)
  7. Re: [WebDNA] Ubuntu and WebDNA (WebDNA Solutions 2019)
  8. RE: [WebDNA] Ubuntu and WebDNA ("Vincent Medina" 2019)
  9. FW: [WebDNA] Ubuntu and WebDNA (Dan Strickler 2019)
  10. RE: [WebDNA] Ubuntu and WebDNA (Dan Strickler 2019)
  11. Re: [WebDNA] Ubuntu and WebDNA (Stuart Tremain 2019)
  12. RE: [WebDNA] Ubuntu and WebDNA ("Vincent Medina" 2019)
  13. Re: [WebDNA] Ubuntu and WebDNA (Stuart Tremain 2019)
  14. RE: [WebDNA] Ubuntu and WebDNA ("Vincent Medina" 2019)
  15. RE: [WebDNA] Ubuntu and WebDNA ("Vincent Medina" 2019)
  16. Re: [WebDNA] Ubuntu and WebDNA (Stuart Tremain 2019)
  17. RE: [WebDNA] Ubuntu and WebDNA ("Vincent Medina" 2019)
  18. [WebDNA] Ubuntu and WebDNA ("Vincent Medina" 2019)
2331 --Apple-Mail=_912141CD-B68E-43E8-90C6-0C8C5EACCC59 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I have recently moved all my dev servers from linode to Digital Ocean. Straight install of Ubuntu onto a droplet. Then install of WebDNA server or cgi (note that server needs a couple of = tweeks) The Digital Ocean architecture is very good with plenty of options to = suit the way that I work with servers. I have a Ubuntu 16.04 production server, so testing this url: https://plsoftware.com.au/plugins/ https://plsoftware.com.au/js/ You will get a Forbidden message. This is the config file for this virtual domain notice Options -Indexes: DocumentRoot "/var/www/html/plsoftware/plsoftware_root" ServerName plsoftware.com.au allow from all Options -Indexes Require all granted AllowOverride All CheckSpelling on CheckCaseOnly on Kind regards Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@plsoftware.com.au > On 28 Aug 2019, at 09:47, Vincent Medina wrote: >=20 > Rebooted after every change > =20 > mod_rewrite is enabled > =20 > I=E2=80=99m thinking I need to look for a different version to play = with. What do you recommend?=20 > =20 > =20 > From: Stuart Tremain [mailto:webdna@plsoftware.com.au = ]=20 > Sent: Tuesday, August 27, 2019 7:08 PM > To: WebDNA Talk List > Subject: Re: [WebDNA] Ubuntu and WebDNA > =20 > Have you rebooted. > =20 > Do you have mod_rewrite installed and available to Apache ? > =20 > =20 > Kind regards > =20 > Stuart Tremain > Pharoah Lane Software > AUSTRALIA > webdna@plsoftware.com.au > =20 > =20 > =20 > =20 > =20 >=20 >=20 >=20 > On 28 Aug 2019, at 08:50, Vincent Medina > wrote: > =20 > Not sure what I am doing wrong but nothing I have tried is restricting = dir access=E2=80=A6 Frustration setting in. > =20 > From: Stuart Tremain [mailto:webdna@plsoftware.com.au = ]=20 > Sent: Monday, August 26, 2019 9:00 PM > To: WebDNA Talk List > Subject: Re: [WebDNA] Ubuntu and WebDNA > =20 > Hi Vincent > =20 > You can do it on three levels > =20 > 1) virtual host config file > 2) .htaccess file for each virtual host or individual directories > 3) globally > =20 > =20 > 1) in the vhost config file - remove Indexes from : > > Options Indexes FollowSymLinks > AllowOverride None > Require all granted > > =20 > =20 > 2) add Options -Indexes to the .htaccess file > =20 > =20 > 3) https.conf file - remove Indexes from : > > Options Indexes FollowSymLinks > AllowOverride None > Require all granted > > =20 > =20 > =20 > =20 > =20 > Kind regards > =20 > Stuart Tremain > Pharoah Lane Software > AUSTRALIA > webdna@plsoftware.com.au > =20 > =20 > =20 > =20 > =20 >=20 >=20 >=20 >=20 > On 27 Aug 2019, at 10:44, Vincent Medina > wrote: > =20 > I just noticed that dir listings is somehow still enabled. Does anyone = know how to disable dir listings in Ubuntu 18.x=20 > =20 > =20 > From: Vincent Medina [mailto:vmedina@apcn.net = ]=20 > Sent: Sunday, August 25, 2019 10:50 PM > To: talk@webdna.us > Subject: [WebDNA] Ubuntu and WebDNA > =20 > I got Ubuntu Server 18.04.3 LTS running with WebDNA Fast CGI Here are = my notes (Got from the Talk List, friends and various other sources) = feel free to critique=E2=80=A6. > =20 > This is not for a virtual host=20 > =20 > Use the directions on the WebDNA site to install WebDNA with Apache > =20 > = --------------------------------------------------------------------------= > Side Note: > Upgrading to WebDNA Server 8.6.3=20 > =20 > Download the Zip=20 > Change "mod_WebDNA_apache2.4.so" file name to "mod_webdna.so", > replace existing files (mod_webdna.so,WebCatalog, WebDNAMonitor) with = the new ones from the zip > archive, made the last two files executable, and reboot. > =20 > = ------------------------------------------------------------------------ > =20 > Change the following: > =20 > sudo nano /lib/systemd/system/apache2.service > sudo nano /etc/systemd/system/multi-user.target.wants/apache2.service > =20 > Change 'PrivateTmp =3D true' > to > =20 > PrivateTmp =3D false > =20 > on both files, then reboot. > =20 > - FTP - > =20 > NOTE: Must use SFTP to write > =20 > sudo apt-get install vsftpd > sudo systemctl start vsftpd > sudo systemctl enable vsftpd > =20 > backup the original config file: > =20 > sudo mv /etc/vsftpd.conf /etc/vsftpd.conf.orig > =20 > create a new config file: > =20 > sudo nano /etc/vsftpd.conf > =20 > c/p this into the config file: > =20 > listen=3DNO > listen_ipv6=3DYES > anonymous_enable=3DNO > local_enable=3DYES > write_enable=3DYES > local_umask=3D022 > dirmessage_enable=3DYES > use_localtime=3DYES > xferlog_enable=3DYES > connect_from_port_20=3DYES > chroot_local_user=3DYES > secure_chroot_dir=3D/var/run/vsftpd/empty > pam_service_name=3Dvsftpd > rsa_cert_file=3D/etc/ssl/certs/ssl-cert-snakeoil.pem > rsa_private_key_file=3D/etc/ssl/private/ssl-cert-snakeoil.key > ssl_enable=3DNO > pasv_enable=3DYes > pasv_min_port=3D10000 > pasv_max_port=3D10100 > allow_writeable_chroot=3DYES > =20 > Now create a ftp account > =20 > sudo useradd -m ftpuser > sudo passwd ftpuser =20 > =20 > Then add user to www-data > =20 > sudo adduser ftpuser www-data > =20 > Create a folder under /var/www/html/ > =20 > give rights to the www-data group > =20 > chgrp www-data > chmod g+rwx > =20 > Allow WebDNA to write to db's > =20 > chgrp www-data > chmod g+rwx > =20 > Other Stuff: > =20 > Remove dir browsing > In /etc/apache2/apache2.conf > =20 > Look for and change it to: > =20 > > Options FollowSymLinks > Options -Indexes > =20 > =20 > =20 > root level accesscd > sudo su - > =20 > =20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: = talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: = talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us > =20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: = talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: = talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us > =20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: = talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us = ------------------------------------------------= --------- This message is sent to you because you are subscribed to the = mailing list talk@webdna.us To unsubscribe, = E-mail to: talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us --Apple-Mail=_912141CD-B68E-43E8-90C6-0C8C5EACCC59 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
I have recently moved all my = dev servers from linode to Digital Ocean.
Straight = install of Ubuntu onto a droplet.
Then install of = WebDNA server or cgi (note that server needs a couple of = tweeks)

The = Digital Ocean architecture is very good with plenty of options to suit = the way that I work with servers.



I have a Ubuntu 16.04 production = server, so testing this url:


You will get a Forbidden = message.



This= is the config file for this virtual domain notice Options = -Indexes:


DocumentRoot = "/var/www/html/plsoftware/plsoftware_root"
<Directory = "/var/www/html/plsoftware/plsoftware_root">
allow = from all
Options -Indexes
= Require all granted
= AllowOverride All
</Directory>

<IfModule = mod_speling.c>
    CheckSpelling = on
CheckCaseOnly on
</IfModule>










Kind regards

Stuart Tremain
Pharoah Lane Software
AUSTRALIA







On 28 Aug 2019, at 09:47, Vincent Medina <vmedina@apcn.net> = wrote:

Rebooted after every = change
 
mod_rewrite is = enabled
 
I=E2=80=99m thinking I = need to look for a different version to play with. What do you = recommend? 
 
 
From: Stuart Tremain [mailto:webdna@plsoftware.com.au] 
Sent: Tuesday, August 27, 2019 = 7:08 PM
To: WebDNA Talk List
Subject: Re: [WebDNA] Ubuntu and = WebDNA
 
Have you rebooted.
 
Do you have = mod_rewrite installed and available to Apache ?
 
 
Kind regards
 
Stuart Tremain
Pharoah Lane = Software
AUSTRALIA
 
 
 
 

 



On 28 Aug 2019, at = 08:50, Vincent Medina <vmedina@apcn.net> wrote:
 
Not sure what I am doing wrong but nothing = I have tried is restricting dir access=E2=80=A6 Frustration setting = in.
 
From: Stuart Tremain [mailto:webdna@plsoftware.com.au] 
Sent: Monday, August 26, 2019 = 9:00 PM
To: WebDNA Talk List
Subject: Re: [WebDNA] Ubuntu and = WebDNA
 
Hi Vincent
 
You can do it on three levels
 
1) virtual host config = file
2) = ..htaccess file for each virtual host or individual directories
3) globally
 
 
1) in the vhost config = file - remove Indexes from :
<Directory /var/www/>
        &= nbsp;    Options Indexes = FollowSymLinks
        &= nbsp;    AllowOverride = None
        &= nbsp;    Require all = granted
</Directory>
 
 
2) add Options -Indexes = to the .htaccess file
 
 
3) https.conf file - remove Indexes from :
<Directory= /var/www/>
        &= nbsp;   Options Indexes = FollowSymLinks
        &= nbsp;   AllowOverride None
        &= nbsp;   Require all granted
</Directory>
 
 
 
 
 
Kind = regards
 
Stuart Tremain
Pharoah Lane = Software
AUSTRALIA
 
 
 
 

 




On 27 Aug 2019, at = 10:44, Vincent Medina <vmedina@apcn.net> = wrote:
 
I just noticed that dir listings is = somehow still enabled. Does anyone know how to disable dir listings in = Ubuntu 18.x 
 
 
From: Vincent Medina [mailto:vmedina@apcn.net] 
Sent: Sunday, August 25, 2019 = 10:50 PM
To: talk@webdna.us
Subject: [WebDNA] Ubuntu and = WebDNA
 
I got Ubuntu Server = 18.04.3 LTS running with WebDNA Fast CGI Here are my notes (Got from the = Talk List, friends and various other sources) feel free to = critique=E2=80=A6.
 
This is not for a = virtual host 
 
Use the directions = on the WebDNA site to install WebDNA with Apache
 
---------------------------------------------------------------= -----------
Side Note:
Upgrading to WebDNA = Server 8.6.3 
 
Download the = Zip 
Change = "mod_WebDNA_apache2.4.so" file name to "mod_webdna.so",
replace existing = files (mod_webdna.so,WebCatalog, WebDNAMonitor) with the new ones from = the zip
archive, made the last two files executable, and = reboot.
 
---------------------------------------------------------------= ---------
 
Change the = following:
 
sudo nano = /lib/systemd/system/apache2.service
sudo nano = /etc/systemd/system/multi-user.target.wants/apache2.service
 
Change 'PrivateTmp =3D= true'
to
 
PrivateTmp =3D = false
 
on both files, then reboot.
 
- FTP -
 
NOTE: Must use SFTP = to write
 
sudo apt-get install = vsftpd
sudo systemctl start vsftpd
sudo systemctl = enable vsftpd
 
backup the original = config file:
 
sudo mv = /etc/vsftpd.conf /etc/vsftpd.conf.orig
 
create a new config = file:
 
sudo nano /etc/vsftpd.conf
 
c/p this into the = config file:
 
listen=3DNO
listen_ipv6=3DYES
anonymous_enable=3DNO
local_enable=3DYES
write_enable=3DYES
local_umask=3D022
dirmessage_enable=3DYES
use_localtime=3DYES
xferlog_enable=3DYES
connect_from_port_20=3DYES
chroot_local_user=3DYES
secure_chroot_dir=3D/var/run/vsftpd/empty
pam_service_name=3Dvsftpd
rsa_cert_file=3D/etc/ssl/certs/ssl-cert-snakeoil.pem
rsa_private_key_file=3D/etc/ssl/private/ssl-cert-snakeoil.key
ssl_enable=3DNO
pasv_enable=3DYes
pasv_min_port=3D10000
pasv_max_port=3D10100
allow_writeable_chroot=3DYES
 
Now create a ftp = account
 
sudo useradd -m ftpuser
sudo passwd = ftpuser  
 
Then add user to = www-data
 
sudo adduser ftpuser = www-data
 
Create a folder = under /var/www/html/<new folder>
 
give rights to the = www-data group
 
chgrp www-data = <new folder>
chmod g+rwx  <new folder>
 
Allow WebDNA to = write to db's
 
chgrp www-data = <dbfile>
chmod g+rwx <dbfile>
 
Other = Stuff:
 
Remove dir browsing
In = /etc/apache2/apache2.conf
 
Look for = <Directory /var/www/> and change it to:
 
<Directory = /var/www/>
    Options = FollowSymLinks
    Options -Indexes
</Directory>  
 
 
root level = accesscd
sudo su -
 
 
--------------------------------------------------------- = This message is sent to you because you are subscribed to the mailing = list talk@webdna.us To unsubscribe, E-mail = to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us
--------------------------------------------------------- = This message is sent to you because you are subscribed to the mailing = list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us
 
--------------------------------------------------------- = This message is sent to you because you are subscribed to the mailing = list talk@webdna.us To unsubscribe, E-mail = to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us
--------------------------------------------------------- = This message is sent to you because you are subscribed to the mailing = list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us
 
--------------------------------------------------------- = This message is sent to you because you are subscribed to the mailing = list talk@webdna.us To unsubscribe, E-mail = to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us
--------------------------------------------------------- = This message is sent to you because you are subscribed to the mailing = list talk@webdna.us To = unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us
= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_912141CD-B68E-43E8-90C6-0C8C5EACCC59-- . Stuart Tremain

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebCat2b15MacPlugin - showing [math] (1997) Multiple security dbs (1997) Meet your competition (2000) Math with Time (1997) Sending order notification by fax (1999) Shipping costs again (1998) Force leading zeros (1998) Email Mac (2002) Site Search Concepts (2003) Intranet Edition (2004) [WriteFile] problems (1997) Attention all list readers (1997) [ShowNext] feature in 2.0 (1997) Adding Text (2000) form data submission gets truncated (1997) Any limit to [include] (1997) Plugin vs. CGI (1998) WebCat for Site Search? (1997) can WC render sites out? (1997) b12 cannot limit records returned and more. (1997)