Iplanet Web 服务器动态目录访问
Iplanet Web Server Dynamic Directory Access
您好,我是 Iplanet Web 服务器的新手。
如果访问 url 是 abc.co.sg/XYZ -> 将显示 abc.co.sg/XYZ/index.html
我可以在 obj.conf
中进行静态目录访问
<Object name="xxx" ppath="/abcd/card/apply">
NameTrans fn="rewrite"
root="/app/iplanetweb/docs/abcd/card/apply"
path="/index.html"
</Object>
我想要的是制作ppath="动态文件夹"
谢谢!
在obj.conf的默认对象中添加此规则后,可以重定向到索引页面。
谢谢
<If $uri =~ '^/([a-zA-Z0-9+-]+)$'>
NameTrans fn="redirect" url="$uri/index.html"
</If>
您好,我是 Iplanet Web 服务器的新手。
如果访问 url 是 abc.co.sg/XYZ -> 将显示 abc.co.sg/XYZ/index.html
我可以在 obj.conf
<Object name="xxx" ppath="/abcd/card/apply">
NameTrans fn="rewrite"
root="/app/iplanetweb/docs/abcd/card/apply"
path="/index.html"
</Object>
我想要的是制作ppath="动态文件夹"
谢谢!
在obj.conf的默认对象中添加此规则后,可以重定向到索引页面。 谢谢
<If $uri =~ '^/([a-zA-Z0-9+-]+)$'>
NameTrans fn="redirect" url="$uri/index.html"
</If>