我正在为我的网站编写.htaccess文件。它包含30多个php文件,它们是课程的前端。
我尝试了下面的代码,但是无论何时您访问我的网站:www.conuplugs.com,由于某种原因,它都会重定向到COMP248
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ class/comp232.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/comp248.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/engr201.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/engr213.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/comp249.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/soen228.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/soen287.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/engr233.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/comp348.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/comp352.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/encs282.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/engr202.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/comp346.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/soen331.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/soen341.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/engr371.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/elec275.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/comp335.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/soen342.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/soen343.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/soen344.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/soen345.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/soen384.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/engr391.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/soen357.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/soen390.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/engr301.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/soen321.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/soen490.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/engr392.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/soen385.php?path=$1 [NC,L,QSA]
RewriteRule ^(.*)$ class/comp354.php?path=$1 [NC,L,QSA]
如前所述,它重定向到COMP248.php,我该如何解决?