当前位置:网站首页>Considerations for Apache deploying static web page projects
Considerations for Apache deploying static web page projects
2022-07-02 10:29:00 【Haohao Dangdang】
Apache Deploy and configure static web pages
Upload project files
I upload the local static web page project to /var/www/html Under the directory of .
modify DocumentRoot Information
stay /etc/httpd/conf/httpd.conf Find DocumentRoot And modify it to store static html The address of the web page .
find < IfModule alias_module > label
stay /etc/httpd/conf/httpd.conf Find the tag in and write the information of static resources into the tag .
Alias " Alias " " Path address for storing static resources "
At the end of the day
systemctl restart httpd
restart apache In this way, the service can be accessed normally with css js The static web page project deployed by Jingtai resources .
边栏推荐
- Applet development summary
- What is call / cc- What is call/cc?
- 01-spooldir
- Feature (5): how to organize information
- 2837xd code generation module learning (1) -- GPIO module
- UE5——AI追逐(蓝图、行为树)
- 【JetBrain Rider】构建项目出现异常:未找到导入的项目“D:\VisualStudio2017\IDE\MSBuild\15.0\Bin\Roslyn\Microsoft.CSh
- Spatial interpretation | comprehensive analysis of spatial structure of primary liver cancer
- [pit avoidance guide] pit encountered using ugui: the text component cannot indent the first line by two spaces
- Operator exercises
猜你喜欢
[Yu Yue education] University Physics (Electromagnetics) reference materials of Taizhou College of science and technology, Nanjing University of Technology
UE4 night lighting notes
2021-10-02
Blender摄像机环绕运动、动画渲染、视频合成
Allure -- common configuration items
【虚幻】按键开门蓝图笔记
ue虛幻引擎程序化植物生成器設置——如何快速生成大片森林
Delivery mode design of Spartacus UI of SAP e-commerce cloud
【虚幻】自动门蓝图笔记
[illusory] automatic door blueprint notes
随机推荐
2021-09-12
pytest框架实现前后置
VLAN experiment
Network communication learning
Sum the two numbers to find the target value
[illusory] automatic door blueprint notes
Centos7 one click compilation and installation of PHP script
Blender多镜头(多机位)切换
2021-10-04
判断数组中是否存在重复元素
Sil/pil test of matlab code generation
01安装虚拟机
Blender海洋制作
This monitoring system makes workers tremble: turnover intention and fishing can be monitored. After the dispute, the product page has 404
Blender ocean production
[unity3d] nested use layout group to make scroll view with dynamic sub object height
Determine whether there are duplicate elements in the array
Operator exercises
[pit avoidance guide] pit encountered by unity3d project when accessing Tencent bugly tool
【Visual Studio】每次打开一个Unity3D的脚本,都会自动重新打开一个新的VS2017