View Single Post
  #1   (View Single Post)  
Old 6th December 2019
Scripter Scripter is offline
Port Guard
 
Join Date: Apr 2018
Posts: 12
Default httpd - URI manipulation

I'm trying to run the equivalent of this nginx block in httpd:

Code:
location / {
    try_files $uri $uri/ /index.php?$args;
}
I've tried a variety of "location" and "match location" combos: "block return 301/302", "request rewrite", changing the location path. But, they're sending redirect errors and 404s.

Because I like the simplicity of httpd, I want to make sure this can be done before proceeding. If it is not possible, I'll just set up nginx on this system.
Reply With Quote