I want to check the Apache AllowEncodedSlashes configuration.

Asked 2 years ago, Updated 2 years ago, 437 views

I'd like to check the contents of Apache settings. What are the methods?
What I would like to know now is what happens to AllowEncoded Slashes.(On or off)

As for the shared rental server, I could not confirm the location where httpd.conf appears to be.
The operating system is FreeBSD version 9.

apache freebsd

2022-09-30 21:56

1 Answers

As far as the document is concerned, the default value seems to be "Off".

AllowEncodedSlashes Directive

Also, it seems that you can use the following command to verify the location and contents of the configuration file.
(This is an example on Linux, so I haven't tried to see if I can use FreeBSD as it is.)
Also, I think you will need to have the appropriate access rights to check the contents of the configuration file.

Get Apache information on the command line - Qiita

Getting a List of Configuration Files

httpd-t-DDUMP_CONFIG2>/dev/null | grep'#In' | awk' {print$4}'

Getting the Contents of the Configuration File

httpd-t-DDUMP_CONFIG2>/dev/null | grep-v'#'


2022-09-30 21:56

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.