2013-03-13 63 views
0

我一直在努力讓FURLs在MODx中工作。以下資源詳細介紹了此主題 - http://rtfm.modx.com/display/revolution20/Using+Friendly+URLs。但是,一旦對.htaccess進行了更改,該站點就不再可用。這裏是我的.htaccess文件:MODx&.htaccess問題

# Friendly URLs Part 
RewriteEngine On 
RewriteBase/
RewriteCond %{HTTP_HOST} . 
# Force all pages to go to www.domain.com for SEO 
RewriteCond %{HTTP_HOST} !^www\.dev\.domain\.co\.uk [NC] 
RewriteRule (.*) http://www.dev.domain.co.uk/$1 [R=301,L] 
# Friendly URLs 
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] 
# Additional Settings Follow 
ExpiresActive On 
ExpiresByType image/gif A2592000 
ExpiresByType image/jpeg A2592000 
ExpiresByType image/png A2592000 
BrowserMatch "MSIE" brokenvary=1 
BrowserMatch "Mozilla/4.[0-9]{2}" brokenvary=1 
BrowserMatch "Opera" !brokenvary 
SetEnvIf brokenvary 1 force-no-vary 

任何想法可能是什麼問題?

+0

你是什麼意思「不再可用」?你是否收到服務器錯誤或MODx錯誤? – Gibbs 2013-03-14 12:22:48

回答