i am really having trouble with getting admin css working. I am not
sure what I am even doing wrong at this point. Everyone i go to gives
the same advice, but said advice doesn't seem to work or doesn't work
in the context of satchmo. So alas I have come here.
I am trying to publish my site to a staging server, and everything
works except the admin css and javascript. Here is my apache config:
<VirtualHost *:80>
Alias /robots.txt /home/percent20/sites/current/static/robots.txt
Alias /favicon.ico /home/percent20/sites/current/static/favicon.ico
AliasMatch ^/([^/]*\.css) /home/percent20/sites/current/static/css/$1
AliasMatch ^/([^/]*\.js) /home/percent20/sites/current/static/js/$1
Alias /media/ /home/percent20/sites/current/static/
Alias /static/ /home/percent20/sites/current/static/
<Directory /home/percent20/sites/current/static>
Order deny,allow
Allow from all
</Directory>
<Directory /home/percent20/sites/current/media>
Order deny,allow
Allow from all
</Directory>
WSGIScriptAlias / /home/percent20/sites/current/apache/production.wsgi
<Directory /home/percent20/sites/current/apache>
<Files production.wsgi>
Order allow,deny
Allow from all
</Files>
</Directory>
</VirtualHost>
And I have left the settings for satchmo default with regards to static files.
MEDIA_ROOT = os.path.join(DIRNAME, 'static/')
MEDIA_URL="/static/"
ADMIN_MEDIA_PREFIX = '/media/'
I am using ubuntu and django 1.3.1
Buddy
--
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en.