作者CxMacchi (Carael Macchiato)
看板Ajax
標題[問題] jQuery匯入問題
時間Fri Feb 24 15:48:12 2012
我現在在用python寫網頁的cgi程式
cgi的folder放在/var/www/cgi-bin裡
目前嘗試在產生出的HTML中匯入jquery
ex: <script src="../jquery-1.7.1.js" type="text/javascript"></script>
發現jquery-1.7.1.js沒辦法同樣放在/var/www/cgi-bin中呼叫
一定要放到上一層才能成功
有沒有任何先進知道為什麼會有這種狀況呢?
--
《Sometimes Love Just Ain't Enough》 Yan-zi
"But there's a danger in loving somebody too much.
And its sad when you know it's your heart you can't trust.
There's a reason why people don't stay where they are.
Baby sometimes love just ain't enough."
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 210.80.89.18
1F:→ alpe:apache setting 02/24 17:10
2F:→ CxMacchi:是幫<Directory "/myjsfolder"> 加 FollowSymLinks權限? 02/24 20:53