AddHandler application/x-httpd-php54 .php
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_URI} ^/sermons/(.+)/*\.(mp3|pdf)$ [NC]
RewriteRule ^(.*)$ - [L]
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
我需要做的是使用以下网址为php页面提供服务:
http://ourchurch.org/sermons/sermon-name/当我去的时候:
http://ourchurch.org/sermons/它应该提供一份布道清单。问题是我有一个名为&#34;讲道&#34;的实际目录。有类似的布道的mp3和pdf文件:
http://ourchurch.org/preacher1/sermon.mp3
从我上面的内容 - 我错过了什么?