Welcome! Log In Create A New Profile

Advanced

Convert Alias from apache (totally different root)

June 06, 2017 06:37PM
I've read the docs and understand how root and alias work within a location, but, neither can be used to convert what I've got in apache that I can see.

Take the example `Alias /media /path/to/assets` in apache, the location and path are completely different (media doesn't form any part either in addition or removed).

The issue in converting to a location with alias or root is monitoring is still there, or, excluded - I need a way to change the location to completely use a different document root otherwise I'm not sure how I can?

location /media { root /path/to/assets; }

Any advice appreciated!
Subject Author Posted

Convert Alias from apache (totally different root)

ianwinter June 06, 2017 06:37PM

Re: Convert Alias from apache (totally different root)

ianwinter June 07, 2017 04:43AM

Re: Convert Alias from apache (totally different root)

Francis Daly June 07, 2017 07:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 177
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready