mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 03:39:26 +08:00
Update httpd.conf
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user