歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 29, 2024, 05:00:15 上午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  支援  |  使用與操作  |  求助 ~!關于資源中心的圖片無法顯示的問題 « 上篇主題 下篇主題 »
頁: [1]
作者 主題: 求助 ~!關于資源中心的圖片無法顯示的問題  (閱讀 15507 次)
monamour
新手見習
*
文章: 16


檢視個人資料
« 於: 八月 22, 2006, 10:39:23 下午 »

在上傳得資源裏不能正確顯示
比如上傳得照片 http://blog.sino.fr//blogger.php?op=ViewResource&blogId=1&resource=6-power.jpg
但是可以通過直接網址
http://blog.sino.fr/gallery/1/1-6.jpg
查看

我的安裝文件在sino/blog/下
我不知道該怎麽設置

我已經試過很多方法了
都不行~~!!!

大家幫幫忙拉
謝謝了

我的.taccess
http://blog.sino.fr

引用
<Files .htaccess>
deny from all
</Files>

<Files config.properties.php>
deny from all
</Files>

Options -Indexes
Options +FollowSymLinks

<IfModule mod_rewrite.c>

RewriteEngine On
RewriteBase /

# Permalink to the blog entry (i.e. /1_userfoo/archive/3_title-foo-bar.html)
RewriteRule ^([0-9]+)_[^/]+/archive/([0-9]+)_[^.]+\.html$ index.php?op=ViewArticle&blogId=$1&articleId=$2 [L,NC]

# Monthly archive (i.e. /1_userfoo/archive/200401.html)
RewriteRule ^([0-9]+)_[^/]+/archive/([0-9]{6})\.html$ index.php?blogId=$1&Date=$2 [L,NC]
# -- same as above but with paging included
RewriteRule ^([0-9]+)_[^/]+/archive/([0-9]{6})\.html\.page\.([1-9]+)$ index.php?blogId=$1&Date=$2&page=$3 [L,NC]

# Daily archive (i.e. /1_blogfoo/archive/20040101.html)
RewriteRule ^([0-9]+)_[^/]+/archive/([0-9]{8})\.html$ index.php?blogId=$1&Date=$2 [L,NC]
# -- same as above but with paging included
RewriteRule ^([0-9]+)_[^/]+/archive/([0-9]{8})\.html\.page\.([1-9]+)$ index.php?blogId=$1&Date=$2&page=$3 [L,NC]

# Album (i.e. /88_userfoo/albums/34_title-foo-bar.html)
RewriteRule ^([0-9]+)_[^/]+/albums/([0-9]+)_[^.]+\.html$ index.php?op=ViewAlbum&blogId=$1&albumId=$2 [L,NC]
# -- same as above but with paging included
RewriteRule ^([0-9]+)_[^/]+/albums/([0-9]+)_[^.]+\.html\.page\.([1-9]+)$ index.php?op=ViewAlbum&blogId=$1&albumId=$2&page=$3 [L,NC]

# Albums (i.e. /88_userfoo/albums/)
RewriteRule ^([0-9]+)_[^/]+/albums/$ index.php?op=ViewAlbum&blogId=$1&albumId=0 [L,NC]

# Category view (i.e. /88_userfoo/categories/4_cat-foobar.html)
RewriteRule ^([0-9]+)_[^/]+/categories/([0-9]+)_[^.]+\.html$ index.php?blogId=$1&postCategoryId=$2 [L,NC]
# -- same as above but with paging included
RewriteRule ^([0-9]+)_[^/]+/categories/([0-9]+)_[^.]+\.html\.page\.([1-9]+)$ index.php?blogId=$1&postCategoryId=$2&page=$3 [L,NC]

# Category-Feeds (i.e. /3_userfoo/feeds/categories/2_category/atom)
RewriteRule ^([0-9]+)_[^/]+/feeds/categories/([0-9]+)_[^.]+/(.*)$ rss.php?blogId=$1&categoryId=$2&profile=$3 [L,NC]

# Feeds (i.e. /3_userfoo/feeds/atom)
RewriteRule ^([0-9]+)_[^/]+/feeds/(.*)$ rss.php?blogId=$1&profile=$2 [L,NC]

# Trackbacks (i.e. /3_userfoo/trackbacks/34_title-foo-bar.html)
RewriteRule ^([0-9]+)_[^/]+/trackbacks/([0-9]+)_[^.]+\.html$ index.php?op=Trackbacks&blogId=$1&articleId=$2 [L,NC]

# Comment form (i.e. /88_userfoo/comment/34_title-foo-bar.html)
RewriteRule ^([0-9]+)_[^/]+/comment/([0-9]+)_[^.]+\.html$ index.php?op=Comment&blogId=$1&articleId=$2 [L,NC]

# Resources (i.e. /88_userfoo/resources/this-is-a-resource-name.pdf.html)
RewriteRule ^([0-9]+)_[^/]+/resources/([^.]+)\.([^.]+)\.html$ index.php?op=ViewResource&blogId=$1&resource=$2.$3 [L,NC]

# Download a resource (i.e. /88_userfoo/get/this-is-a-resource-name.pdf)
RewriteRule ^([0-9]+)_[^/]+/get/(.+)$ resserver.php?blogId=$1&resource=$2 [L,NC]

# A non-default blog (i.e. /88_userfoo)
RewriteRule ^([0-9]+)(_[^/]+)?$ index.php?blogId=$1 [L,NC]
# -- same as above but with paging included
RewriteRule ^([0-9]+)(_[^/]+)\.page\.([1-9]+)$ index.php?blogId=$1&page=$3 [L,NC]

# Static Pages (i.e /3_userfoo/demosites)
RewriteRule ^([0-9]+)_[^/]+/(.+)$ index.php?op=Template&blogId=$1&show=$2 [NC]

</IfModule>



<Files post>
 ForceType application/x-httpd-php
</Files>

<Files archives>
 ForceType application/x-httpd-php
</Files>

<Files static>
 ForceType application/x-httpd-php
</Files>

<Files rss>
 ForceType application/x-httpd-php
</Files>

<Files category>
 ForceType application/x-httpd-php
</Files>

<Files trackbacks>
 ForceType application/x-httpd-php
</Files>

<Files comment>
 ForceType application/x-httpd-php
</Files>

<Files resource>
 ForceType application/x-httpd-php
</Files>

<Files get>
 ForceType application/x-httpd-php
</Files>

<Files album>
 ForceType application/x-httpd-php
</Files>

<Files blog>
 ForceType application/x-httpd-php
</Files>

<Files user>
 ForceType application/x-httpd-php
</Files>

<Files page>
 ForceType application/x-httpd-php
</Files>

ErrorDocument 401 /error.php
ErrorDocument 403 /error.php
ErrorDocument 404 /error.php
已記錄

os: linux
Scripting  PHP3, PHP4, PHP5, Perl, Python, SSI 
apche  不知道
CrazyLion
初級會員
**
文章: 53



檢視個人資料 個人網站
« 回覆文章 #1 於: 八月 22, 2006, 11:07:57 下午 »

跟我上次一樣...orz 可是我的好像隔天不知道為什麼就好了...@@

請見其他人的歷程
http://forum.lifetype.org.tw/index.php?topic=2307

或許對你有幫助:P
已記錄
monamour
新手見習
*
文章: 16


檢視個人資料
« 回覆文章 #2 於: 八月 23, 2006, 11:47:01 上午 »

我已經試過了

我禁止掉資源中心
別人就不能上傳圖片了

網址我也來來回回改了N次

但是還是資源中心的圖片還是不能用

謝謝樓上的
已記錄

os: linux
Scripting  PHP3, PHP4, PHP5, Perl, Python, SSI 
apche  不知道
monamour
新手見習
*
文章: 16


檢視個人資料
« 回覆文章 #3 於: 八月 27, 2006, 04:02:00 下午 »

没有人能帮帮忙么 目瞪口呆
已記錄

os: linux
Scripting  PHP3, PHP4, PHP5, Perl, Python, SSI 
apche  不知道
wangyu1314
新手見習
*
文章: 24


檢視個人資料 個人網站
« 回覆文章 #4 於: 八月 27, 2006, 05:48:03 下午 »

这个可能和你的url rewrite设置有关。
已記錄

中文印刷社区,打造 大中华地区最专业的印刷技术社区。
http://www.cnprint.org/bbs/
monamour
新手見習
*
文章: 16


檢視個人資料
« 回覆文章 #5 於: 八月 28, 2006, 02:45:43 上午 »

这个可能和你的url rewrite设置有关。

那应该怎么设置呢
我每种方式都试过了阿
已記錄

os: linux
Scripting  PHP3, PHP4, PHP5, Perl, Python, SSI 
apche  不知道
wangyu1314
新手見習
*
文章: 24


檢視個人資料 個人網站
« 回覆文章 #6 於: 八月 28, 2006, 10:59:47 上午 »

我直接用的系统带的自定义规则,只是将blogname等所有其他包含有"name"的变量都改成了"id",至今运行得好好。
已記錄

中文印刷社区,打造 大中华地区最专业的印刷技术社区。
http://www.cnprint.org/bbs/
yixin
新手見習
*
文章: 6


檢視個人資料
« 回覆文章 #7 於: 八月 30, 2006, 03:56:39 下午 »

請問您的網址設定是使用哪一種方式?
如果使用「自訂網址」,
那請在{albuname}的部份改成{albumid},
因為使用中文資料夾會有問題,改成albumid就不會有中文資料夾的問題。
試試看是否對您有幫助。
已記錄
monamour
新手見習
*
文章: 16


檢視個人資料
« 回覆文章 #8 於: 八月 31, 2006, 06:18:32 下午 »

請問您的網址設定是使用哪一種方式?
如果使用「自訂網址」,
那請在{albuname}的部份改成{albumid},
因為使用中文資料夾會有問題,改成albumid就不會有中文資料夾的問題。
試試看是否對您有幫助。

谢谢我试一下
已記錄

os: linux
Scripting  PHP3, PHP4, PHP5, Perl, Python, SSI 
apche  不知道
monamour
新手見習
*
文章: 16


檢視個人資料
« 回覆文章 #9 於: 八月 31, 2006, 06:31:08 下午 »

請問您的網址設定是使用哪一種方式?
如果使用「自訂網址」,
那請在{albuname}的部份改成{albumid},
因為使用中文資料夾會有問題,改成albumid就不會有中文資料夾的問題。
試試看是否對您有幫助。

我不能用自定义网址
自定义网址的话 都无法找到该页
我用的apache modrewirte
已記錄

os: linux
Scripting  PHP3, PHP4, PHP5, Perl, Python, SSI 
apche  不知道
頁: [1]
LifeType 中文開發論壇  |  支援  |  使用與操作  |  求助 ~!關于資源中心的圖片無法顯示的問題 « 上篇主題 下篇主題 »
    前往: