RE: [WebDNA] Ubuntu and WebDNA

This WebDNA talk-list message is from

2019


It keeps the original formatting.
numero = 114720
interpreted = N
texte = 2344 This is a multipart message in MIME format. ------=_NextPart_000_1EA9_01D55EA2.DEFE0540 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I found my issue=E2=80=A6 Needed to do everything as root. =20 sudo su =E2=80=93 =20 how are you guys transferring files? I tried WinSCP with the additional = login sudo su =E2=80=93 but it auto logs me out. =20 =20 From: Stuart Tremain [mailto:webdna@plsoftware.com.au]=20 Sent: Thursday, August 29, 2019 7:06 PM To: WebDNA Talk List Subject: Re: [WebDNA] Ubuntu and WebDNA =20 I will have a look at a 18.04 server and let you know if there is any = difference to the 16.04 setup. =20 If you are struggling with the command line, consider installing Webmin. =20 =20 Kind regards =20 Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@plsoftware.com.au =20 =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D install webmin =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D $ sudo nano /etc/apt/sources.list =20 Then add this line to the bottom of the file to add the new repository: deb http://download.webmin.com/download/repository sarge = contrib Save the file and exit the editor. =20 Add the Webmin PGP key so that your system will trust the new = repository: $ wget http://www.webmin.com/jcameron-key.asc $ sudo apt-key add jcameron-key.asc =20 Next, update the list of packages to include the Webmin repository: $ sudo apt update=20 =20 Then install Webmin: $ sudo apt install webmin=20 =20 =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Connect to webmin https://your_server_ip:10000 use your sudo user 'username' =20 If you can not get connection check your firewall and routing allows = port 10000 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 =20 =20 On 30 Aug 2019, at 05:05, Vincent Medina wrote: =20 Pardon my ignorance but I'm very green when it comes to Linux. I was = able to figure out having the exclusion of indexes from the route of the = Apache web server does not affect subdirectories for some reason. I = added another exclusion for the sub directory containing my files and = databases and it works fine. =20 =20 =20 Sincerely, =20 Vincent Medina Technology Consultant =20 (305)785-3355 =20 -------- Original message -------- From: Stuart Tremain =20 Date: 8/27/19 8:23 PM (GMT-05:00)=20 To: WebDNA Talk List =20 Subject: Re: [WebDNA] Ubuntu and WebDNA=20 =20 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) =20 The Digital Ocean architecture is very good with plenty of options to = suit the way that I work with servers. =20 =20 =20 I have a Ubuntu 16.04 production server, so testing this url: =20 https://plsoftware.com.au/plugins/ https://plsoftware.com.au/js/ =20 You will get a Forbidden message. =20 =20 =20 This is the config file for this virtual domain notice Options -Indexes: =20 =20 DocumentRoot "/var/www/html/plsoftware/plsoftware_root" ServerName plsoftware.com.au =20 allow from all Options -Indexes Require all granted AllowOverride All =20 CheckSpelling on CheckCaseOnly on =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 Kind regards =20 Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@plsoftware.com.au =20 =20 =20 =20 =20 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 On 28 Aug 2019, at 08:50, Vincent Medina < = vmedina@apcn.net> 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 On 27 Aug 2019, at 10:44, Vincent Medina < = vmedina@apcn.net> 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 ""> =20 sudo mv /etc/vsftpd.conf /etc/vsftpd.conf.orig =20 create a new config ""> =20 sudo nano /etc/vsftpd.conf =20 c/p this into the config ""> =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 =20 N=EF=BF=BD=EF=BF=BD,j=EF=BF=BD=C7=A7=EF=BF=BD=EF=BF=BD2=EF=BF=BD=EF=BF=BD= =EF=BF=BDq=EF=BF=BD{*.j=EF=BF=BD=1C=EF=BF=BD&=EF=BF=BDv=EF=BF=BD-=EF=BF=BD= =E9=9A=8AX=EF=BF=BDX#<^_NSEDR_^#<=D6=A5=EF=BF=BD=EF=BF=BDvv=EF=BF=BD:.=EF= =BF=BD=CB=9B=EF=BF=BD=EF=BF=BD=EF=BF=BDm=EF=BF=BD&j)m#<^_NSEDR_^#<=D6=A5=EF= =BF=BDW=EF=BF=BD=EF=BF=BD=E2=80=91m=EF=BF=BD=DA=BA=C6=ABr=EF=BF=BDz=EF=BF= =BDm=EF=BF=BD=EF=BF=BD 0y=EF=BF=BDgj=EF=BF=BD?=EF=BF=BD=E2=80=91vv=EF=BF=BDg=EF=BF=BD y=06=EF=BF=BD=11z=EF=BF=BD+=EF=BF=BD)=EF=BF=BD=EF=BF=BDi=EF=BF=BDpy=EF=BF= =BDg =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 ------=_NextPart_000_1EA9_01D55EA2.DEFE0540 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

I found my issue=E2=80=A6 Needed to do everything as = root.

 

sudo su =E2=80=93

 

how are you guys transferring files? I tried WinSCP with the = additional login sudo su =E2=80=93 but it auto logs me = out.

 

 

From:= = Stuart Tremain [mailto:webdna@plsoftware.com.au]
Sent: = Thursday, August 29, 2019 7:06 PM
To: WebDNA Talk = List
Subject: Re: [WebDNA] Ubuntu and = WebDNA

 

I will have = a look at a 18.04 server and let you know if there is any difference to = the 16.04 setup.

 

If you are struggling with the command line, consider = installing Webmin.

 

 

Kind regards

 

Stuart Tremain

Pharoah Lane Software

AUSTRALIA

 

 

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D

install = webmin

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D

$ sudo = nano /etc/apt/sources.list

 

Then add this line to the bottom of the file to add = the new repository:

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 deb http://download.w= ebmin.com/download/repository sarge = contrib

Save the file and = exit the editor.

 

Add the Webmin PGP key so that your system will trust = the new repository:

$ sudo = apt-key add jcameron-key.asc

 

Next, update the list of packages to include the = Webmin repository:

$ sudo = apt update 

 

Then install Webmin:

$ sudo apt install = webmin 

 

 

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D

Connect to = webmin

use your sudo user = 'username'

 

If you can not get connection check your firewall and = routing allows port 10000

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D

 

 

 



On 30 = Aug 2019, at 05:05, Vincent Medina <vmedina@apcn.net> = wrote:

 

Pardon my ignorance but I'm very green when it comes = to Linux. I was able to figure out having the exclusion of indexes from = the route of the Apache web server does not affect subdirectories for = some reason. I added another exclusion for the sub directory containing = my files and databases and it works fine.

 

 

 

Sincerely,

 

Vincent Medina

Technology Consultant

 

(305)785-3355

 

-------- Original message = --------

From: Stuart = Tremain <webdna@plsoftware.com.au>=

Date: 8/27/19 8:23 PM = (GMT-05:00)

To: WebDNA = Talk List <talk@webdna.us> =

Subject: Re: [WebDNA] = Ubuntu and WebDNA

 

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"

=

ServerName plsoftware.com.au

<Directory = "/var/www/html/plsoftware/plsoftware_root">

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 allow from all

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 Options -Indexes

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 Require all granted

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 AllowOverride All

</Directory>

 

<IfModule = mod_speling.c>

  =   CheckSpelling on

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 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<= /span>

 

 

 

 

 




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

 

<= p class=3DMsoNormal>You can do it on three = levels

 

<= p class=3DMsoNormal>1) virtual host config = file

2) .htaccess file for each virtual host or individual = directories

3) = globally

 

<= p = class=3DMsoNormal> 

<= p class=3DMsoNormal>1) in the vhost config file - remove Indexes from = :

<Directory = /var/www/>

        &n= bsp;    Options Indexes = FollowSymLinks

        &n= bsp;    AllowOverride = None

        &n= bsp;    Require all = granted

</Directory>

 

<= p = class=3DMsoNormal> 

<= p class=3DMsoNormal>2) add Options -Indexes to the .htaccess = file

 

<= p = class=3DMsoNormal> 

<= p class=3DMsoNormal>3) https.conf file - remove Indexes from = :

<Directory = /var/www/>

        &n= bsp;   Options Indexes = FollowSymLinks

        &n= bsp;   AllowOverride = None

        &n= bsp;   Require all = granted

</Directory>

 

<= p = class=3DMsoNormal> 

<= p = class=3DMsoNormal> 

<= p = class=3DMsoNormal> 

<= p = class=3DMsoNormal> 

Kind = regards

 

<= p class=3DMsoNormal>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 = "">

 

sudo mv = /etc/vsftpd.conf = /etc/vsftpd.conf.orig

 

create a = new config = "">

 

sudo nano = /etc/vsftpd.conf

 

c/p this = into the config = "">

 

listen=3DNO=

listen_ipv6= =3DYES

anonymous_e= nable=3DNO

local_enabl= e=3DYES

write_enabl= e=3DYES

local_umask= =3D022

dirmessage_= enable=3DYES

use_localti= me=3DYES

xferlog_ena= ble=3DYES

connect_fro= m_port_20=3DYES

chroot_loca= l_user=3DYES

secure_chro= ot_dir=3D/var/run/vsftpd/empty

pam_service= _name=3Dvsftpd

rsa_cert_fi= le=3D/etc/ssl/certs/ssl-cert-snakeoil.pem

rsa_private= _key_file=3D/etc/ssl/private/ssl-cert-snakeoil.key

<= /div>

ssl_enable=3D= NO

pasv_enable= =3DYes

pasv_min_po= rt=3D10000

pasv_max_po= rt=3D10100

allow_write= able_chroot=3DYES

<= p class=3DMsoNormal> 

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:

 

<Directo= ry = /var/www/>

  = ;  Options = FollowSymLinks

  = ;  Options = -Indexes

</Direct= ory>  

 

 

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

<= /div>

----------= ----------------------------------------------- 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:<= span class=3Dapple-converted-space> 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

<= /div>

----------= ----------------------------------------------- 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:<= span class=3Dapple-converted-space> 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

<= p class=3DMsoNormal>----------= ----------------------------------------------- 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:<= span class=3Dapple-converted-space> http://www.webdna.us/page.dna?numero=3D55 Bug = Reporting: support@webdna.us

 

N=EF=BF=BD=EF=BF=BD,j=EF=BF=BD=C7=A7=EF=BF=BD=EF=BF=BD2=EF=BF=BD=EF=BF=BD=EF=BF=BDq=EF=BF=BD{*.j=EF=BF=BD=EF=BF=BD&=EF=BF=BDv=EF=BF=BD-=EF=BF=BD=E9=9A=8AX=EF=BF=BDX#<^_NSEDR= _^#<=D6=A5=EF=BF=BD=EF=BF=BDvv=EF=BF=BD:.=EF=BF=BD=CB=9B=EF=BF=BD=EF=BF=BD=EF=BF=BDm=EF=BF=BD&j)m#<= ^_NSEDR_^#<=D6=A5=EF=BF=BDW=EF=BF=BD=EF=BF=BD=E2=80= =91m=EF=BF=BD=DA=BA=C6=ABr= =EF=BF=BDz=EF=BF=BDm=EF=BF=BD=EF=BF=BD
0y=EF=BF=BDgj=EF=BF=BD?=EF=BF=BD=E2=80=91vv=EF=BF=BD
g=EF=BF=BD
y=EF=BF=BDz=EF=BF=BD+=EF=BF=BD)=EF=BF=BD=EF=BF=BDi=EF=BF=BDpy=EF=BF=BDg<= /p>

 

-------------------------------------------------------= -- 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 ------=_NextPart_000_1EA9_01D55EA2.DEFE0540-- . 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. RE: [WebDNA] Ubuntu and WebDNA (Dan Strickler 2019)
  10. Re: [WebDNA] Ubuntu and WebDNA (Stuart Tremain 2019)
  11. RE: [WebDNA] Ubuntu and WebDNA ("Vincent Medina" 2019)
  12. Re: [WebDNA] Ubuntu and WebDNA (Stuart Tremain 2019)
  13. RE: [WebDNA] Ubuntu and WebDNA ("Vincent Medina" 2019)
  14. RE: [WebDNA] Ubuntu and WebDNA ("Vincent Medina" 2019)
  15. Re: [WebDNA] Ubuntu and WebDNA (Stuart Tremain 2019)
  16. RE: [WebDNA] Ubuntu and WebDNA ("Vincent Medina" 2019)
2344 This is a multipart message in MIME format. ------=_NextPart_000_1EA9_01D55EA2.DEFE0540 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I found my issue=E2=80=A6 Needed to do everything as root. =20 sudo su =E2=80=93 =20 how are you guys transferring files? I tried WinSCP with the additional = login sudo su =E2=80=93 but it auto logs me out. =20 =20 From: Stuart Tremain [mailto:webdna@plsoftware.com.au]=20 Sent: Thursday, August 29, 2019 7:06 PM To: WebDNA Talk List Subject: Re: [WebDNA] Ubuntu and WebDNA =20 I will have a look at a 18.04 server and let you know if there is any = difference to the 16.04 setup. =20 If you are struggling with the command line, consider installing Webmin. =20 =20 Kind regards =20 Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@plsoftware.com.au =20 =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D install webmin =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D $ sudo nano /etc/apt/sources.list =20 Then add this line to the bottom of the file to add the new repository: deb http://download.webmin.com/download/repository sarge = contrib Save the file and exit the editor. =20 Add the Webmin PGP key so that your system will trust the new = repository: $ wget http://www.webmin.com/jcameron-key.asc $ sudo apt-key add jcameron-key.asc =20 Next, update the list of packages to include the Webmin repository: $ sudo apt update=20 =20 Then install Webmin: $ sudo apt install webmin=20 =20 =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Connect to webmin https://your_server_ip:10000 use your sudo user 'username' =20 If you can not get connection check your firewall and routing allows = port 10000 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 =20 =20 On 30 Aug 2019, at 05:05, Vincent Medina wrote: =20 Pardon my ignorance but I'm very green when it comes to Linux. I was = able to figure out having the exclusion of indexes from the route of the = Apache web server does not affect subdirectories for some reason. I = added another exclusion for the sub directory containing my files and = databases and it works fine. =20 =20 =20 Sincerely, =20 Vincent Medina Technology Consultant =20 (305)785-3355 =20 -------- Original message -------- From: Stuart Tremain =20 Date: 8/27/19 8:23 PM (GMT-05:00)=20 To: WebDNA Talk List =20 Subject: Re: [WebDNA] Ubuntu and WebDNA=20 =20 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) =20 The Digital Ocean architecture is very good with plenty of options to = suit the way that I work with servers. =20 =20 =20 I have a Ubuntu 16.04 production server, so testing this url: =20 https://plsoftware.com.au/plugins/ https://plsoftware.com.au/js/ =20 You will get a Forbidden message. =20 =20 =20 This is the config file for this virtual domain notice Options -Indexes: =20 =20 DocumentRoot "/var/www/html/plsoftware/plsoftware_root" ServerName plsoftware.com.au =20 allow from all Options -Indexes Require all granted AllowOverride All =20 CheckSpelling on CheckCaseOnly on =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 Kind regards =20 Stuart Tremain Pharoah Lane Software AUSTRALIA webdna@plsoftware.com.au =20 =20 =20 =20 =20 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 On 28 Aug 2019, at 08:50, Vincent Medina < = vmedina@apcn.net> 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 On 27 Aug 2019, at 10:44, Vincent Medina < = vmedina@apcn.net> 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 ""> =20 sudo mv /etc/vsftpd.conf /etc/vsftpd.conf.orig =20 create a new config ""> =20 sudo nano /etc/vsftpd.conf =20 c/p this into the config ""> =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 =20 N=EF=BF=BD=EF=BF=BD,j=EF=BF=BD=C7=A7=EF=BF=BD=EF=BF=BD2=EF=BF=BD=EF=BF=BD= =EF=BF=BDq=EF=BF=BD{*.j=EF=BF=BD=1C=EF=BF=BD&=EF=BF=BDv=EF=BF=BD-=EF=BF=BD= =E9=9A=8AX=EF=BF=BDX#<^_NSEDR_^#<=D6=A5=EF=BF=BD=EF=BF=BDvv=EF=BF=BD:.=EF= =BF=BD=CB=9B=EF=BF=BD=EF=BF=BD=EF=BF=BDm=EF=BF=BD&j)m#<^_NSEDR_^#<=D6=A5=EF= =BF=BDW=EF=BF=BD=EF=BF=BD=E2=80=91m=EF=BF=BD=DA=BA=C6=ABr=EF=BF=BDz=EF=BF= =BDm=EF=BF=BD=EF=BF=BD 0y=EF=BF=BDgj=EF=BF=BD?=EF=BF=BD=E2=80=91vv=EF=BF=BDg=EF=BF=BD y=06=EF=BF=BD=11z=EF=BF=BD+=EF=BF=BD)=EF=BF=BD=EF=BF=BDi=EF=BF=BDpy=EF=BF= =BDg =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 ------=_NextPart_000_1EA9_01D55EA2.DEFE0540 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

I found my issue=E2=80=A6 Needed to do everything as = root.

 

sudo su =E2=80=93

 

how are you guys transferring files? I tried WinSCP with the = additional login sudo su =E2=80=93 but it auto logs me = out.

 

 

From:= = Stuart Tremain [mailto:webdna@plsoftware.com.au]
Sent: = Thursday, August 29, 2019 7:06 PM
To: WebDNA Talk = List
Subject: Re: [WebDNA] Ubuntu and = WebDNA

 

I will have = a look at a 18.04 server and let you know if there is any difference to = the 16.04 setup.

 

If you are struggling with the command line, consider = installing Webmin.

 

 

Kind regards

 

Stuart Tremain

Pharoah Lane Software

AUSTRALIA

 

 

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D

install = webmin

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D

$ sudo = nano /etc/apt/sources.list

 

Then add this line to the bottom of the file to add = the new repository:

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 deb http://download.w= ebmin.com/download/repository sarge = contrib

Save the file and = exit the editor.

 

Add the Webmin PGP key so that your system will trust = the new repository:

$ sudo = apt-key add jcameron-key.asc

 

Next, update the list of packages to include the = Webmin repository:

$ sudo = apt update 

 

Then install Webmin:

$ sudo apt install = webmin 

 

 

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D

Connect to = webmin

use your sudo user = 'username'

 

If you can not get connection check your firewall and = routing allows port 10000

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D

 

 

 



On 30 = Aug 2019, at 05:05, Vincent Medina <vmedina@apcn.net> = wrote:

 

Pardon my ignorance but I'm very green when it comes = to Linux. I was able to figure out having the exclusion of indexes from = the route of the Apache web server does not affect subdirectories for = some reason. I added another exclusion for the sub directory containing = my files and databases and it works fine.

 

 

 

Sincerely,

 

Vincent Medina

Technology Consultant

 

(305)785-3355

 

-------- Original message = --------

From: Stuart = Tremain <webdna@plsoftware.com.au>=

Date: 8/27/19 8:23 PM = (GMT-05:00)

To: WebDNA = Talk List <talk@webdna.us> =

Subject: Re: [WebDNA] = Ubuntu and WebDNA

 

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"

=

ServerName plsoftware.com.au

<Directory = "/var/www/html/plsoftware/plsoftware_root">

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 allow from all

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 Options -Indexes

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 Require all granted

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 AllowOverride All

</Directory>

 

<IfModule = mod_speling.c>

  =   CheckSpelling on

=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 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<= /span>

 

 

 

 

 




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

 

<= p class=3DMsoNormal>You can do it on three = levels

 

<= p class=3DMsoNormal>1) virtual host config = file

2) .htaccess file for each virtual host or individual = directories

3) = globally

 

<= p = class=3DMsoNormal> 

<= p class=3DMsoNormal>1) in the vhost config file - remove Indexes from = :

<Directory = /var/www/>

        &n= bsp;    Options Indexes = FollowSymLinks

        &n= bsp;    AllowOverride = None

        &n= bsp;    Require all = granted

</Directory>

 

<= p = class=3DMsoNormal> 

<= p class=3DMsoNormal>2) add Options -Indexes to the .htaccess = file

 

<= p = class=3DMsoNormal> 

<= p class=3DMsoNormal>3) https.conf file - remove Indexes from = :

<Directory = /var/www/>

        &n= bsp;   Options Indexes = FollowSymLinks

        &n= bsp;   AllowOverride = None

        &n= bsp;   Require all = granted

</Directory>

 

<= p = class=3DMsoNormal> 

<= p = class=3DMsoNormal> 

<= p = class=3DMsoNormal> 

<= p = class=3DMsoNormal> 

Kind = regards

 

<= p class=3DMsoNormal>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 = "">

 

sudo mv = /etc/vsftpd.conf = /etc/vsftpd.conf.orig

 

create a = new config = "">

 

sudo nano = /etc/vsftpd.conf

 

c/p this = into the config = "">

 

listen=3DNO=

listen_ipv6= =3DYES

anonymous_e= nable=3DNO

local_enabl= e=3DYES

write_enabl= e=3DYES

local_umask= =3D022

dirmessage_= enable=3DYES

use_localti= me=3DYES

xferlog_ena= ble=3DYES

connect_fro= m_port_20=3DYES

chroot_loca= l_user=3DYES

secure_chro= ot_dir=3D/var/run/vsftpd/empty

pam_service= _name=3Dvsftpd

rsa_cert_fi= le=3D/etc/ssl/certs/ssl-cert-snakeoil.pem

rsa_private= _key_file=3D/etc/ssl/private/ssl-cert-snakeoil.key

<= /div>

ssl_enable=3D= NO

pasv_enable= =3DYes

pasv_min_po= rt=3D10000

pasv_max_po= rt=3D10100

allow_write= able_chroot=3DYES

<= p class=3DMsoNormal> 

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:

 

<Directo= ry = /var/www/>

  = ;  Options = FollowSymLinks

  = ;  Options = -Indexes

</Direct= ory>  

 

 

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

<= /div>

----------= ----------------------------------------------- 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:<= span class=3Dapple-converted-space> 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

<= /div>

----------= ----------------------------------------------- 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:<= span class=3Dapple-converted-space> 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

<= p class=3DMsoNormal>----------= ----------------------------------------------- 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:<= span class=3Dapple-converted-space> http://www.webdna.us/page.dna?numero=3D55 Bug = Reporting: support@webdna.us

 

N=EF=BF=BD=EF=BF=BD,j=EF=BF=BD=C7=A7=EF=BF=BD=EF=BF=BD2=EF=BF=BD=EF=BF=BD=EF=BF=BDq=EF=BF=BD{*.j=EF=BF=BD=EF=BF=BD&=EF=BF=BDv=EF=BF=BD-=EF=BF=BD=E9=9A=8AX=EF=BF=BDX#<^_NSEDR= _^#<=D6=A5=EF=BF=BD=EF=BF=BDvv=EF=BF=BD:.=EF=BF=BD=CB=9B=EF=BF=BD=EF=BF=BD=EF=BF=BDm=EF=BF=BD&j)m#<= ^_NSEDR_^#<=D6=A5=EF=BF=BDW=EF=BF=BD=EF=BF=BD=E2=80= =91m=EF=BF=BD=DA=BA=C6=ABr= =EF=BF=BDz=EF=BF=BDm=EF=BF=BD=EF=BF=BD
0y=EF=BF=BDgj=EF=BF=BD?=EF=BF=BD=E2=80=91vv=EF=BF=BD
g=EF=BF=BD
y=EF=BF=BDz=EF=BF=BD+=EF=BF=BD)=EF=BF=BD=EF=BF=BDi=EF=BF=BDpy=EF=BF=BDg<= /p>

 

-------------------------------------------------------= -- 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 ------=_NextPart_000_1EA9_01D55EA2.DEFE0540-- . "Vincent Medina"

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:

Uh...can someone help me out with the b10? (1997) Assigning carts (1998) default value from Lookup (was Grant, please help me) (1997) [BoldWords WordList]Any Text[/BoldWords] (2000) A better WebCat whois (was [OT] Domain Name Scam) (2000) Multiple Newcarts (1996) Updating Prices in Online Database (1999) Changing price for a SLU based on options (size, etc.) (1997) textarea inputs and returns (1999) RE: ANother SHOWIF problem (1997) A new bug? (1999) Re:2nd WebCatalog2 Feature Request (1996) Multiple security dbs (1997) Out of the woodwork (2007) Templates for Customer Database? (1997) 2.01 upgrade problems (1997) [ENCRYPT seed=xxxxx] length (2000) carriage returns in data (1997) security (1997) Bug? (1997)