oupala / apaxy

a simple, customisable theme for your apache directory listing
https://oupala.github.io/apaxy/
GNU General Public License v3.0
1.86k stars 256 forks source link

Parametrize {FOLDERNAME} #113

Closed pcav closed 6 years ago

pcav commented 6 years ago

If put in a variable, user can change it only once for the whole htaccess

ghost commented 6 years ago

I agree, this is desirable. But does anyone know if this is even possible? A quick google search brings up nothing on placing variables in .htaccess. But if we could somehow accomplish this, then I could probably close #107

pcav commented 6 years ago

Maybe a rewrite helps here? It seems to add more complexity than needed though: https://serverfault.com/questions/177827/declaring-variable-in-htaccess-to-determine-deployment-environment so feel free to close this if you think it is inappropriate.

ghost commented 6 years ago

I'll take a look into it. I do think this is something we should work on.

oupala commented 6 years ago

The automation script would be the best solution.

See #107.

ghost commented 6 years ago

@oupala Ok. I agree. Should we close this then?