Changes between Version 71 and Version 72 of DevelopmentServer
- Timestamp:
- 03/15/12 13:45:13 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevelopmentServer
v71 v72 111 111 } 112 112 113 acl local { 114 "localhost"; // myself 115 "127.0.0.1"; // myself 116 "81.95.52.78"; // this machines main ip address 117 "81.95.52.79"; // this machines 2nd ip address 118 "81.95.52.80"; // this machines 3rd ip address 119 } 120 121 113 122 sub vcl_recv { 114 123 … … 118 127 ## Pass cron jobs and server-status 119 128 if (req.url ~ "cron.php") { 120 return (pass); 121 } 122 if (req.url ~ ".*/server-status$") { 123 return (pass); 129 if (client.ip ~ local) { 130 return (pass); 131 } 132 else { 133 error 403 "Access Denied"; 134 } 135 } 136 if (req.url ~ "/server-status$") { 137 if (client.ip ~ local) { 138 return (pass); 139 } 140 else { 141 error 403 "Access Denied"; 142 } 143 } 144 if (req.url ~ "apc_info.php") { 145 if (client.ip ~ local) { 146 return (pass); 147 } 148 else { 149 error 403 "Access Denied"; 150 } 124 151 } 125 152 … … 199 226 } 200 227 }}} 228 229 The security hole that resulted in resources that apache only made available to localhost being available to all via varnish was closed on ticket:357#comment:11 201 230 202 231 == Piwik ==