把osTube設定為簡潔網址 for Fedora9 Server

Fedora簡潔網址設定如下


1.編輯 osTube 目錄下的 .htaccess

# vi /var/www/html/ostube/.htaccess

#第33行

RewriteEngine on

RewriteBase /ostube #多增加這一行


2.編輯 httpd.conf


# vi /etc/httpd/conf/httpd.conf


增加以下的程式碼




< Directory "/var/www/html/ostube/" >
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
< / Directory >


3.重新啟動 httpd

# /etc/init.d/httpd restart

4.返回後台管理介面

點選 [組態設定]

把 [簡潔網址] 設成 [是]



以上文章參考 義方國小數位課程中心

osTube 簡潔網址的設定

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

沒有留言:

張貼留言