473,902 Members | 5,194 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Apache2 and javascript

3 New Member
As a re-introduction to linux I recently installed Ubuntu's LAMP server version 7.04.
The issue that I'm having is that I'm having some difficulty getting anything with a .js extension to run. I think, but am not sure, that it's an issue with my Apache config. So, my question is two fold, should the Apache2 install be able to handle .js extensions out of the box, and if not what mods do I need to include for Apache to handle them?

Thank you for your time,

Byron
Oct 11 '07 #1
4 8149
Motoma
3,237 Recognized Expert Specialist
As a re-introduction to linux I recently installed Ubuntu's LAMP server version 7.04.
The issue that I'm having is that I'm having some difficulty getting anything with a .js extension to run. I think, but am not sure, that it's an issue with my Apache config. So, my question is two fold, should the Apache2 install be able to handle .js extensions out of the box, and if not what mods do I need to include for Apache to handle them?

Thank you for your time,

Byron
Javascript is run client-side; that is, it is run on the user's computer, in the web browser, without any processing from Apache.
Oct 11 '07 #2
shanbyrt
3 New Member
Javascript is run client-side; that is, it is run on the user's computer, in the web browser, without any processing from Apache.
That's what I thought. I'm perplexed as why the javascript includes don't seem to be registering with my browser. Another point of complication might be that I'm tinkering with Adobe's Spry AJAX framework and there may be some XML things that I'm missing. Any thoughts there?

Thanks for your time.

Byron
Oct 11 '07 #3
shanbyrt
3 New Member
OK, It is definitely something else... I just loaded spry example and all is working well. I just need to scrape my way through some things. Thank you for your time and help.

Best regards,

Byron
Oct 11 '07 #4
Motoma
3,237 Recognized Expert Specialist
OK, It is definitely something else... I just loaded spry example and all is working well. I just need to scrape my way through some things. Thank you for your time and help.

Best regards,

Byron
Good luck and welcome to The Scripts. Come back if you have any further problems.
Oct 11 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
2203
by: Aldo Polli | last post by:
Hi, I have this error when I start apache2 with php4 Syntax error on line 233 of /mypath/apache2/conf/httpd.conf: Cannot load /mypath/apache2/modules/libphp4.so into server: dynamic linker: /mypath/apache2/bin/httpd: relocation error: symbol not found: ap_pass_brigade; referenced from: /mypath/apache2/modules/libphp4.so I compile apache 2.0.46 with
1
2783
by: FL | last post by:
Hi, I'm tring to *test* php5 beta2 as module with Apache 2.0.48 and win2k (I know, I'm nuts :o) First, there is no php5apache2.dll in the beta2 package but a php4apache2.dll (php.net doc mention php5apache2.dll at http://www.php.net/manual/en/install.apache2.php) I usually copy php4apache2.dll and php4ts.dll in the Apache2/modules/
5
2806
by: Ad Astra | last post by:
I am completely new to PHP and am finding installation the most difficult part to understand and implement. Could someone please review the rather long missive below and assist me? I have provided it in as clear a fashion as possible. COMPONENTS * Windows XP (Home) * Apache2 server (successfully installed; located as
0
1701
by: vrillusions | last post by:
I had to compile my own php to get ldap support since the latest php packages for slackware don't have it. So I do the compile and then it doesn't work. I check the apache log and it segfaults. CLI works fine and doesn't give any errors. Here's some debug info (i know the gdb output isn't all that helpful, I guess I can enable debugging on php if it would help. although I assumed that was all coming from the apache part): Slackware...
2
14176
by: Mike | last post by:
I am sure that I am making a simple boneheaded mistake and I would appreciate your help in spotting in. I have just installed apache_2.0.53-win32-x86-no_ssl.exe php-5.0.3-Win32.zip Smarty-2.6.7.tar.gz on a system running WindowsXP SP2. Apache and PHP tested out fine. After adding Smarty, I ran the following http://localhost/testphp.php
1
3707
by: news8080 | last post by:
I downloaded a GUI for nagios that uses PHP but when I point the browser at the PHP file, it shows me the source of .php file instead of executing it, if i use command line 'php filname.php' then I see exepected result but why can I not do that via web?? # /usr/local/bin/php -v PHP 4.4.0 (cli) (built: Jul 21 2005 11:55:49) Copyright (c) 1997-2004 The PHP Group
2
2571
by: mmr315 | last post by:
i write 2 php files for uploading file ,it is giving error like Undefined index: C:\\Apache2.2 in C:\\Apache2.2\\htdocs\\upload_file.php on line 11, upload.php -------------------- <html> <body> <form action="upload_file.php" method="post" enctype="multipart/form-data"> <label for="file">Filename:</label> <input type="file" name="file" id="file" />
5
6521
RedSon
by: RedSon | last post by:
Grr! I've been trying to set up apache2 to serve my bugzilla page for like a week now and I give up! I installed bugzilla: /srv$ ls -l drwxr-xr-x www-data www-data bugzilla I've tried to create a bugzilla site
2
2107
by: sasimca007 | last post by:
If we are using Apache1.3.31 version then in man apache will come and we can use default functions and variables like document_root and send_http_header() etc... But in Apache2 version what is the solution to use those or replaced because when we type man apache or man apache2 then it will not come and showing there is no man page for apache2. Then what is the solution to use those variables or functions used in apache to be replaced in...
0
9845
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11279
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10872
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10499
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9675
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5893
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6085
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4725
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3323
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.