My Drupal 7 site is working nice and most of my static files are served via CDN. I use CDN module with Origin Pull however CDN didn't pull the files from my
misc folder where there are small
png icons (came with vanilla drupal installation).
In CSS, I have used
url('sites/all/themes/mytheme/img/bg.png') for background and I can see the background, and it is served via CDN. In the same CSS I have
url('misc/configure.png') but this one is not working. I see 404 for
configure.png while checking from Developer Tool.
So, I added the path in CDN module's whitelist like
misc/*.png and did all those flushing and cron for CDN to recognize the file. Still CDN didn't pull the file. I have set the file permissions to 775 too, but nothing changed. Any help would be appreciated.
Edit: the 404 is only for the picture, I checked it via chrome's Developer tool. It shows the path
https://myCDN/misc/configure.png (which is missing), whereas for background it shows
However, the notable difference is in
configure.png the name of my site is not present in CDN path. If I change the path via Chrome Developer Tool like
https://myCDN/mysite/misc/configure.png It works, the image shows. It also works if I use absolute url in CSS like