apache pseudo-static configuration and iis pseudo-static configuration of the difference between the analysis and comparison

Source: Internet
Author: User
Tags analysis apache asp configuration development difference different example

apache pseudo-static configuration and iis pseudo-static configuration of the difference between the analysis and comparison
/ *
In web development, we often touch php tutorials, asp tutorial files into htm or other files, let's talk about the pseudo-static rules apache and iis pseudo-static rules of some different parts. Let's take a look at apache pseudo-static configuration method.

Examples, we have to put
pl.php tutorial? id = 1
page.php? id = 1
Pseudo-static into HTML pages
d-1.html
v-1.html

<virtualhost 192.168.0.110:801>
serveradmin qq@sina.com
documentroot d: /www/www.jzread.com/
servername 192.168.0.110
rewriteengine on // This sentence must be open
rewriterule /jzread.com/d-(d+).html$ /v/pl.php?id=$1
rewriterule /jzread.com/v-(d+).html$ /v/page.php?id=$1

</ virtualhost>
After the above treatment ok.
So how do we deal with it in iis?

rewriterule /jzread.com/v-(d+).html$ /v/page.php?id=$1 [n, i]
rewriterule /jzread.com/d-(d+).html$ /v/pl.php?id=$1 [n, i]

ok write the same way.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.