PHP URL pseudo-static (apache mod_rewrite module pseudo-static)

WBOY
Release: 2016-07-25 08:51:50
Original
1065 people have browsed it
  1. ServerAdmin webmaster@dummy-host2.example.com
  2. DocumentRoot "d:/wamp/www/dz"
  3. ServerName localhost.www.xingzuo51.com
  4. ErrorLog "logs/dummy -host2.example.com-error.log"
  5. CustomLog "logs/dummy-host2.example.com-access.log" common
Copy the code

4. In the path C:WindowsSystem32driversetc Configure it in the hosts file under 127.0.0.1 localhost.www.xingzuo51.com Just restart the service.

Note: Enter localhost.www.xingzuo51.com in the browser to access it. Add localhost to distinguish it from the official website address.



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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!