Issues with advanced Apache config docs
-
Hey
I think you have these lines the wrong way around
# check permalink structure has trailing slash RewriteCond %{REQUEST_URI} /[^\./\?]+(\?.*)?$ # check permalink structure has no trailing slash # RewriteCond %{REQUEST_URI} /[^\./\?]+/(\?.*)?$
And for nginx
# check permalink structure has trailing slash if ( $request_uri !~ /[^\./\?]+(\?.*)?$ ) { return 405; } # check permalink structure has no trailing slash # if ( $request_uri !~ /[^\./\?]+/(\?.*)?$ ) { # return 405; # }
`
Also, in Apache 2.4 at least, the use of environment variables inside of environment variables doesn’t seem to work – they are treated as literals.
Jamie.
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Issues with advanced Apache config docs’ is closed to new replies.