我需要帮助将此.htaccess代码转换为web.config文件。我尝试了一些在线转换器,但他们没有工作。有没有办法在Windows Azure服务器上使用.htaccess? - 如果没有,有人可以帮助将代码翻译成web.config
Options -Indexes
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?url=$1 [PT,L]
</IfModule>
答案 0 :(得分:0)
.htaccess文件。 Azure网站在Microsoft IIS上运行。
尝试查看http://blog.syntaxc4.net/post/2012/07/19/getting-started-with-php-on-windows-azure-web-sites.aspx,这将有助于您正确转换它。