0
我在微軟的環境下工作,但現在我把我的網站移到Ubuntu,問題是,當我嘗試寫這樣的鏈接時,127.0.0.1/asd ,我得到未找到錯誤,這讓我瘋狂的是,該URL有時工作有時不工作,這是在Windows環境下工作的偉大,這是我的錯誤,127.0.0.1/asd does not not working on Ubuntu environment
Not Found The requested URL /asd was not found on this server.
這是我的。 htaccess,
# compress text, html, javascript, css, xml:
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
# Or, compress certain file types by extension:
<files *.html>
SetOutputFilter DEFLATE
</files>
RewriteEngine On
RewriteRule ^([//a-zA-Z0-9_-]+)$ tab.php?tab_id=$1 [QSA,L]
是的,它已啓用,謝謝你的回答我會試試這個 – johna