Oh. I should add that if all you want is a static redirect, this is a simpler
way of making that work. The first example I gave is in case you want to
redirect the contents of "/from/" as well.
server "localhost" {
listen on 127.0.0.1 port 80
location "/from/" {
On 23/01/25 11:20, Lévai, Dániel wrote:
> Hi all,
>
> I was trying to do a basic path rewrite in httpd(8) on 7.2-stable, and I just
> can't see what I'm missing:
>
> httpd.conf:
> server "host" {
> listen on egress port 12345
>
> root "/htdocs"
>
> location "/" {
>
Hi all,
I was trying to do a basic path rewrite in httpd(8) on 7.2-stable, and I just
can't see what I'm missing:
httpd.conf:
server "host" {
listen on egress port 12345
root "/htdocs"
location "/" {
request rewrite "/to/"
}
location
3 matches
Mail list logo