I have Apache 2.2.26 running on OS X 10.9.3.My situation is that I consistently get an error that client denied by server configuration when accessing /server-status.
shows blank page, once I click "mark as spam' in Wordpress, it gives me default page cannot load browser error (found that many people experiencing this with mod_security enabled, but I have this one disabled) and few other problems.
Does anyone know any differences between Server API set to CGI instead Apache which could cause those problems?
I've just setup an apache web server on my Windows Vista machine. The purpose of this webserver is to provide my LAN with a PHP based client database program.
I've finally got everything working (including Apache 2.2.6, MySQL 5, PHP 5 and SSL). The only issue now is that when I go to a website (on the net) that has a secure page, for some reason, my localhost/apache server is trying to authenticate the SSL certificate. As a result I am getting a window pop up saying that the certificate for 192.168.1.100 does not match the domain name of the website being contacted, would I like to continue.
I know that it is a problem with my webserver configuration because if I turn it off and contact the site, everything works fine (no error messages). Once I re-start the apache server, I get the error messages again.
I don't know if it matters, but, the SSL certificate used on my server was created by myself with openssl.
Not sure if this is an Apache issue but I'm guessing it is. I also have cPanel on this server.
I made a PHP script and placed it on my server. This script has a function that will create a new file on the server, say a .txt file with information in it. When I go to do anything with that file that is created such as edit it, I get a permission denied from the server.
Someone guessed that it is possible that when the PHP file is creating a new file on the server, it automatically places its permissions under root/apache, making it inaccessible for the cPanel user... if this were the case how could I potentially solve this issue?
I just restarted the Apache Server, because my server was using 4GB out of physical memory and 1.5GB out of 2GB swap memory.
This is happening while Apache is only processing 3 requests per second and the server specifications are huge overkill. Dual Xeon E5420 SuperMicro Barebone with 4GB DDR2 ECC fully buffered Memory.
I have problems finding the reasons to the leak. I have restarted the apache server so I cannot provide top and server-status information, until the next memory problems.
I have seen 50 httpd pid's in top (could be more) with 250mb per process. Pretty huge. While that specific pid in /server-status was only serving e.g. a 1kg image.
Code: # # Timeout: The number of seconds before receives and sends time out. # Timeout 120
# # KeepAlive: Whether or not to allow persistent connections (more than # one request per connection). Set to "Off" to deactivate. # KeepAlive Off
# # MaxKeepAliveRequests: The maximum number of requests to allow # during a persistent connection. Set to 0 to allow an unlimited amount. # We recommend you leave this number high, for maximum performance. # MaxKeepAliveRequests 100
# # KeepAliveTimeout: Number of seconds to wait for the next request from the # same client on the same connection. # KeepAliveTimeout 15
# prefork MPM # StartServers: number of server processes to start # MinSpareServers: minimum number of server processes which are kept spare # MaxSpareServers: maximum number of server processes which are kept spare # ServerLimit: maximum value for MaxClients for the lifetime of the server # MaxClients: maximum number of server processes allowed to start # MaxRequestsPerChild: maximum number of requests a server process serves <IfModule prefork.c> StartServers 24 MinSpareServers 5 MaxSpareServers 100 ServerLimit 256 MaxClients 256 MaxRequestsPerChild 4000 </IfModule>
# worker MPM # StartServers: initial number of server processes to start # MaxClients: maximum number of simultaneous client connections # MinSpareThreads: minimum number of worker threads which are kept spare # MaxSpareThreads: maximum number of worker threads which are kept spare # ThreadsPerChild: constant number of worker threads in each server process # MaxRequestsPerChild: maximum number of requests a server process serves <IfModule worker.c> StartServers 8 MaxClients 1500 MinSpareThreads 125 MaxSpareThreads 750 ThreadsPerChild 25 MaxRequestsPerChild 0 </IfModule>
I recently had to move my site from Linux to Windows hosting because I was adding an application that requires ASP.NET. The problem is the server that it uses (Windows iis) makes other parts of my site not work.
So my programer recommended using an Apache server with my Windows VPS (or hosting - I have no specific preference of either VPS or hosting) -
Does anyone know a hosting company that does this? Offers Windows hosting with an Apache server?
I am trying to host an apache web server on my xp home edition but i am running into a few problems. First off i purchased a domain name of "hollingsworthsolutions.com".
I am using zoneedit for my name servers: primary: ns15.zoneedit.com 69.10.134.195 and secondary: ns9.zoneedit.com 66.240.231.42.
My ISp blocks port 80 but apparently there is a simple work around by utilizing a Web Forward so i am using the following information per their guide: hollingsworthsolutions.com [url] [url] [url]
And my IP address on their site is configured as ww2.hollingsworthsolutions.com which points to 148.100.213.142
The following is a copy paste of my httpd.conf file ---------------------------------------------------------------
DocumentRoot "C:Documents and SettingsDeadalusDesktophtdocshollingsworthsolutions"
<Directory /> Options FollowSymLinks AllowOverride none Order deny,allow Allow from all </Directory>
<Directory "C:Documents and SettingsDeadalusDesktophtdocshollingsworthsolutions"> Options Indexes FollowSymLinks AllowOverride None Allow from all </Directory>
<Directory "C:Documents and SettingsDeadalusDesktophtdocshollingsworthsolutions"> Options FollowSymLinks AllowOverride none Order allow,deny Allow from all </Directory>
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin"> AllowOverride none Options None Order allow,deny Allow from all </Directory>
<VirtualHost 148.100.213.142:5000> DocumentRoot "C:Documents and SettingsDeadalusDesktophtdocshollingsworthsolutions" ServerName ww2.hollingsworthsolutions.com </VirtualHost> ----------------------------------------------------------------
Port 5000 is open in my firewall. Also when i enter www.hollingsworthsolutions.com into my browsers url it does indeed attempt to redirect me... That being said I have tried almost everything for people from the internet to access my page,
ive created myself a little test site and i mananged to host it with a server thats sitting behind a nat router by forwarding port 80 to it, this site can be accessed from outside my home network by entering the ip address of my router into internet explorer.
then i create myself a free host at no-ip.com and i used the .servegame.com option so its MySite.servegame.com.
it succesfully resolves to my ip becuese when i ping it from the wndows command line it pings the IP of my router.
but for some reason it cant be used to acces my site through a web browser.
the only thing i can think of is that it has somehhing to do with the "domain name" and "server name" fields that you have to fill in while installing apache although no matter what i put into those fields i can stil access my site using my routers IP.
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
i have set up an apache server on the redhat CentOS 4.2.my apache server is running very slow. will u pls tell me which parameters do i need to check for this problem? which parameters do we check for monitering the apache server?
I just got a new box, can someone tell me the recommend values for Apache and MySQL config? It's a Xeon 3060, 2GB of memory, 2x250GB SATAII. I have a few static sites and a high traffic mysql/php forum with ~600,000 posts and about 60 members active in 15 minute intervals.
The Apache server on one of my box crashed last night and the log file simply states: [Fri Mar 09 23:51:49 2007] [notice] caught SIGTERM, shutting down
One thing puzzled me is that there are a couple of symbolic links created in Apache home directory:
i have a dedicated server to host a few high traffics proxy sites. I am running apache 1.3 with P4 1.8Ghz
The apache web server is very unstable, it is always crashes and i have to restart it many times in a day, below are the common error message i see in the error log when the server is crashed :
[Tue Jun 5 07:52:47 2007] [warn] child process 19413 still did not exit, sending a SIGTERM [Tue Jun 5 07:52:51 2007] [error] child process 19413 still did not exit, sending a SIGKILL [Tue Jun 5 07:52:51 2007] [notice] caught SIGTERM, shutting down
Can anyone has any idea on how to fix this issue ? Is my server overloaded that caused the server crashes ? What is the best configurations i can have for my httpd.conf to handle the high number of concurrent connections and high traffics to the server?
We are installing Apache Web Server httpd-2.2.29 in AIX 7.1
While running the command ./configure --prefix=/usr/sap/apache --enable-mods-shared=most --with-mpm=prefork --with-expat=builtin --with-included-apr we get the below output:
checking for chosen layout... Apache checking for working mkdir -p... yes checking build system type... powerpc-ibm-aix7.1.0.0 checking host system type... powerpc-ibm-aix7.1.0.0 checking target system type... powerpc-ibm-aix7.1.0.0
[Code] ....
Also while running ./buildconf we get the below output:
found apr source: srclib/apr found apr-util source: srclib/apr-util rebuilding srclib/apr/configure buildconf: checking installation... buildconf: python version 2.7.5 (ok) buildconf: autoconf version 2.69 (ok)
I have have Two Apache Webserver in One Network On one Static Ip. Both Apache Severs are installed on Ubuntu 12.04.First Webserver Setup hostname apache, domain name test.com.On this web server i Run My Website,Email, And 2 Php Webapps.last night i setup a second separate(own pc) apache Server(ubuntu 12.04) as a Cloud Server.(own cloud) hostname cloud, domain name cloud.test.com..my question is how can access both server via port 80 from the world.Right now i only can access Server 1 from the web.
I nat port 80 to both static lan adresses in the network.I use (pfsense) for the router.i try to reach my Second Server with cloud.test.com
We've been thinking about writing our own hosting control panel for our own "tight" hosting setup, so that can alter the panel just to our needs without relying on updates from anybody else.
To read new configurations in Lighttpd or Apache, as far as I know, requires the software to be restarted (for example service apache restart). Are there any negative effects of this, I'm assuming that whilst being restarted there is a small amount of time during which the software is "down" and websites can't be accessed during that period (probably <1 second). Am I correct?
What is the best way to reload configurations into these http servers without service interruption? I notice that DirectAdmin seems to just restart Apache on any function that alters the configuration file - for example adding a new user.
my apache has failed. I was setting up the try out section for RVSITEBUILDER ([url]
I performed the run /scripts/restartsrv httpd task and now Apache has failed.
So i first undid what i have just done and tried doing run /scripts/restartsrv httpd but still no luck, so i then tried /scripts/rebuildhttpdconf and then /scripts/restartsrv httpd but still no luck.
I then tried the WHM > Software > EasyApache (Apache Update) to rebuild Apache and after doing that, it came up with an error and still Apache will not start gracefully.
The only way i can get apache to start is by using: 'apachectl start'
But i have noticed that any secure https websites are not working.