当前位置:网站首页>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 .
边栏推荐
- Understand the composition of building energy-saving system
- UE4 night lighting notes
- 【Unity3D】无法正确获取RectTransform的属性值导致计算出错
- UE5——AI追逐(藍圖、行為樹)
- 2837xd code generation module learning (2) -- ADC, epwm module, timer0
- How does {} prevent SQL injection? What is its underlying principle?
- [unity3d] cannot correctly obtain the attribute value of recttransform, resulting in calculation error
- 【Lua】常见知识点汇总(包含常见面试考点)
- Application of rxjs operator withlatestfrom in Spartacus UI of SAP e-commerce cloud
- Commutateur Multi - lentilles Blender
猜你喜欢

Remember the use of add method once

Blender模型导入ue、碰撞设置

Blender stone carving

Vscode set JSON file to format automatically after saving

pytest学习--base

It is the most difficult to teach AI to play iron fist frame by frame. Now arcade game lovers have something

Following nym, the new project Galaxy token announced by coinlist is gal

Blender volume fog

flink 提交程序

Commutateur Multi - lentilles Blender
随机推荐
Determine whether there are duplicate elements in the array
What is the relationship between realizing page watermarking and mutationobserver?
Unreal material editor foundation - how to connect a basic material
UE illusory engine programmed plant generator setup -- how to quickly generate large forests
【UE5】AI随机漫游蓝图两种实现方法(角色蓝图、行为树)
SAP Spartacus express checkout design
Blender多镜头(多机位)切换
Message mechanism -- getting to know messages and message queues for the first time
Project practice, redis cluster technology learning (6)
Leetcode -- the nearest common ancestor of 236 binary tree
Sum the two numbers to find the target value
Bookmark collection management software suspension reading and data migration between knowledge base and browser bookmarks
[visual studio] every time you open a script of unity3d, a new vs2017 will be automatically reopened
[illusory] weapon slot: pick up weapons
2021-09-12
Database -- acid of transaction -- introduction / explanation
How does {} prevent SQL injection? What is its underlying principle?
[unreal] animation notes of the scene
Blender多鏡頭(多機比特)切換
Blender stone carving