Nick's picture

Hi there,

I have installed the django ISO onto a server.  It runs but servera files return a 403 error,


<title>403 Forbidden</title>
<p>You don't have permission to access /media/admin/admin/css/dashboard.css
on this server.</p>
<address>Apache/2.2.22 (Debian) Server at Port 80</address>


How would I resolve this?

Jeremy Davis's picture

Thanks for posting but this is a known issue. It will be fixed in the next TurnKey Release (v13.1).

There are actually a couple of bugs. The first (which you are referring to) is caused by an incorrect symlink. It can be fixed like this:

rm /var/www/project/media/admin
ln -s /usr/share/pyshared/django/contrib/admin/static /var/www/project/media/admin

The other relates to the built-in admin interface. Essentially you need to add 3 lines to the /var/www/project/ file. The lines you need to add are highlighted in green here. Note that it isn't showing the whole file...

Add new comment