看板 Ruby 關於我們 聯絡資訊
server網路目前是用學網的固定IP apache httpd.conf <VirtualHost *:80> ServerName fongse.no-ip.org DocumentRoot /home/peca/web/fongse/public RailsEnv development <Directory "/home/peca/web/fongse/public"> Options FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> RailsBaseURI / </VirtualHost> 程式碼我不確定你要哪些 model : file_column :p_image controller: def new @product = Product.new @classify= Classify.find(:all) end def create @product = Product.new(params[:product]) if @product.save redirect_to :action => 'index' else redirect_to :action => 'index' end end error.log [2939:StandardApplicationPool.h:249] Cleaning idle app /home/peca/web/fongse (PID 3287) [2939:Application.h:274] Application 0x8362840: destroyed. [2947:Hooks.cpp:400] Processing HTTP request: /messages [2939:Application.h:264] Application 0x8362e80: created. [3243:Hooks.cpp:400] Processing HTTP request: /messages/new [3087:Hooks.cpp:400] Processing HTTP request: /messages/create -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.134.206.211 ※ 編輯: fongse 來自: 220.134.206.211 (07/05 16:16)
godfat:如果 log 上什麼都沒寫,要檢查網路,學網可能有限制之類的 07/05 16:22
fongse:access log是空的,error.log 還在看... 07/05 16:31
fongse:如果只是學網問題就比較好解決了,再過不久就要換ADSL的線了 07/05 16:32
fongse:不過之前也有人在學校掛RoR,上傳也挺正常的... 07/05 16:32
※ 編輯: fongse 來自: 220.134.206.211 (07/05 16:37)
godfat:這看起來比較像 access log... 換 mongrel 呢?log 說啥? 07/05 16:41
godfat:如果再沒什麼的話,檢查 ruby 是不是沒灌好? 07/05 16:42