【发布时间】:2020-10-16 17:11:00
【问题描述】:
你们怎么了。
我有一个问题,我想在一个目录下创建一组类似的 php 页面,然后客户端请求它。
这样:
countries/egypt.php
countries/algeria.php
countries/oman.php
and so on.
如果客户端请求https://example.com/egypt apache 服务器调用/var/www/html/countries/egypt.php
当客户端输入https://example.com/oman apache 服务器调用/var/www/html/countries/oman.php
等等。
我的问题在这里如何使用 htaccess 和 apache 服务器?
【问题讨论】: