The openstack_dashboard.management.commands.make_web_conf ModuleΒΆ

class openstack_dashboard.management.commands.make_web_conf.Command[source]

Bases: django.core.management.base.BaseCommand

args = ''
handle(*args, **options)[source]
help = 'Create /build/horizon-0Cvhna/horizon-8.0.1/openstack_dashboard/wsgi/horizon.wsgi\nor the contents of an apache openstack_dashboard.conf file (on stdout).\nThe apache configuration is generated on stdout because the place of this\nfile is distribution dependent.\n\nexamples::\n\n manage.py make_web_conf --wsgi # creates /build/horizon-0Cvhna/horizon-8.0.1/openstack_dashboard/wsgi/horizon.wsgi\n manage.py make_web_conf --apache # creates an apache vhost conf file (on stdout).\n manage.py make_web_conf --apache --ssl --mail=webmaster@openstack.org --project=openstack_dashboard --hostname=openstack_dashboard\n\nTo create an acpache configuration file, redirect the output towards the\nlocation you desire, e.g.::\n\n manage.py make_web_conf --apache > /etc/httpd/conf.d/openstack_dashboard.conf\n\n '
option_list = (<Option at 0x2b7c64cbf3b0: -v/--verbosity>, <Option at 0x2b7c64cbf4d0: --settings>, <Option at 0x2b7c64cbf518: --pythonpath>, <Option at 0x2b7c64cbf560: --traceback>, <Option at 0x2b7c64cbf5f0: --no-color>, <Option at 0x2b7c72475b00: -a/--apache>, <Option at 0x2b7c724ae7e8: --cacert>, <Option at 0x2b7c724935f0: -f/--force>, <Option at 0x2b7c724935a8: -H/--hostname>, <Option at 0x2b7c72493ab8: --logdir>, <Option at 0x2b7c72493518: -m/--mail>, <Option at 0x2b7c72493638: -n/--namedhost>, <Option at 0x2b7c72493560: -p/--project>, <Option at 0x2b7c724936c8: -s/--ssl>, <Option at 0x2b7c72493680: --sslcert>, <Option at 0x2b7c72493710: --sslkey>, <Option at 0x2b7c724937a0: --apache-version>, <Option at 0x2b7c72493758: -w/--wsgi>)
openstack_dashboard.management.commands.make_web_conf.find_apache_log_dir()[source]