>Wound up just copying the admin media directories into my media
>directory. Pipe up if there's a better way ...
Instead of copying, you can use a symbolic link to the media files:
If the httpd.conf had:
alias /media/ /home2/rp/webapps/django/media_files/media
the link would be similar to:
> Now my only remaining hurdle ( db migration was surprisingly easy! ) is
> those admin media files. I notice you have
>
> alias /media/ /home2/bmg/django/django/contrib/admin/media/
>
> and that you have loaded the alias module from
> loadmodule alias_module /etc/httpd/modules/mod_alias.so
>
> in your apache config do something similar to
> http://svn.zyons.python-hosting.com/trunk/zilbo/conf/zyons.conf.tmpl
>
> and that will let the apache handle the 'images' area of your site
> instead of django.
>
> On 14/07/2006, at 12:02 PM, Iain Duncan wrote:
Thanks Ian, got them working.
Hi Iain.
in your apache config do something similar to
http://svn.zyons.python-hosting.com/trunk/zilbo/conf/zyons.conf.tmpl
and that will let the apache handle the 'images' area of your site
instead of django.
On 14/07/2006, at 12:02 PM, Iain Duncan wrote:
>
> I'm setting up a sight on
I'm setting up a sight on webfaction, and so far things are coming along
ok, but I can't figure out how to serve images. I've never used a shared
hosting setup that didn't have a directory called 'public' or 'htdocs'.
Has anyone on here used them? Any tips on where I need to put media and
what I
5 matches
Mail list logo