No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I have a project where my code will have to coexist with code in web pages designed elsewhere. My code will use jQuery, and so there may be an issue if the parent page already runs jQuery (and maybe jQuery plugins). I would have thought the correct thing to do … |
|
I'm trying to see how to load jQuery at run time. I can't understand why the following code doesn't work (probably me making a silly error) <!DOCTYPE HTML> <html lang="en"> <head> <meta charset="utf-8"> <script> var script = document.createElement('script'); script.src = 'https://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js'; document.getElementsByTagName('head')[0].appendChild(script); </script> </head> <body> <a href="#" id="main">click me</a> <script> … |
|
I need a rewrite rule to change requests for a specific script on one domain and sub-domain to another domain and path: [I][url]http://domain-one.com/cgi-bin/38837728.cgi[/url][/I] or [I][url]http://www.domain-one.com/cgi-bin/38837728.cgi[/url][/I] to [I][url]http://somwhere-else.net/cgi-bin/abc/38837728.cgi[/url][/I] I have other domains that share the same script directory as domain-one.com and [url]www.domain.com[/url]. But I only want to redirect requests for domain-one.com … |
|
The background to this is that I have two server-side scripts: * upload.cgi: accepts a file upload * monitor.cgi: reports the size of the file upload as the file upload progresses. There is a form handler: onSubmit="doProgress();" for the upload form that points to upload.cgi. This does the asynchronous thing … |
|
I am running APF 9.6. There is an IP address I cannot ping if APF is enabled. But it's OK if I stop APF. The IP is not listed in /etc/apf/deny_hosts.rules. It doesn't help if I add the IP to allow_hosts either. I have also tried disabling realtime lookups: USE_DS="0" … |