Monster Oasis

Sky / Ocean / Tree

  • Home
  • About my …
    • SCHEDULE
    • Records
    • Dimensions
    • 1_SWIM
    • 2_BIKE
    • 3_RUN
  • KML2CSV – Convert your KML to CSV (excel)
  • Bookmarks
  • Wish list!
  • Monster Oasis iPhone APP gallery
« check email 存不存在
test »

設定 .htaccess 讓 網址比較短

2008/07/18, 9:49 pm

CodeIgniter – Open source PHP web application framework

設定 .htaccess 讓 網址比較短

codeigniter 網頁提到
http://codeigniter.com/user_guide/general/urls.html

可以把www.your-site.com/index.php/news/article/my_article
變成
www.your-site.com/news/article/my_article

步驟:
改 apache 的 virtual host file
Options FollowSymLinks
在 /xxx/username/ci/ 下建 .htaccess
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond $1 !^(index.php|images|robots.txt)
RewriteRule ^(.*)$ /rimmon/ci/index.php/$1 [L]
</IfModule>

Share on FacebookShare on Facebook

Tags: codeigniter
Category: Programming/php

Comments are closed.

Related URL:
  1. CodeIgniter MVC CRUD + memcache = Secret Message http://msg.monster.com.tw
  2. 用 pecl inclued 產生關聯圖
  3. oci / compile php with oracle instant client
  4. codeigniter / ci / oracle database.php 的設定方式 / utf8 / big5 粉難搞
  5. another high performance PHP framework – Yii
  6. codeigniter CRUD sample
  7. Protected: 一些 codeigniter 的 link
  8. codeigniter 已經很方便了 , 還有 based on 它的 “套件”
  9. 這段 code 可以抓出 php / codeigniter 定義過的 class
  10. Codeigniter 聯接 Oracle database 要改的地方
  •  

    February 2012
    S M T W T F S
    « Jan    
     1234
    567891011
    12131415161718
    19202122232425
    26272829  
  • 下一場比賽倒數中...

    • 台南馬212:
      in 0 weeks, 6 days
    • kswiss10K,219:
      in 1 week, 6 days
    • 金門馬226:
      in 2 weeks, 6 days
    • 金石馬304:
      in 3 weeks, 6 days
    • 國道馬318:
      in 5 weeks, 6 days
    • 恆春長泳429:
      in 11 weeks, 6 days
    • 烏石港長泳610:
      in 17 weeks, 6 days
  • 網頁

    • About my …
      • 1_SWIM
      • 2_BIKE
      • 3_RUN
      • Dimensions
      • Records
      • SCHEDULE
    • Bookmarks
    • KML2CSV – Convert your KML to CSV (excel)
    • Monster Oasis iPhone APP gallery
    • Wish list!
  • Blogroll

    • ** Marathon Guide
    • 00 ★ 報名檀香山馬拉松(1209)
    • 00 ★ 報名黃金海岸馬拉松(0701)
    • 01 全國賽會
    • 10 RUN – 路跑協會
    • 10 SWIM – 成人游泳協會
    • Dyn DNS
    • Friend – jie新聞台
    • Garmin connect – jiechau
    • Garmin connect – my
    • Google
    • Google Bookmarks
    • iTune Connect
    • MY DOWNLOAD CENTER!!
    • My job – iThome
    • My job – PChome
    • My job – Rakuya
    • My job – Ruten
    • outstanding online-player
    • ★Amazon AWS console
    • ★Runkeeper
    • ★★Secret Message Service
    • ♡ Doc
    • ♡ Start
    • ♡ 協作平台
    • ♡ 行事曆
    • ♡ 電子郵件
    • 四季早泳會
    • 氣象報告
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
  • 最新文章

    • [北橫路跑] stage 3, 榮華大壩 to 巴陵大橋 來回24K
    • 2012 GOLD COAST AIRPORT MARATHON / 2012澳洲黃金海岸馬拉松 / GCMarathon / Surfers Paradise / Broadbeach / Brisbane / Queensland / ASICS
    • youtube / music / video / mv collect
    • 福隆/東北角/繞一圈路跑 19K
    • [北橫路跑] stage 6, 四季國小(梵梵溫泉) to 三星 18K
    • 新店捷運站 to 烏來路跑 15K, 新烏路 , 台9甲
    • [北橫路跑] stage 2, run 22.5K, 羅馬公路到榮華大壩來回
    • [北橫路跑] stage 1, run 22K, 三民到羅馬公路來回
    • [Plan] 北橫路跑
    • 2011 Goodbye ~
  • Tags

    8044 apache bike C codeigniter DATABASE dba gentoo google iphone ironman lamp linux marathon memcache monster mysql open water swim oracle paris pchome php Programming/php record run ruten sqlrelay ssh swim tokyo triathlon tunning ubuntu vmware vpn wordpress world marathon 北橫路跑 游泳 福隆 跑步 路跑 運動 鐵人三項 馬拉松
www.monster.com.tw , © Copyright 2011