当前位置:网站首页>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 .
边栏推荐
- Large neural networks may be beginning to realize: the chief scientist of openai leads to controversy, and everyone quarrels
- [unreal] animation notes of the scene
- Configuration programmée du générateur de plantes du moteur illusoire UE - - Comment générer rapidement une grande forêt
- VLAN experiment
- Project practice, redis cluster technology learning (11)
- Blender model import UE, collision settings
- It is the most difficult to teach AI to play iron fist frame by frame. Now arcade game lovers have something
- flink 提交程序
- Blender海洋制作
- What is the relationship between realizing page watermarking and mutationobserver?
猜你喜欢

UE illusory engine programmed plant generator setup -- how to quickly generate large forests

UE4 night lighting notes
![[unity3d] nested use layout group to make scroll view with dynamic sub object height](/img/b2/edab4ab48e1401934dcce7218df662.png)
[unity3d] nested use layout group to make scroll view with dynamic sub object height

ICLR 2022: how does AI recognize "things I haven't seen"?
![[MySQL] an exception occurs when connecting to MySQL: connection must be valid and open](/img/09/a75ce6742d787c640b8066e0e8e694.png)
[MySQL] an exception occurs when connecting to MySQL: connection must be valid and open

Basic usage of mock server

Message mechanism -- getting to know messages and message queues for the first time

2021-10-04

Pytest-- test report allure configuration

2837xd code generation module learning (2) -- ADC, epwm module, timer0
随机推荐
What wires are suitable for wiring on bread board?
MPLS experiment
Network real-time video streaming based on OpenCV
Project practice, redis cluster technology learning (11)
webUI自动化学习
Eslint reports an error
UE4 night lighting notes
pytest--之测试报告allure配置
Project practice, redis cluster technology learning (13)
Pytest-- test report allure configuration
Aiphacode is not a substitute for programmers, but a tool for developers
Network communication learning
【避坑指南】使用UGUI遇到的坑:Text组件无法首行缩进两格
2021-10-02
ue虚幻引擎程序化植物生成器设置——如何快速生成大片森林
lunix重新分配root 和 home 空间内存
[MySQL] an exception occurs when connecting to MySQL: connection must be valid and open
[illusory] automatic door blueprint notes
Blender海洋制作
Feature (5): how to organize information