重写子域的URL [英] Rewrite URL for subdomain
问题描述
您好,bodybody
我已经在有关subdomain这样的子域的URL上发布了很多文章,
但是我已经在localhost上尝试过了,它工作正常,我不知道何时将代码推送到主机上,这是行不通的.
我用过
< section name ="urlrewritingnet"
requirePermission ="false"
type ="UrlRewritingNet.Configuration.UrlRewriteSect离子,
UrlRewritingNet.UrlRewriter"/>
也是我在domain.com上推送的相同代码,它工作正常,我不是很满意
知道了.如果您有任何理想,请告诉我我的问题
谢谢&最好的问候
Phuc Hoang
Hello verybody
I have extremely issued on URL for subdomain like this subdomain.domain.com
but i have tried it on localhost it work fine and i do not know when i push the code on the host it does not work.
I have used the
<section name="urlrewritingnet"
requirePermission="false"
type="UrlRewritingNet.Configuration.UrlRewriteSect ion,
UrlRewritingNet.UrlRewriter" />
Also the same code i push it on domain.com, it work fine I do not realy
know about it.Please let me know if you have any ideal my problem
Thanks & Best regards
Phuc Hoang
推荐答案
您的潜在问题是您的主机可能不允许您运行代码来执行此操作.
your potential issue is that your host may not allow you to run code to do this.
这篇关于重写子域的URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!