|
@@ -49,7 +49,7 @@ ServerRoot "/usr/local/apache2"
|
|
|
# prevent Apache from glomming onto all bound IP addresses.
|
|
|
#
|
|
|
#Listen 12.34.56.78:80
|
|
|
-Listen 80
|
|
|
+Listen 8001
|
|
|
|
|
|
#
|
|
|
# Dynamic Shared Object (DSO) Support
|
|
@@ -229,7 +229,7 @@ Group www-data
|
|
|
# e-mailed. This address appears on some server-generated pages, such
|
|
|
# as error documents. e.g. admin@your-domain.com
|
|
|
#
|
|
|
-ServerAdmin you@example.com
|
|
|
+# ServerAdmin you@example.com
|
|
|
|
|
|
#
|
|
|
# ServerName gives the name and port that the server uses to identify itself.
|
|
@@ -276,7 +276,7 @@ DocumentRoot "/usr/local/apache2/htdocs"
|
|
|
# http://httpd.apache.org/docs/2.4/mod/core.html#options
|
|
|
# for more information.
|
|
|
#
|
|
|
- Options Indexes FollowSymLinks
|
|
|
+ Options None
|
|
|
|
|
|
#
|
|
|
# AllowOverride controls what directives may be placed in .htaccess files.
|
|
@@ -289,6 +289,15 @@ DocumentRoot "/usr/local/apache2/htdocs"
|
|
|
# Controls who can get stuff from this server.
|
|
|
#
|
|
|
Require all granted
|
|
|
+
|
|
|
+
|
|
|
+ DirectoryIndex index.html
|
|
|
+ Order Allow,Deny
|
|
|
+ Allow from 141.52.12.0/24
|
|
|
+ Allow from 127.0.0.0/8
|
|
|
+
|
|
|
+ # Podman network for testing
|
|
|
+ Allow from 10.0.2.100/1
|
|
|
</Directory>
|
|
|
|
|
|
#
|
|
@@ -349,7 +358,7 @@ LogLevel warn
|
|
|
# If you prefer a logfile with access, agent, and referer information
|
|
|
# (Combined Logfile Format) you can use the following directive.
|
|
|
#
|
|
|
- #CustomLog "logs/access_log" combined
|
|
|
+ CustomLog "logs/access_log" combined
|
|
|
</IfModule>
|
|
|
|
|
|
<IfModule alias_module>
|