我想使用以下URL访问此脚本: http://www.domain.com/content/download-file.zip?visitorid=abcd&visitorval= xyz p>
我启用了rewrite_module modules / mod_rewrite.so并且我在上面的“content”子目录中添加了一个“.htaccess”文件,但是无法写入 在.htaccess文件中使用以使上述重定向工作的规则。 p>
思考? p> div>
I've the following URL: http://www.domain.com/content/index.php?filename=download-file.zip&visitorid=abcd&visitorval=xyz
And I want to access this script using the URL as following: http://www.domain.com/content/download-file.zip?visitorid=abcd&visitorval=xyz
I've enabled rewrite_module modules/mod_rewrite.so and I've added an ".htaccess" file to the "content" subdirectory above, but couldn't write the rules to use at the .htaccess file to get the above redirect working.
Thoughts?
我想使用以下URL访问此脚本: http://www.domain.com/content/download-file.zip?visitorid=abcd&visitorval= xyz p>
我启用了rewrite_module modules / mod_rewrite.so并且我在上面的“content”子目录中添加了一个“.htaccess”文件,但是无法写入 在.htaccess文件中使用以使上述重定向工作的规则。 p>
思考? p> div>