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.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=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>
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 ?
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
2) .htaccess file for each virtual host or individual =directories
3) =globally
<Directory =/var/www/>
&n=bsp; Options Indexes =FollowSymLinks
&n=bsp; AllowOverride =None
&n=bsp; Require all =granted
</Directory>
<Directory =/var/www/>
&n=bsp; Options Indexes =FollowSymLinks
&n=bsp; AllowOverride =None
&n=bsp; Require all =granted
</Directory>
Kind =regards
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
ssl_enable=3D=NO
pasv_enable==3DYes
pasv_min_po=rt=3D10000
pasv_max_po=rt=3D10100
allow_write=able_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:
<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=a> 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:<=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=a> 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:<=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=a> Bug Reporting: support@webdna.us
N=EF=BF=BD=EF=BF=BD,j=EF=BF=BD=C7=A7=EF=BF=BD=EF=BF=BD2
0y=EF=BF=BDgj=EF=BF=BD?=EF=BF=BD=E2=80=91vv=EF=BF=BDg=EF=BF=BD
y=EF=BF=BDz=EF=BF=BD+=EF=BF=BD)=EF=BF=BD=EF=BF=BDi
-------------------------------------------------------=-- 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
|
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.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=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>
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 ?
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
2) .htaccess file for each virtual host or individual =directories
3) =globally
<Directory =/var/www/>
&n=bsp; Options Indexes =FollowSymLinks
&n=bsp; AllowOverride =None
&n=bsp; Require all =granted
</Directory>
<Directory =/var/www/>
&n=bsp; Options Indexes =FollowSymLinks
&n=bsp; AllowOverride =None
&n=bsp; Require all =granted
</Directory>
Kind =regards
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
ssl_enable=3D=NO
pasv_enable==3DYes
pasv_min_po=rt=3D10000
pasv_max_po=rt=3D10100
allow_write=able_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:
<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=a> 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:<=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=a> 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:<=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=a> Bug Reporting: support@webdna.us
N=EF=BF=BD=EF=BF=BD,j=EF=BF=BD=C7=A7=EF=BF=BD=EF=BF=BD2
0y=EF=BF=BDgj=EF=BF=BD?=EF=BF=BD=E2=80=91vv=EF=BF=BDg=EF=BF=BD
y=EF=BF=BDz=EF=BF=BD+=EF=BF=BD)=EF=BF=BD=EF=BF=BDi
-------------------------------------------------------=-- 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
DOWNLOAD WEBDNA NOW!
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...