No the URLs are different and storage on the filesystem is also
different.
E.g.
URL /public/js/.. are stored on /opt/public/htdocs
URL /common/js/.. are stored on /opt/common/htdocs
URL appl application /appl/js is stored on /opt/appl/htdocs/media/js/
(Django)
In the development case I can copy that images to the development
server.
This is not a problem.

In the real state the page will be run over mod_python module.
The page written in Django is now only the one and other applications
are written in Perl/CGI/HTML
All web applications are run over standard apache2 2.2.22
On that web server there are two locations were are CSS/JS/images.

The another application written in Perl is located here: /opt/diagnose/
htdocs (URL /diag/..)
And both application as Django as diagnose used the sema web server.

My question is if there is any possibility to share images between /
common/js and /appl/js

Thank you in advance

Petr
On 17 kvě, 14:16, Ilian Iliev <il...@i-n-i.org> wrote:
> This is a bit more general than a Django issue.
>
> Are both css directories going to be server under the same URL?
> What will happend if both of them contain files with the same name?
> Are you using staticfiles?
>
> And more important why do you have these files out of the project, what is
> the reason
> to load them from separate directory instead from the project?
>
> --
> eng. Ilian Iliev
> Web Software Developer
>
> Mobile: +359 88 66 08 400
> Website:http://ilian.i-n-i.org
>
>
>
>
>
>
>
> On Thu, May 17, 2012 at 1:50 PM, Stone <phrac...@gmail.com> wrote:
> > Sorry,
> > now I have only the dev one for the moment,
> > but for real usage I will have apache2-2.2.22
>
> > Best reagards
> > Petr
>
> > On 17 kvě, 12:01, Ilian Iliev <il...@i-n-i.org> wrote:
> > > Hi,
>
> > > can you add some more details. Are you using web server or you have only
> > > the dev one for the moment. If you have web server what is it: Apache,
> > > NginX etc.?
>
> > > Best wishes,
> > > Ilian Iliev
>
> > > --
> > > eng. Ilian Iliev
> > > Web Software Developer
>
> > > Mobile: +359 88 66 08 400
> > > Website:http://ilian.i-n-i.org
>
> > > On Thu, May 17, 2012 at 11:06 AM, Stone <phrac...@gmail.com> wrote:
> > > > Dear users,
>
> > > > I have a some simple question.
> > > > Let's say that my project (dJango) is stored on the file system here:
> > > > /opt/appl/htdocs
> > > > and media files are stored here:
> > > > /opt/appl/htdocs/media/css
> > > > /opt/appl/htdocs/media/images
>
> > > > All CSS and images are visible under directory /opt/appl/htdocs w/o
> > > > problem.
>
> > > > Another images and css are stored here:
> > > > /opt/common/htdocs/media/css
> > > > /opt/common/htdocs/media/images
>
> > > > Is there any way how to visible in dJango all CSS and images
> > > > from directory /opt/common/htdocs/...?>
>
> > > > Thank you in advance
> > > > Petr
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "Django users" group.
> > > > To post to this group, send email to django-users@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > django-users+unsubscr...@googlegroups.com.
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/django-users?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Django users" group.
> > To post to this group, send email to django-users@googlegroups.com.
> > To unsubscribe from this group, send email to
> > django-users+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/django-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to