On Thu, 6 Dec 2007, Jim Albert wrote:

Hiep Nguyen wrote:
hi there,

i'm not sure this is the right list to ask, if not please help direct me to the right list.

i have problem with path for java on my apache:

this is working just fine:
<script language="javascript" src="calendar.js" type="text/javascript"></script>

but as soon as i move calendar.js to a sub-folder includes/
<script language="javascript" src"/includes/calendar.js" type="text/javascript"></script>

You are missing an = after your src attribute in your script tag above.

Assuming, that was just a typo in your email, check your httpd error log when you try:
http://your_server/includes/calendar.js

Any error in the log should give you a clue.


then it's not working.

full path for include files: /var/www/html/includes/calendar.js

full path for test.php: /var/www/html/test.php

i searched "javascript src path" on google, but no good solution.

thanks.
T. Hiep

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Jim Albert


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



that was my typo.

i tried: http://10.0.0.120/calendar.js, i can save the file

but http://10.0.0.120/includes/calendar.js, i can't and get 500 internal server error

so i looked into the log, this is what i got:
[Thu Dec 06 14:09:34 2007] [alert] [client 10.0.0.128] 
/var/www/html/includes/.htaccess: IndexIgnore not allowed here

any idea what's wrong? thanks.

T. Hiep

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to