在apache2上的localhost中创建域
Apache-Local-Domain的Python项目详细描述
## Apache Local Domain
Create Local Domain for Apache Web Service
#### Description
Create own Domain on Your Local System
#### Installation
##### Debian Base Distros (Debian,Ubuntu,...)
python3 -m pip install -U Apache-Local-Domain
##### Other Distros (Arch , Fedora , ...)
$ git clonehttps://gitlab.com/toys projects/apache local domain.git
$cd apache local domain
$python3 setup.py--帮助自定义配置
…
用于“自定义配置”命令的选项:
--调试模式(-d)调试模式[false]
--apache模块路径(-m)apache模块路径
[/etc/apache2/mods enabled/]
--hosts(-h)hosts file[/etc/hosts]
--虚拟主机可用路径(-a)虚拟主机可用路径
[/etc/apache2/sites available/]
--虚拟主机启用路径(-v)virtualhosts enabled path
[/etc/apache2/sites enabled/]
--扩展(-e)virtualhosts extension[.conf]
…
/etc/httpd/modules/\
-a/etc/httpd/vhosts available/\
-v/etc/httpd/vhosts enabled/\
-e.dom
BR/>< $BUTHON3.Stupp.Py安装< 1 BR/> $ApHeld-帮助ApBR/>用法:ApHeld[选项]命令[BR/>< BR/>选项:帮助显示此消息并退出。
BR/>命令:PHP初始化PHP模板< BR/> WSGI初始化WSGI模板
BR/>运行:<$apacheld wsgi--help
用法:apacheld wsgi[options]
initialize wsgi template
options:
-d,--创建此域的域文本(服务器名),
示例:example.com[必需]
-r,--网站的根文本documentroot(documentroot)
,示例:/srv/http/mywebsite/[必需]
-w,--wsgiscript text wsgiscriptalias网站的wsgiscriptalias
(wsgiscriptalias),示例:
/srv/http/mywebsite/wsgi.py[必需]
-v,--virtualenv folder name text
virtualenv folder name in project path
(默认值:.venv)[必需]
-e,--电子邮件文本您的电子邮件(serveradmin),示例:
example@example.com
--http2 enable http2 protocol
--enable static enable using static files
-s,--static folder name文本项目路径中的static folder name(默认值:
静态)[所需的] < < > > -帮助显示此消息并退出。使用的用法为3,--域文本此域已创建(服务器名),示例:
example.com[必需]
-r,--网站的根文本文档根(文档根),示例:
/srv/http/mywebsite/[必需]
-e,--电子邮件文本您的电子邮件(服务器管理员),例:示例@示例.COM< BR/>——HTTP2启用HTTP2协议
帮助显示此消息并退出。
BR/>注释> BR/> *使用此程序您应该使用“sudo”来运行它
Create Local Domain for Apache Web Service
#### Description
Create own Domain on Your Local System
#### Installation
##### Debian Base Distros (Debian,Ubuntu,...)
python3 -m pip install -U Apache-Local-Domain
##### Other Distros (Arch , Fedora , ...)
$ git clonehttps://gitlab.com/toys projects/apache local domain.git
$cd apache local domain
$python3 setup.py--帮助自定义配置
…
用于“自定义配置”命令的选项:
--调试模式(-d)调试模式[false]
--apache模块路径(-m)apache模块路径
[/etc/apache2/mods enabled/]
--hosts(-h)hosts file[/etc/hosts]
--虚拟主机可用路径(-a)虚拟主机可用路径
[/etc/apache2/sites available/]
--虚拟主机启用路径(-v)virtualhosts enabled path
[/etc/apache2/sites enabled/]
--扩展(-e)virtualhosts extension[.conf]
…
/etc/httpd/modules/\
-a/etc/httpd/vhosts available/\
-v/etc/httpd/vhosts enabled/\
-e.dom
BR/>< $BUTHON3.Stupp.Py安装< 1 BR/> $ApHeld-帮助ApBR/>用法:ApHeld[选项]命令[BR/>< BR/>选项:帮助显示此消息并退出。
BR/>命令:PHP初始化PHP模板< BR/> WSGI初始化WSGI模板
BR/>运行:<$apacheld wsgi--help
用法:apacheld wsgi[options]
initialize wsgi template
options:
-d,--创建此域的域文本(服务器名),
示例:example.com[必需]
-r,--网站的根文本documentroot(documentroot)
,示例:/srv/http/mywebsite/[必需]
-w,--wsgiscript text wsgiscriptalias网站的wsgiscriptalias
(wsgiscriptalias),示例:
/srv/http/mywebsite/wsgi.py[必需]
-v,--virtualenv folder name text
virtualenv folder name in project path
(默认值:.venv)[必需]
-e,--电子邮件文本您的电子邮件(serveradmin),示例:
example@example.com
--http2 enable http2 protocol
--enable static enable using static files
-s,--static folder name文本项目路径中的static folder name(默认值:
静态)[所需的] < < > > -帮助显示此消息并退出。使用的用法为3,--域文本此域已创建(服务器名),示例:
example.com[必需]
-r,--网站的根文本文档根(文档根),示例:
/srv/http/mywebsite/[必需]
-e,--电子邮件文本您的电子邮件(服务器管理员),例:示例@示例.COM< BR/>——HTTP2启用HTTP2协议
帮助显示此消息并退出。
BR/>注释> BR/> *使用此程序您应该使用“sudo”来运行它