Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Apache directory icons?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Ember1205" data-source="post: 1720502" data-attributes="member: 374272"><p>You gave an absolute file path location and that won't work. Change your directive to:</p><p></p><p>[code]AddIcon /icons/p.gif .ppt .pptx[/code]</p><p></p><p>In order for your icon to show up, the web server needs to create HTML code for the browser that will tell the browser where to locate the file, and the browser needs to be able to access the location that it was given. In the case of your original AddIcon statement, the web server was creating a location of "http://yourhost.domain.tld/usr/share/httpd/icons/p.gif" and that is CLEARLY not a valid path relative to the top-level directory for the web server. </p><p></p><p>Using my example above, your browser should be attempting to retrieve the file from "http://yourhost.domain.tld/icons/p.gif" which MAPS to the full path that you gave originally.</p></blockquote><p></p>
[QUOTE="Ember1205, post: 1720502, member: 374272"] You gave an absolute file path location and that won't work. Change your directive to: [code]AddIcon /icons/p.gif .ppt .pptx[/code] In order for your icon to show up, the web server needs to create HTML code for the browser that will tell the browser where to locate the file, and the browser needs to be able to access the location that it was given. In the case of your original AddIcon statement, the web server was creating a location of "http://yourhost.domain.tld/usr/share/httpd/icons/p.gif" and that is CLEARLY not a valid path relative to the top-level directory for the web server. Using my example above, your browser should be attempting to retrieve the file from "http://yourhost.domain.tld/icons/p.gif" which MAPS to the full path that you gave originally. [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Apache directory icons?
Top