Apache mod_rewrite是自动设置'Alias',还是在执行'RewriteBase'时显式指定它?
发件人: 这些线路是否:Apache mod_rewrite是自动设置'Alias',还是在执行'RewriteBase'时显式指定它?,apache,.htaccess,mod-rewrite,url-rewriting,apache2,Apache,.htaccess,Mod Rewrite,Url Rewriting,Apache2,发件人: 这些线路是否: # Remember: /abc/def is the physical path of /xyz, i.e., the server # has a 'Alias /xyz /abc/def' directive e.g. # 是否意味着mod_rewrite根据.htaccess文件自动设置Alias/xyz/abc/def',或者在conf文件中显式指定它?它不会自动设置:您需要在服务器配置中显式定义它,而
# Remember: /abc/def is the physical path of /xyz, i.e., the server
# has a 'Alias /xyz /abc/def' directive e.g. #
是否意味着mod_rewrite根据.htaccess文件自动设置Alias/xyz/abc/def'
,或者在conf文件中显式指定它?它不会自动设置:您需要在服务器配置中显式定义它,而不是.htaccess
# Remember: /abc/def is the physical path of /xyz, i.e., the server
# has a 'Alias /xyz /abc/def' directive e.g. #