ShiroPetto Dum spiro spero

22Jan/090

Aptana – Internal Server Error

A few people have asked me why they are getting an "500 Internal Server Error" when trying to view files they have made through Aptana.

Most of them have been running Apache on Linux and they don't realize they have some security setup to prevent exicutable scripts from being writable. It all comes down to File permissions and the default permissions Aptana is setup with.

In Aptana if you goto the Window Menu --> Preferences
Expand the Aptana branch on the left and find Permissions down the list. (or simply type Permissions in the text filter at the top)

By default Aptana has rw-rw-rw for the files and rwxrwxrwx for folders, some setups will prevent the script from running if the write atribute is set on a file or folder for the group or ALL so simple change your default permissions in Aptana to rwxr-xr-x and you'll be all set.