![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIuwmGi2UD_zIBl0WDyNL-rJdXlVQPOVmnrlh2djlMCAquBbu3q_gugQg9O6GpdWrwRb0I5k0Ggd_UKHGYq88Bjn7aicTcsLCOdCxP2RcM1wb_rzVWWLZmburWiQH8Dm_vsyF1TtFRXWY/s200/BASE_without_css.png)
The /base/styles/base_style.css file was in place and had the proper permissions, but doing "curl http://localhost/base/styles/base_style.css" would result in "transfer closed with bytes remaining". I created a small "Hello World!" test page in the styles directory and Apache served it just fine. I then copied base_style.css and began taking things out until Apache served the file. Ultimately, I determined that Apache couldn't serve non-PHP files over 255 bytes. I did some research and stumbled upon the EnableSendfile directive. I added "EnableSendfile off" to my Apache configuration file, restarted Apache, and verified that Apache could serve files over 255 bytes. BASE then showed up with the proper formatting:
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioiXbTiVdaIUFuiEN4nBYXDFmWK41Gu2t_uiv66oJlEYCEaAr0wERheYBr64J0QjdQV_RWWaaJoZQlJKJUDBuoLBs1TY7csBnEsG0kbg6Ymk0xdtEjXI_Y94EhmRQcua6ndpTQ5SfrOEg/s200/BASE_with_css.png)
No comments:
Post a Comment