当前位置:网站首页>FastAdmin Apache下设置伪静态
FastAdmin Apache下设置伪静态
2022-06-26 05:04:00 【你好骚啊】
FastAdmin 永远滴神,真不愧是快速的后台。
1.项目安装好了之后,打开apache的伪静态

2.讲规矩添加进去

3.代码段
<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
</IfModule>

4.如果不设置伪静态的话,就需要在路由里面添加 index.php
http://test.fastadmin.com/index.php/index/user/login.html
添加伪静态之后,路由重写,就会隐藏 index.php
http://test.fastadmin.com/index/user/login.html

边栏推荐
- LeetCode 19. 删除链表的倒数第 N 个结点
- Stm8 MCU ADC sampling function is triggered by timer
- Anti withdrawal test record
- pycharm 导包错误没有警告
- ROS notes (07) - Implementation of client and server
- Day4 branch and loop jobs
- [IDE(ImageBed)]Picgo+Typora+aliyunOSS部署博客图床(2022.6)
- ModuleNotFoundError: No module named ‘numpy‘
- YOLOV5训练结果的解释
- Multipass Chinese document - setup driver
猜你喜欢
![[unity3d] human computer interaction input](/img/4d/47f6d40bb82400fe9c6d624c8892f7.png)
[unity3d] human computer interaction input

6.1 - 6.2 公鑰密碼學簡介

Multipass Chinese document - setup driver

NVM installation and use and NPM package installation failure record

2.< tag-动态规划和常规问题>lt.343. 整数拆分

Differences between TCP and UDP

How can the intelligent transformation path of manufacturing enterprises be broken due to talent shortage and high cost?

Happy New Year!

Second day of deep learning and tensorfow

Pycharm package import error without warning
随机推荐
2.22.2.14
Machine learning final exercises
Some parameter settings and feature graph visualization of yolov5-6.0
Stm8 MCU ADC sampling function is triggered by timer
PHP one sentence Trojan horse
Multipass Chinese document - use packer to package multipass image
Créateur de génie: cavalier solitaire, magnat de la technologie et ai | dix ans d'apprentissage profond
Codeforces Round #800 (Div. 2)
date_ Range creation date range freq parameter value table and creation example
Anti withdrawal test record
Nabicat connection: local MySQL & cloud service MySQL and error reporting
Statsmodels Library -- linear regression model
Use fill and fill in Matplotlib_ Between fill the blank area between functions
dijkstra
钟珊珊:被爆锤后的工程师会起飞|OneFlow U
Zuul 實現動態路由
UWB超高精度定位系统原理图
Zuul implements dynamic routing
Multipass Chinese document - remote use of multipass
22.2.8