我在.htacces文件中添加了以下行:
Content-Security-Policy: default-src 'self'
X-Content-Security-Policy: default-src 'self'
X-WebKit-CSP: default-src 'self'
Run Code Online (Sandbox Code Playgroud)
但我总是遇到以下错误:
Invalid command 'Content-Security-Policy:', perhaps misspelled or defined by a module not included in the server configuration
Run Code Online (Sandbox Code Playgroud)
我不明白.我必须激活哪个Apache模块?这些线有什么问题?
大卫,大卫