httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Albert <...@netrition.com>
Subject Re: [users@httpd] javascript src path on apache
Date Thu, 06 Dec 2007 19:02:13 GMT
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: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


-- 
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message