|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Thanks for the ones who provides or (wants to provide) solutions for my question.
I think I have had a solution to my problem.Now my perl scripts can be viewed by Netscape properly.The solution to my problem is the way to access the .gif and .js files form the perl script. For Example: (This is just a part of the script) -------------------------------*******Problem********------------------------------ print <<"EOF" <html> <head> <title>Welcome</title> <script language=Javascript src="E:/Program Files/Apache Group/Apache/htdocs/test.js"></script> </head> <body> <img src="E:/Program Files/Apache Group/Apache/htdocs/pics.gif"> </body> </html> This works fine for IE explorer, but for Netscape when you try to view it, there be will error saying that you don't have the permission to access the test.js file and also the pics.gif image can't be viewed either.The solution to the problem is: -------------------------------*******Solution********------------------------------ print <<"EOF" <html> <head> <title>Welcome</title> <script language=Javascript src="http://203.42.216.89:8086/test.js"></script> </head> <body> <img src="http://203.42.216.89:8086/pics.gif"> </body> </html> Now both browsers can view the perl script properly.The test.js and pics.gif still needs to place in the htdocs directory.To me it is quite silly to launch the .gifs and .js files like that,maybe there are other better ways to do it (or maybe i did it the wrong way). So if you have any better or proper solutions please send post or send E-mail to me. Thanks, |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Perl Programming > Re: Perl can't function properly on Apache Server |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|