Re: Treate .sh and .bash the same way Apache2

2019-10-22 Thread john doe
On 10/23/2019 3:51 AM, Kushal Kumaran wrote: > john doe writes: > >> >> >> Next step is to figure out how to do the same for file that don't have >> an extension that I can use but they always start with the same pattern: >> >> xxx.abc >> xxx.def >> xxx.ghi >> > > https://httpd.apache.org/docs/2.

Re: Treate .sh and .bash the same way Apache2

2019-10-22 Thread Kushal Kumaran
john doe writes: > > > Next step is to figure out how to do the same for file that don't have > an extension that I can use but they always start with the same pattern: > > xxx.abc > xxx.def > xxx.ghi > https://httpd.apache.org/docs/2.4/mod/mod_mime_magic.html Note the caution about potential

Re: Treate .sh and .bash the same way Apache2

2019-10-22 Thread john doe
On 10/22/2019 5:13 PM, Dan Ritter wrote: > john doe wrote: >> On 10/22/2019 4:20 PM, Dan Ritter wrote: >>> john doe wrote: Hi, I'm using Apache2 on Debian (Stretch 9) and trying to have the .bash extension treated like the .sh extension: For now, I have modified t

Re: Treate .sh and .bash the same way Apache2

2019-10-22 Thread Dan Ritter
john doe wrote: > On 10/22/2019 4:20 PM, Dan Ritter wrote: > > john doe wrote: > >> > >> Hi, > >> > >> I'm using Apache2 on Debian (Stretch 9) and trying to have the .bash > >> extension treated like the .sh extension: > >> > >> For now, I have modified the file > >> /etc/apache2/mods-availables/a

Re: Treate .sh and .bash the same way Apache2

2019-10-22 Thread john doe
On 10/22/2019 4:20 PM, Dan Ritter wrote: > john doe wrote: >> >> Hi, >> >> I'm using Apache2 on Debian (Stretch 9) and trying to have the .bash >> extension treated like the .sh extension: >> >> For now, I have modified the file >> /etc/apache2/mods-availables/autoindex.conf byt adding .bash to the

Re: Treate .sh and .bash the same way Apache2

2019-10-22 Thread Dan Ritter
john doe wrote: > > Hi, > > I'm using Apache2 on Debian (Stretch 9) and trying to have the .bash > extension treated like the .sh extension: > > For now, I have modified the file > /etc/apache2/mods-availables/autoindex.conf byt adding .bash to the > following line: > > AddIcon /icons/