The openstack_dashboard.management.commands.make_web_conf
ModuleΒΆ
-
class
openstack_dashboard.management.commands.make_web_conf.
Command
(stdout=None, stderr=None, no_color=False)[source] Bases:
django.core.management.base.BaseCommand
-
args
= ''
-
handle
(*args, **options)
-
help
= 'Create /usr/src/RPM/BUILD/python-module-django-horizon-9.1.0/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 /usr/src/RPM/BUILD/python-module-django-horizon-9.1.0/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@localdomain --project=openstack_dashboard --hostname=openstack_dashboard.localdomain\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 0xfabe5ec: -a/--apache>, <Option at 0xfabe20c: --cacert>, <Option at 0xfabed8c: -f/--force>, <Option at 0x1006af4c: -H/--hostname>, <Option at 0x1006aaac: --logdir>, <Option at 0x1006ab0c: -m/--mail>, <Option at 0x1006abec: -n/--namedhost>, <Option at 0x1006a96c: -p/--project>, <Option at 0x1006a78c: -s/--ssl>, <Option at 0x1006acac: --sslcert>, <Option at 0x1006aecc: --sslkey>, <Option at 0x1006af2c: --apache-version>, <Option at 0x1006a70c: -w/--wsgi>)
-
-
openstack_dashboard.management.commands.make_web_conf.
find_apache_log_dir
()[source]