images not displaying on Mac OS X

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
J. Patrick
-


Joined: 26 Aug 2002
Posts: 42
Location: Pittsburgh, PA USA

PostPosted: Sat May 22, 2004 3:46 am    Post subject: images not displaying on Mac OS X Reply with quote

I just recently switched from workin on my PC to my new mac and I copied all my webfiles over. However abyss gives server 500 errors when I try to view any image files or css files directly and on pages they don't show up.

Is there some special file permission setting you need for images? I tried messing with the permissions on one images but there are too many combinations on Mac.

Anyone know what is wrong or how to fix this?
Back to top View user's profile Send private message Send e-mail AIM Address
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Sat May 22, 2004 4:13 am    Post subject: Reply with quote

Remove the / in your cgi paths table , its not needed in
this new version that uses patterns , basicly your images
are being executed like cgi scripts so remove the / in the
cgi paths table field and your images will display.
Back to top View user's profile Send private message Visit poster's website
J. Patrick
-


Joined: 26 Aug 2002
Posts: 42
Location: Pittsburgh, PA USA

PostPosted: Sat May 22, 2004 4:34 am    Post subject: thanks Reply with quote

thank you very much,
i am not use to the mac file system structure :P and didn't even think about that.
Back to top View user's profile Send private message Send e-mail AIM Address
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun May 23, 2004 12:22 pm    Post subject: Re: images not displaying on Mac OS X Reply with quote

J. Patrick,

MacOS X behaves as any UNIX system when it comes to files. Your images were generating error 500 because they have the executable bit set (it should be cleared) and because you had / in your CGI Paths. So any image was considered as a script (because in /) and Abyss tried to execute it (because it has the executable bit set).

Normal data files shouldn't have in general their executable bit set. It can be removed using Finder (open the files properties and play with the parameters there.)

If you prefer using the command line (as in Linux for example), open the Terminal application (you'll find it in the Applications/Utilities folder) and go to the directory where your files are stored (using the command cd /dir1/dir2/ ). Then execute for example:

Code:
chmod -x *.jpg *.gif *.html


For more information about the command chmod, type:

Code:
man chmod


By the way, you may ask "why the executable bit is set?". Generally, when you copy the files from your Windows computer (or any DOS/Windows disk) to a UNIX computer, the executable bit of the copied files is set.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group