Home > Backend Development > PHP Tutorial > 着急!快快快!!!!

着急!快快快!!!!

WBOY
Release: 2016-06-23 14:14:13
Original
738 people have browsed it

http://127.0.0.1/bbs/abc.html

重写成

http://127.0.0.1/bbs/abc.php


或都

http://127.0.0.1/bbs/abc.php

重写成

http://127.0.0.1/bbs/abc.html


回复讨论(解决方案)

nginx下的 你试试行不 不行当没说
rewrite ^/bbs/([0-9a-z]+).html$ /bbs/$1.php last;

nginx下的 你试试行不 不行当没说
rewrite ^/bbs/([0-9a-z]+).html$ /bbs/$1.php last;

非常感谢你的帮助,问题解决了。40分全部你您,查一下。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template