Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: PERL CGI HTML JAVASCRIPT APACHE PROBLEM

by bitingduck (Chaplain)
on Apr 23, 2015 at 05:22 UTC ( [id://1124368]=note: print w/replies, xml ) Need Help??


in reply to PERL CGI HTML JAVASCRIPT APACHE PROBLEM

To expand a little on afoken's reply - when I'm debugging things that generate errors that get logged somewhere, I often will have an extra terminal window open and do a "tail -f /etc/log/error.log" where you replace the "/etc/log/error.log" part with the path to the appropriate server log on your system. This will display the log in real time so you can correlate the log details to exactly how you triggered it.

  • Comment on Re: PERL CGI HTML JAVASCRIPT APACHE PROBLEM

Replies are listed 'Best First'.
Re^2: PERL CGI HTML JAVASCRIPT APACHE PROBLEM
by MONKTROOPER (Initiate) on Apr 23, 2015 at 16:06 UTC
    thanks for advice ill try it
      Thanks to all , the problem was the location of the javascript file, the solution was put it in the htdocs folder
      C:\xampp\htdocs
      and change the line in the perl's scrip who call the .js file
      print qq{<script src="http://localhost/basico.js">};
      finally all works fine!
        http://localhost/basico.js

        That won't work from other computers. Just use /basico.js.

        Alexander

        --
        Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1124368]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-18 01:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found