Kevin,
You are 100% correct. Using javascript (jquery, prototype, sencha...
doesn't matter) has nothing to do with Apache. Javascript is (for the
purpose of this discussion) a client side language. I would open up
Firefox and make sure you have the Firebug plugin installed. Make sure
Firebug is active (F12 - will pop up the Firebug window) hit a page
refresh and go to the Network tab. This will show all the requests your
page makes. See what request is making the 403. An improper permissions
or link reference for a script tag (from all my experience) will not
return a 403, it will just cause Firebug to throw errors when you try to
use JQuery functions that don't exist because the code was not brought it.
Make sure that the code you are calling on the server has proper
permissions.
Thanks
Bryce Martin
Programmer/Analyst I
570-546-4777
Kevin Turner <kevin.turner@xxxxxxxxxxxxxxx>
Sent by: web400-bounces@xxxxxxxxxxxx
12/15/2010 03:38 AM
Please respond to
Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>
To
Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>
cc
Subject
Re: [WEB400] apache directives and jquery, ajax
We use jquery and Ajax and there are no special apache directives required
for that than there are with any other resource. No need for any alias
match either. I guess the only consideration would be that you reference
the file locations correctly in your HTML, they are in a folder that is in
your document root, and the permissions are correct.
On 15 Dec 2010, at 03:58, "Jim Franz" <franz400@xxxxxxxxxxxx> wrote:
Does adding jquery and ajax functions require special config entries to
work in apache?
I am testing an autocomplete function, and getting a 403 (not
authorized) from apache.
I added and alias match to the directories, and 'allow from all' for
directory.
No chg.
This is 1st jquery added.
Googling - found lots of chatter but very little clear examples.
Jim Franz
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
NOTICE: The information in this electronic mail transmission is intended
by CoralTree Systems Ltd for the use of the named individuals or entity to
which it is directed and may contain information that is privileged or
otherwise confidential. If you have received this electronic mail
transmission in error, please delete it from your system without copying
or forwarding it, and notify the sender of the error by reply email or by
telephone, so that the sender's address records can be corrected.
--------------------------------------------------------------------------------
CoralTree Systems Limited
25 Barnes Wallis Road
Segensworth East, Fareham
PO15 5TT
Company Registration Number 5021022.
Registered Office:
12-14 Carlton Place
Southampton, UK
SO15 2EA
VAT Registration Number 834 1020 74.
As an Amazon Associate we earn from qualifying purchases.