Update httpd.conf

This commit is contained in:
dami 2026-04-11 21:59:01 +08:00
parent 1b8b009b58
commit d4a7f2bbc8
1 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
ServerRoot "/Users/midoks/Desktop/mwdev/server/apache/httpd"
ServerRoot "{$SERVER_PATH}/apache/httpd"
Listen 127.0.0.1:8280
LoadModule authn_file_module modules/mod_authn_file.so
@ -38,8 +38,8 @@ ServerAdmin you@example.com
Require all denied
</Directory>
DocumentRoot "/Users/midoks/Desktop/mwdev/server/apache/httpd/htdocs"
<Directory "/Users/midoks/Desktop/mwdev/server/apache/httpd/htdocs">
DocumentRoot "{$SERVER_PATH}/apache/httpd/htdocs"
<Directory "{$SERVER_PATH}/apache/httpd/htdocs">
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
@ -69,13 +69,13 @@ LogLevel warn
</IfModule>
<IfModule alias_module>
ScriptAlias /cgi-bin/ "/Users/midoks/Desktop/mwdev/server/apache/httpd/cgi-bin/"
ScriptAlias /cgi-bin/ "{$SERVER_PATH}/apache/httpd/cgi-bin/"
</IfModule>
<IfModule cgid_module>
</IfModule>
<Directory "/Users/midoks/Desktop/mwdev/server/apache/httpd/cgi-bin">
<Directory "{$SERVER_PATH}/apache/httpd/cgi-bin">
AllowOverride None
Options None
Require all granted