One detail, location ~ ^/~(.*)?$ { alias /var/www/error/; index index.html; } This goes into a loop, obviously. Perhaps I need a mixture of rewrite and location(?)by joshbeard - How to...
Sorry for the potentially poorly worded subject. What I'm trying to do is send requests for userdirs (~/something) to a "catch all" location on the filesystem that uses PHP. So, the site's root is, for example, /var/www/site.com/ and I'd like to point requests for /~(.*) to /var/www/error/, which contains PHP. I've kind of had it working using a few things, but nothing perfect, anby joshbeard - How to...
![]() |
![]() |
![]() |
![]() |
|