开发者

Do AJAX requested URL's get processed by mod_rewrite?

开发者 https://www.devze.com 2023-03-03 05:12 出处:网络
Forgive me if this is a stupid question, but just to clarify things for me... When a URL is requested via an AJAX call does that URL go through the same rewrite process as any other browser request?

Forgive me if this is a stupid question, but just to clarify things for me...

When a URL is requested via an AJAX call does that URL go through the same rewrite process as any other browser request?

Because it makes sense to me that they开发者_开发问答 would be, what with mod_rewrite being a server side module and given that an AJAX request still originates from a client browser.


Yes. As a browser loading a page, an Ajax request causes an HTTP request, which causes the server to process the request as it would any other. mod_rewrite will act exactly the same.

0

精彩评论

暂无评论...
验证码 换一张
取 消