View previous topic :: View next topic |
Author |
Message |
J. Patrick -
Joined: 26 Aug 2002 Posts: 42 Location: Pittsburgh, PA USA
|
Posted: Sat May 22, 2004 3:46 am Post subject: images not displaying on Mac OS X |
|
|
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 |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Sat May 22, 2004 4:13 am Post subject: |
|
|
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 |
|
 |
J. Patrick -
Joined: 26 Aug 2002 Posts: 42 Location: Pittsburgh, PA USA
|
Posted: Sat May 22, 2004 4:34 am Post subject: thanks |
|
|
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 |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sun May 23, 2004 12:22 pm Post subject: Re: images not displaying on Mac OS X |
|
|
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:
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 |
|
 |
|