Posted by drupov on February 17, 2014 at 4:49am
Thanks for the quick reply. #21 clarifies this.
I just discovered that the path /icons/my_bundle does work on my Ubuntu development machine when I have no Virtual Host entry for the site, e.g. localhost/drupal_icons/icons/my_bundle.
If I use a VH entry I get a Apache "Not Found" error on drupal_icons.local/icons/my_bundle. The same on the site I develop right now, as well as on the fresh drupal install I am testing icon on.
Does it have something to do with the fact that icons is an aliased path?
Posted by Mark Carver on February 17, 2014 at 5:13am
I run an nginx stack and I'm not seeing this at all. I am seeing it on http://sff120b8134c72a7.s3.simplytest.me/icons/lullacons_pack1. However, when I prepend it with non-clean url query parameter it works: http://sff120b8134c72a7.s3.simplytest.me/?q=icons/lullacons_pack1
I did a little googling and it turns out Apache appears to have an aliases "/icons" path turned on by default:
http://stackoverflow.com/questions/12110693/removal-of-the-var-www-icons...So the solution is to rename your path alias or just remove that from your configuration.
Comments
Comment #1
markhalliwellCommitted 8196cc8 to 7.x-1.x:
Comment #2
markhalliwellCommitted 0ecd192 to 7.x-1.x:
Comment #3
drupov CreditAttribution: drupov commentedVery nice. Works perfectly. Thanks!
Comment #6
Kebz CreditAttribution: Kebz commentedJust wondering ... it's been a year since this convo took place.
I am getting this warning msg:
How do we know if the view path is not working properly?
In the configuration area .... under Bundles, it says this ...
So all I have to do is change the path or disable this? Where exactly is this path and what files are in it??
Comment #7
codeangle CreditAttribution: codeangle commentedIs it in .htaccess. I searched in the whole document. Any help?Comment #8
Kebz CreditAttribution: Kebz commentedComment #9
markhalliwellDo not open closed issues.
This is part of your Apache configuration (httpd.conf, not .htaccess) as stated in the warning. This is for configuring a path that anyone can view (i.e. not in the administration section) for all users to view the icon bundles.
http://lmgtfy.com/?q=apache+icons
http://stackoverflow.com/questions/12110693/removal-of-the-var-www-icons...
http://stackoverflow.com/questions/4433631/apache-how-to-override-index-...
Comment #10
Bruno Vincent CreditAttribution: Bruno Vincent commentedHow can I do this?
"So the solution is to rename your path alias or just remove that from your configuration."
Where is the path to rename?
Where is the configuration file?
What exact code to remove from the configuration file on what line?
I've read all refferences to other pages, but I don't undestand how to do this, I am using Drupal 7 , aquia dev desktop, ICON Api module
Comment #11
philsward CreditAttribution: philsward commentedFor better clarification to those of you who were as confused as I was at first, the directions are all there:
1) Unless you have other people editing stuff on the site who "need" access to know what icons are in the list, you don't have anything to worry about.
2) If you physically go to http://yourwebsite.whatevs/icons and you're redirected somewhere OTHER than a page that shows the list of icon bundles within your site, you don't have anything to worry about.
3) If you aren't already using the path /icons for anything else on your site, you don't have anything to worry about.
---
If you match any of the 3 scenarios, then simply change it from /icons to /icon-bundles or something and then disable the warning.
Oh, and if all else fails, blank out the "icons" from the form field and just disable the page altogether.