Apache Generator is a tool to generate the apache configuration file. It allows you to generate simple files with proxy, directory protection and custom path / name / Directory index.
git clone
chmod +x apache-generator.sh
./apache-generator -n CONFIG_NAME --path=FILE_PATH
Command | Description |
---|---|
? | Show the help menu |
-u / --user | Specify ssh user |
-h / --host | Specify ssh host |
-p / --port | Specify ssh port |
-n / --name | Specify server name |
--path | Specify DocumentRoot path |
-d /--dir | Specify Directory to protect |
--allow-ip | Specify an IP allowed to access to this dir |
--dir-default | Specify the directoryIndex |
-P / --proxy | Specify the proxy url |
-N / --proxy-path | Specify the proxy path |