![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Function loading in a shell scripting like class loading in java | mpsc_sela | Shell Programming and Scripting | 1 | 06-09-2008 08:02 AM |
| Invoking shell script from html/jsp page | bubeshj | Shell Programming and Scripting | 2 | 06-28-2006 02:53 PM |
| Access shell scripts from HTML page | nhatch | Shell Programming and Scripting | 4 | 03-01-2005 11:48 AM |
| loading a unix image | ahaurek | UNIX for Dummies Questions & Answers | 1 | 05-09-2001 02:32 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
I m trying to throw back html page when a file is found.While throwing back html page, the background image is not coming. I am using Apache server.Please suggest how to resolve...
#!/bin/ksh echo -e "Content-type: text/html\n\n" echo "<html><head></head><body background=\"/asc/ppp.jpg\">" echo "<center><h2> The File name with" echo $QUERY_STRING echo "is found </h2> </center>" echo "</body></html>" exit 0 Last edited by ravi18s; 04-30-2009 at 03:10 AM.. |
|
|||||
|
Please don't bump up the posts - it's against the Forum rules.
|
|
||||
|
yes I am calling this as a CGI script, this script runs when an html form submit the values using get method, then after submitting this script runs and get the value from form and then html page is created. Background image do exist and web server can read it... but when html page gets created its background image is not coming..
dear vgresh99, I am a new member in future I would not send such mails sorry for that |
|
||||
|
[Wed Apr 29 06:25:06 2009] [error] [client 130.20.144.17] (8)Exec format error: exec of '/home/edi/apache_2.2.4/cgi-bin/ppp.jpg' failed, referer: Domain Acquisition Service-Sedo.com
This error is coming ...its from error logs On directly accessing the image from browser the image does not appear. |
![]() |
| Bookmarks |
| Tags |
| apache2, html, korn shell scripting |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|