i am using this link
http://docs.djangoproject.com/en/dev/howto/deployment/modwsgi/#howto-deployment-modwsgi
In this link i am unable to under stand topic SERVING MEDIA FILES
the lines(given below) which is used in this tutorial , i am able
understand where we edit this line , if its edit in
On Jun 17, 9:17 pm, Jagdeep Singh Malhi
wrote:
> i am using this
> linkhttp://docs.djangoproject.com/en/dev/howto/deployment/modwsgi/#howto-...
>
> In this link i am unable to under stand topic SERVING MEDIA FILES
> the lines(given below) which is used in this tutori
, Graham Dumpleton
wrote:
> On Jun 17, 9:17 pm, Jagdeep Singh Malhi
> wrote:
>
> > i am using this
> > linkhttp://docs.djangoproject.com/en/dev/howto/deployment/modwsgi/#howto-...
>
> > In this link i am unable to under stand topic SERVING MEDIA FILES
> > the line
ep Singh Malhi
> > wrote:
>
> > > i am using this
> > > linkhttp://docs.djangoproject.com/en/dev/howto/deployment/modwsgi/#howto-...
>
> > > In this link i am unable to under stand topic SERVING MEDIA FILES
> > > the lines(given below) which is
On Jun 17, 5:03 pm, Graham Dumpleton
wrote:
i copy the media directory in my "/home/yourname/mysite"
directory.
>
> Thus, run Python and go:
>
> >>> import django
> >>> import os
> >>> os.path.dirname(django.__file__)
import django
import os
os./usr/local/lib/python2.6/dist-packeages/
django
On Saturday 19 June 2010 10:48:57 Jagdeep Singh Malhi wrote:
> packeages/
>
packages
--
Regards
Kenneth Gonsalves
Senior Associate
NRC-FOSS at AU-KBC
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-u
On Jun 19, 3:12 pm, Kenneth Gonsalves wrote:
> On Saturday 19 June 2010 10:48:57 Jagdeep Singh Malhi wrote:> packeages/
>
> packages
change this "packages" , but problem is not solve
> --
> Regards
> Kenneth Gonsalves
> Senior Associate
> NRC-FOSS at AU-KBC
--
You received this message becau
On Jun 19, 3:18 pm, Jagdeep Singh Malhi
wrote:
> On Jun 17, 5:03 pm, Graham Dumpleton
> wrote:
>
> i copy the media directory in my "/home/yourname/mysite"
> directory.
>
> > Thus, run Python and go:
>
> > >>> import django
> > >>> import os
> > >>> os.path.dirname(django.__file__)
>
> impo
now my httpd.conf file is :-
Alias /media/ /usr/local/lib/python2.6/dist-packages/django/contrib/
admin/media/
Order deny,allow
Allow from all
WSGIScriptAlias / /home/jagdeep/mysite/apache/django.wsgi
Order allow,deny
Allow from all
but my http://localhost/admin/ is not show in graphi
Have you set your MEDIA_ROOT, MEDIA_URL and ADMIN_MEDIA_PREFIX
settings in settings.py?
On Jun 19, 12:06 pm, Jagdeep Singh Malhi
wrote:
> now my httpd.conf file is :-
>
> Alias /media/ /usr/local/lib/python2.6/dist-packages/django/contrib/
> admin/media/
>
> media/>
> Order deny,allow
> Allow
On Jun 20, 3:06 am, Jagdeep Singh Malhi
wrote:
> now my httpd.conf file is :-
>
> Alias /media/ /usr/local/lib/python2.6/dist-packages/django/contrib/
> admin/media/
>
> media/>
> Order deny,allow
> Allow from all
>
Change this to:
Options Indexes
Order deny,allow
Allow from all
On Jun 19, 10:36 pm, Justin Myers wrote:
> Have you set your MEDIA_ROOT, MEDIA_URL and ADMIN_MEDIA_PREFIX
> settings in settings.py?
>
setting is :-
MEDIA_ROOT = '/home/your_name/mysite/media/'
MEDIA_URL = 'http://localhost/media'
ADMIN_MEDIA_PREFIX = '/media/'
> On Jun 19, 12:06 pm, Jagdee
in which file i see these lines .
wrote:
> On Jun 20, 3:06 am, Jagdeep Singh Malhi
> wrote:
>
> > now my httpd.conf file is :-
>
> > Alias /media/ /usr/local/lib/python2.6/dist-packages/django/contrib/
> > admin/media/
>
> > > media/>
> > Order deny,allow
> > Allow from all
> >
>
> Cha
Is these setting of my setting.py files are correct ?
setting is :-
MEDIA_ROOT = '/home/your_name/mysite/media/'
MEDIA_URL = 'http://localhost/media'
ADMIN_MEDIA_PREFIX = '/media/'
On Jun 20, 2:08 pm, Jagdeep Singh Malhi
wrote:
> On Jun 19, 10:36 pm, Justin Myers wrote:> Have you set
> y
On Jun 20, 7:34 pm, Jagdeep Singh Malhi
wrote:
> in which file i see these lines .
>
>
> On Jun 20, 5:25 am, Graham Dumpleton
> wrote:
>
>
>
> > On Jun 20, 3:06 am, Jagdeep Singh Malhi
> > wrote:
>
> > > now my httpd.conf file is :-
>
> > > Alias /media/ /usr/local/lib/python2.6/dist-
On Jun 20, 3:08 pm, Graham Dumpleton
wrote:
> On Jun 20, 7:34 pm, Jagdeep Singh Malhi
> wrote:
>
> > in which file i see these lines .
>
> >
> >
> In your browser, when you request the admin page which isn't showing
> the styling, use your browser to view the source code for that page as
On Jun 20, 9:17 pm, Jagdeep Singh Malhi
wrote:
> On Jun 20, 3:08 pm, Graham Dumpleton
> wrote:
>
> > On Jun 20, 7:34 pm, Jagdeep Singh Malhi
> > wrote:
>
> > > in which file i see these lines .
>
> > >
> > >
> yes these links are shown in source file
>
>
>
> > In your browser, when yo
On Jun 20, 5:00 pm, Graham Dumpleton
wrote:
> On Jun 20, 9:17 pm, Jagdeep Singh Malhi
> wrote:
>
>
>
> > On Jun 20, 3:08 pm, Graham Dumpleton
> > wrote:
>
> > > On Jun 20, 7:34 pm, Jagdeep Singh Malhi
> > > wrote:
>
> > > > in which file i see these lines .
>
> > > >
> > > >
> > yes t
Sir thanks very much indeed , now its works.
thanks.
On Jun 20, 11:37 pm, Jagdeep Singh Malhi
wrote:
> On Jun 20, 5:00 pm, Graham Dumpleton
> wrote:
>
> > On Jun 20, 9:17 pm, Jagdeep Singh Malhi
> > wrote:
>
> > > On Jun 20, 3:08 pm, Graham Dumpleton
> > > wrote:
>
> > > > On Jun
im having problems serving media files in apache together with django.
Somehow Apache can't get the admin media files or my own (located at /
projectroot/media) for that matter.
my apache conf file:
ServerName www.bridgeco.com
DocumentRoot D:/projects/pyOrganize/src/pyOrg
On Sep 10, 6:19 pm, Rufman <[EMAIL PROTECTED]> wrote:
> im having problems serving media files in apache together with django.
> Somehow Apache can't get the admin media files or my own (located at /
> projectroot/media) for that matter.
>
I am a Django newbie and Im using Django to build an application. Im
using Apache/mod_wsgi and Nginx as a proxy server to serve static
files.I am running Nginx on port 80 and have all the Django pages
forwarded to Apache. I have my media folder in the application root
folder named media1. I cannot
On Jun 1, 10:40 pm, Corey wrote:
> I am a Django newbie and Im using Django to build an application. Im
> using Apache/mod_wsgi and Nginx as a proxy server to serve static
> files.I am running Nginx on port 80 and have all the Django pages
> forwarded to Apache. I have my media folder in the appli
Using the alias directive is much more easier and straighforward, for
me at least. Here's an example configuration
upstream django-backend
{
server testsite.local:4080;
}
server {
listen 80;
server_name testsite.com;
location /{
proxy_re
Hi!
The documentation here:
http://www.djangoproject.com/documentation/apache_auth/
describes how to serve media files from Apache to authenticated users.
How to implement anti-robot protection here?
When user wants to download a file I show him some picture with code on
it and then I want to gi
25 matches
Mail list logo