On Donnerstag, 3. April 2014, Helmut Koers wrote: > I there an option to have the GSA listen on Port 443 and be redirected to > 443 in case trying to access the GSA via Port 80? > > My attempt has been to first change "GSA_PORT=9392" to "GSA_PORT=443" in > "/etc/init.d/greenbone-security-assistant", so that it was listening on > Port 443. Next step has been to enable redirect by uncommenting > "GSA_REDIRECT=1" in "/etc/init.d/greenbone-security-assistant". As a > result I got the following message when starting OpenVAS the next time: > > /etc/init.d/greenbone-security-assistant: 28: [: 1: unexpected operator > > and no redirect function active. Are these settings supposed to do what I > was trying to achieve, or am I missing something?
Try $ gsad --help There you see options, one is "--redirect" of which I assume is what you are looking for? Best Jan -- Dr. Jan-Oliver Wagner | ++49-541-335084-0 | http://www.greenbone.net/ Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 202460 Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner _______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
