[問題] jQuery匯入問題

看板Ajax作者 (Carael Macchiato)時間12年前 (2012/02/24 15:48), 編輯推噓0(002)
留言2則, 2人參與, 最新討論串1/1
我現在在用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

02/24 17:10, , 1F
apache setting
02/24 17:10, 1F

02/24 20:53, , 2F
是幫<Directory "/myjsfolder"> 加 FollowSymLinks權限?
02/24 20:53, 2F
文章代碼(AID): #1FHq30_h (Ajax)