View previous topic :: View next topic |
Author |
Message |
zorek -
Joined: 28 Oct 2003 Posts: 4
|
Posted: Tue Oct 28, 2003 11:23 pm Post subject: Images can't be showed! |
|
|
I installed Linux some time ago and now im trying to get my server up and running again. In Win XP i used Abyss too and hosted the exact same site and used Netscape there too. I installed it in Linux and it can show text, css, php and different colors and so on, but my images just don't work... Nither png, jpeg, gif nor bmp can be showed. My MIME for images is correct... What is wrong?
Using:
Abyss web server X1 for Linux
Red hat Linux 9.0 (with KDE 3.1)
Netscape 7.1 for Linux |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Oct 29, 2003 1:00 am Post subject: Re: Images can't be showed! |
|
|
What do you mean exactly by "don't work"? When you browse the URL of an image what do you get? _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
zorek -
Joined: 28 Oct 2003 Posts: 4
|
Posted: Wed Oct 29, 2003 3:00 pm Post subject: Re: Images can't be showed! |
|
|
If i go to a page with a image on the browser acts like the path to the pic is wrong. If i go directly to a to a imagefile I get " 500 internal server error". |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Oct 29, 2003 5:36 pm Post subject: Re: Images can't be showed! |
|
|
zorek,
These files have the executable bit set wrongly. That's why the server tries to run them as CGI application but fails and reports error 500.
You must open the command line and go to the directory (using the cd command) where these files are located and execute:
Read http://www.aprelium.com/forum/viewtopic.php?t=1395 for a similar topic. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
zorek -
Joined: 28 Oct 2003 Posts: 4
|
Posted: Fri Oct 31, 2003 2:39 pm Post subject: Re: Images can't be showed! |
|
|
thank you that really helped!
The only things wrong now is that I already got a quite big site with pics everywhare, and this only works in one folder, so if I am going to do this in all my folders it's going to take several hours...
is there any command to change all files of the same type? |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Oct 31, 2003 5:10 pm Post subject: Re: Images can't be showed! |
|
|
zorek wrote: | thank you that really helped!
The only things wrong now is that I already got a quite big site with pics everywhare, and this only works in one folder, so if I am going to do this in all my folders it's going to take several hours...
is there any command to change all files of the same type? |
Yes, cd to your htdocs path and run the command
chmod will remove the executable bit in all the *.* files recursively. Please pay attention to the use of *.*. It is meant to no cause problems later. In fact if you invoke the command chmod -R -x *, directories are affected and you cannot cd into them later (the x bit for directories allows/denied directory browsing). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
|