![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Apache help | ejbrever | UNIX for Dummies Questions & Answers | 2 | 08-24-2006 10:50 AM |
| Apache | ebethea27703 | UNIX for Dummies Questions & Answers | 1 | 05-18-2006 10:44 PM |
| apache | norsk hedensk | UNIX for Dummies Questions & Answers | 5 | 02-08-2003 10:45 AM |
| Apache! | hassan2 | UNIX for Advanced & Expert Users | 1 | 08-07-2002 05:27 PM |
| Apache | Vijayanand | IP Networking | 1 | 07-02-2002 09:14 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Apache
Sometimes the webserver doesnīt find a picture or there isīnt any. Then it shows a deufault picture. If i want to have diffrent pictures on diffrent catalogs if a picture doesnīt exist. The thing is that i want diffrent picture if itīs a button picture or if itīs a another picture that doesnīt exist.
Is that possible? Regards Henke Last edited by henke; 07-27-2001 at 08:34 AM.. |
|
|||||
|
I don't think you can do this easily. However, www.apache.org will have on-line docs (and search capabilities) to help better answer this.
Try: http://www.apache.org/search.html |
|
||||
|
well if an img is not avaliable you would get this gif the famous red X. apache_pb.gif
you could always swap out that gif for something you wanted in there in the first place. but that would be rather global. |
|
||||
|
I would have thought this to be an issue related to the HTML in the page, rather than a web server one because, as has already been stated, it's not something which is perceived as part of it's function (as far as I know).
Making use of the ALT property in your IMG tag to specify an alternate image to display if the primary one is not available would work just fine. It is more granular in the sense it is based on each individual page, but if you're making use of static HTML templates or better still one of the server side scripting languages to dynamically generate content, it would be flexible and most of all simple ![]() Just my thoughts on this. Regards. |
|
|||||
|
My thoughts:
Someone earlier suggested using dynamic content generation. This would be the way to go, i.e. using PHP or JSP or GGI in a more DHTML environment. If I was going to 'dive into this problem' I would also look at the HTML return codes and see if not having an IMG returns a status code. There are many of these status codes. However, I don't have much faith in this approach. The action based on the status (return) codes could have file-level granularity, but this would require a great deal of work for a large server and I would not advise it. The dynamic HTML method using JSP, PHP, etc. would be my first choice. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|