Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: PERL CGI HTML JAVASCRIPT APACHE PROBLEM

by bitingduck (Chaplain)
on Apr 23, 2015 at 05:22 UTC ( #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
Node Status?
node history
Node Type: note [id://1124368]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2018-06-21 10:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (118 votes). Check out past polls.

    Notices?