Re: [users@httpd]

2023-05-15 Thread Frank Gingras
Well, we can't guess that you provided the wrong path. Hence the
recommendation for better filesystem locations.

On Mon, May 15, 2023 at 10:03 AM Marc  wrote:

> /tmp is just an example. Files are located elsewhere, actually at a
> location where the rest should not be available/accessible. I only want to
> 'redirect' this file.
>
> >
> > You want to use  instead. I also strongly recommend
> > storing your images in another path.
> >
> > On Mon, May 15, 2023 at 3:48 AM Marc  >  > wrote:
> >
> >
> >
> >
> >   > >
> >   > > How do I get that the file (docroot)/images/favicon.ico is not
> > loaded
> >   > from the disk but instead from the /tmp/os-favicon.ico?
> >   >
> >   > Use the Alias directive.
> >   > https://httpd.apache.org/docs/2.4/urlmapping.html
> >   >
> >
> >   Hmmm, so I am ending up with somwthing like this. Is that really
> > the best way to do this?
> >
> >61 Alias "/images/favicon.ico" "/tmp/os-
> > favicon.ico"
> >62 
> >63 Require all granted
> >64 
> >
> >
>
>


RE: [users@httpd]

2023-05-15 Thread Marc
/tmp is just an example. Files are located elsewhere, actually at a location 
where the rest should not be available/accessible. I only want to 'redirect' 
this file.

> 
> You want to use  instead. I also strongly recommend
> storing your images in another path.
> 
> On Mon, May 15, 2023 at 3:48 AM Marc   > wrote:
> 
> 
> 
> 
>   > >
>   > > How do I get that the file (docroot)/images/favicon.ico is not
> loaded
>   > from the disk but instead from the /tmp/os-favicon.ico?
>   >
>   > Use the Alias directive.
>   > https://httpd.apache.org/docs/2.4/urlmapping.html
>   >
> 
>   Hmmm, so I am ending up with somwthing like this. Is that really
> the best way to do this?
> 
>61 Alias "/images/favicon.ico" "/tmp/os-
> favicon.ico"
>62 
>63 Require all granted
>64 
> 
> 



Re: [users@httpd]

2023-05-15 Thread Frank Gingras
You want to use  instead. I also strongly recommend storing
your images in another path.

On Mon, May 15, 2023 at 3:48 AM Marc  wrote:

>
>
> > >
> > > How do I get that the file (docroot)/images/favicon.ico is not loaded
> > from the disk but instead from the /tmp/os-favicon.ico?
> >
> > Use the Alias directive.
> > https://httpd.apache.org/docs/2.4/urlmapping.html
> >
>
> Hmmm, so I am ending up with somwthing like this. Is that really the best
> way to do this?
>
>  61 Alias "/images/favicon.ico" "/tmp/os-favicon.ico"
>  62 
>  63 Require all granted
>  64 
>
>


[users@httpd]

2023-05-15 Thread Roman Gelfand



RE: [users@httpd]

2023-05-15 Thread Marc


> >
> > How do I get that the file (docroot)/images/favicon.ico is not loaded
> from the disk but instead from the /tmp/os-favicon.ico?
> 
> Use the Alias directive.
> https://httpd.apache.org/docs/2.4/urlmapping.html
> 

Hmmm, so I am ending up with somwthing like this. Is that really the best way 
to do this?

 61 Alias "/images/favicon.ico" "/tmp/os-favicon.ico"
 62 
 63 Require all granted
 64