Apache : How to Use Rewrite Engine Inside Alias

前端 未结 1 1156
花落未央
花落未央 2021-01-14 02:29

I have this alias configuration:

Alias /test/ \"D:/WWW/Test/\"

    Order allow,deny
    Allow from all

         


        
1条回答
  •  爱一瞬间的悲伤
    2021-01-14 02:59

    You need three things:

    1. Inside , allow .htaccess files with AllowOverride All.
    2. Give the required permissions of mod_rewrite with Options FollowSymLinks.
    3. Inside the .htaccess, include RewriteBase /test/.

    0 讨论(0)
提交回复
热议问题