Not logged in. · Lost password · Register
Forum: General Help and Support Server Setup RSS
can not see images
Avatar
foozzi #1
Member since Sep 2011 · 30 posts
Group memberships: Members
Show profile · Link to this post
Subject: can not see images
I load the pictures, then try to insert them into the page but they do not appear
look:
[Image: http://img851.imageshack.us/img851/5931/83270874.png]

my config .htaccess:
RewriteEngine on
 
RewriteBase /
 
RewriteRule ^_media/(.*)              lib/exe/fetch.php?media=$1  [QSA,L]
RewriteRule ^_detail/(.*)             lib/exe/detail.php?media=$1  [QSA,L]
RewriteRule ^_export/([^/]+)/(.*)     doku.php?do=export_$1&id=$2  [QSA,L]
RewriteRule ^$                        doku.php  [L]
RewriteCond %{REQUEST_FILENAME}       !-f
RewriteCond %{REQUEST_FILENAME}       !-d
RewriteRule (.*)                      doku.php?id=$1  [QSA,L]

correct image http://knotux.ru/data/media/penguin-centos-logo.jpg
error 404 http://knotux.ru/_media/news/penguin-centos-logo.jpg
Avatar
Andreas (Moderator) #2
Member since Dec 2009 · 264 posts · Location: Karlsruhe, Germany
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
404 Not Found
nginx

.htaccess -> nginx!? I think you have to configure everything in nginx.conf.

edit: You should have a look at the following:
I'm so electronic I shit bits
Avatar
foozzi #3
Member since Sep 2011 · 30 posts
Group memberships: Members
Show profile · Link to this post
no i have apache + nginx .htaccess... config for nginx display error 500
This post was edited on 2011-12-21, 17:29 by foozzi.
Avatar
foozzi #4
Member since Sep 2011 · 30 posts
Group memberships: Members
Show profile · Link to this post
i select "userewrite dokuwiki"
and now my adress for image http://knotux.ru/lib/exe/fetch.php/wiki/dokuwiki-128.png
but i not can see image....
help plz

P.S my server use apache 2.2 + nginx
Avatar
lupo49 (Moderator) #5
Member since Jul 2009 · 1397 posts · Location: Warstein, Germany
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
Did you disabled the htaccess rules after selecting DokuWiki rewriting?
Avatar
foozzi #6
Member since Sep 2011 · 30 posts
Group memberships: Members
Show profile · Link to this post
yes of course

P.S Now put back .htaccess is not correct the error
Avatar
foozzi #7
Member since Sep 2011 · 30 posts
Group memberships: Members
Show profile · Link to this post
i look in page "popularity"
webserver    Apache/2.2.21 (CentOS)
but rewrite incorrect

help plz :(
Avatar
foozzi #8
Member since Sep 2011 · 30 posts
Group memberships: Members
Show profile · Link to this post
any body  :-(
Avatar
lupo49 (Moderator) #9
Member since Jul 2009 · 1397 posts · Location: Warstein, Germany
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
Hard to analyze it with the present information.

You could join the IRC channel to debug your issue.
Avatar
andi (Administrator) #10
Member since May 2006 · 2449 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
http://knotux.ru/lib/exe/fetch.…?media=wiki:dokuwiki-128… does not return any data. You enabled the x-sendfile option without having support for it in your webserver.
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
Avatar
arno #11
Member since Aug 2013 · 2 posts
Group memberships: Members
Show profile · Link to this post
I'm running nginx and I also had an issue with images not displaying, receiving 404 Not Found instead.

I have fixed it by removing following code from the nginx configuration

  location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
  {
    expires      30d;
  }


Quite strange behaviour... I wonder what's the real cause.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20120620-dev, © 2003-2011 by Yves Goergen
Current time: 2014-04-25, 08:21:04 (UTC +02:00)