Apache add unknown whitespace on Vagrant Sync Folder


I spent more than one day to solve this issue which makes my js code error by unknown generated whitespace, finally My mate told me that was caused by apache web server in vagrant shared/sync folder.

here is how to solve that issue :

add following directives on your httpd.conf (or whatever apache web server file that you use to configure your apache web server ) :

EnableMMAP off
EnableSendfile off
I hope will help somebody that has same issue or me in the future if faced same problem again.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s