Skip to content

Commit

Permalink
check http method
Browse files Browse the repository at this point in the history
  • Loading branch information
fuktommy committed Feb 24, 2025
1 parent 149c140 commit ba30c88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/apache.sample
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ Listen 8000
Options -Indexes -ExecCGI

RewriteEngine on
RewriteCond %{REQUEST_METHOD} GET [OR]
RewriteCond %{REQUEST_METHOD} HEAD
RewriteRule ^server.cgi(.*) \
http://[::1]:8002/server.cgi${escape:$1} [P,NE]
</Directory>
Expand Down

0 comments on commit ba30c88

Please sign in to comment.