开发者

Non public links via htaccess Redirect

开发者 https://www.devze.com 2023-02-25 17:09 出处:网络
Is it possible to Redi开发者_Python百科rect using htaccess to a non public file? For example, instead of redirecting to \'latest_installer.zip\' in /downloads/installers I\'d like to Redirect to a fi

Is it possible to Redi开发者_Python百科rect using htaccess to a non public file?

For example, instead of redirecting to 'latest_installer.zip' in /downloads/installers I'd like to Redirect to a file outside of the public_html root folder.

Is this possible?


It is possible to do this with Apache using mod_alias:

http://httpd.apache.org/docs/current/mod/mod_alias.html

0

精彩评论

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