mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-07-15 17:08:11 +00:00
set php handler, fix name of mod_headers
This commit is contained in:
parent
2dfbc164ae
commit
8f563622b6
|
@ -1,10 +1,11 @@
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
||||||
|
|
||||||
<IfModule mod_header.c>
|
|
||||||
<Files ~ "^swagger\.yaml">
|
<Files ~ "^swagger\.yaml">
|
||||||
|
SetHandler application/x-httpd-php
|
||||||
|
<IfModule mod_headers.c>
|
||||||
Header set Access-Control-Allow-Origin "*"
|
Header set Access-Control-Allow-Origin "*"
|
||||||
Header set Access-Control-Allow-Methods "GET"
|
Header set Access-Control-Allow-Methods "GET"
|
||||||
Header set Access-Control-Allow-Headers "X-Requested-With, Content-Type, Accept, Origin, Authorization"
|
Header set Access-Control-Allow-Headers "X-Requested-With, Content-Type, Accept, Origin, Authorization"
|
||||||
</Files>
|
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
</Files>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user