Server API - Apache

May 6, 2008

I've some issues with Server API set to Apache. Wordpress PHP include widgets doesn't load at all, script similar to this:

PHP Code:

$fp = @fsockopen("domain.com", "80",$errno, $errstr, 
$timeout="5");
if($fp) { require... 

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?

View 5 Replies


ADVERTISEMENT

Apache :: Redirect - Internal Server Through External Server

Oct 7, 2014

I have a -I think- common issue, one external server available from internet and an internal server for local only.

I want that to ask for [URL] ....

I can get the content of an internal server. For this I tried this at httpd.conf:

Redirect /site http://in.ter.nal.ip/site

but browser changes to internal IP and obviously I can't reach it.

So, I need that when external server detects that I want to see internal server content, it ask to internal and external itself answers.

View 2 Replies View Related

Apache :: Server-status Denied By Server Configuration

Jun 8, 2014

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.

View 1 Replies View Related

IIS & Apache On The Same Server?

Mar 26, 2008

installing apache and IIS on the same server (windows 2003) using different IP addresses.

Could anybody advise me on whether this a bad thing to do or is there anything I should consider before I do this?

View 5 Replies View Related

Apache Server

Dec 17, 2007

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.

View 0 Replies View Related

Ftp Server Using Apache

Mar 21, 2007

Can i configure a ftp server using apache on windows?

If yes then how can i do that?

View 0 Replies View Related

Permissions On Apache Server

Jun 10, 2009

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.

For example, FTP returns:

"Response: 550 Rename/move failure: Permission denied. "

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?

View 5 Replies View Related

Swapping Apache Server

May 2, 2009

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

##
## Server-Pool Size Regulation (MPM specific)
##

# 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>

View 5 Replies View Related

Apache Server On Windows VPS

Jun 24, 2009

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?

View 1 Replies View Related

Apache Server Technicial

Apr 17, 2009

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
---------------------------------------------------------------

ServerRoot "C:/Program Files/Apache Software Foundation/Apache2.2"

Listen 5000

ServerName hollingsworthsolutions.com

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>

<IfModule dir_module>
DirectoryIndex index.html
</IfModule>

# Example:
# Redirect permanent /foo http://www.hollingsworthsolutions.com/bar

<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,

View 3 Replies View Related

Apache Server And No-ip.com Free Dns

Jun 7, 2008

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.

View 1 Replies View Related

Secure Apache Server

Sep 8, 2007

Is anyone have a ebook or article about secure linux server and apache .

I want to secure own server and my vps customer

my linux system : Centos

also i have cpanel control panel

View 3 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

Which Is The Best For Dedicated Apache Server

Mar 13, 2007

I am trying to decide which suits more server that is running apache and emails just, as mysql is on another server.

Dual Processor Dual Core Xeon 5140 - 2.33GHz (Woodcrest) - 2 x 4MB cache

Dual Processor Quad Core Xeon 5310 - 1.6 GHz (Clovertown) - 2 x 8MB cache

Both are close in price.

View 0 Replies View Related

Monitoring The Apache Server

Jan 16, 2007

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?

View 0 Replies View Related

Apache And MySQL For New Server

May 16, 2007

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.

View 1 Replies View Related

Apache Server Crash

Mar 10, 2007

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:

lrwxrwxrwx 1 root root 25 Mar 9 23:51 build;45f23959 -> ../../usr/lib/httpd/build
lrwxrwxrwx 1 root root 19 Mar 9 23:51 logs;45f23959 -> ../../var/log/httpd

They were created around the same time when Apached stopped.

Has anyone seen similar things like this? What could be the root cause?

View 5 Replies View Related

Apache Web Server Down Very Oftern

Jun 9, 2007

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?

View 5 Replies View Related

Apache :: New Server Set Up Solusvm / KVM

Jan 12, 2014

This is what we are trying to do..

Set up solusvm with KVM so that we can sell vps servers

Solusvm must be installed on SSD

Configure rsync back ups to backup the entire server to another server. Every 2 days.

Set up one VPS server on the new set up

Install cpanel

Optimize cpanel for magento and wordpress hosting

Configure r1soft backups for cpanel so users can backup and restore their sites.

Install varnish for apache

Server specs
E3
32gm ram
2x 2tb in RAID 1
1x 128GB SSD (centosos 64 loaded here)

View 1 Replies View Related

Apache :: Web Server Installation In AIX 7.1

Oct 9, 2014

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)

[Code] .....

Below are the rpms in our system:

AIX-rpm-7.1.2.15-1
tcl-8.4.7-3
tk-8.4.7-3
expect-5.42.1-3
wget-1.9.1-1
gcc-4.2.0-3

[Code] ....

We have m4 version 1.4.17

Also, can we use pre-compiled Apache Web server? What are the disadvantages in going for a pre-compiled configuration.

I have referred several other forums and tried many options like setting the environment variables, trying different commands but all in vain.

View 1 Replies View Related

Apache :: Server Can't Be Reached

May 27, 2014

Every night at the same time HTTPD gets overloaded and stops running. I have to do a reboot. What could be the problem?

View 2 Replies View Related

Apache :: Server Could Not Start?

Jan 13, 2013

Server easily install but it could not be start ,,,it says that Server Root must be a directory..

View 1 Replies View Related

Apache :: Two Web Server - One Network

Jan 19, 2014

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

View 6 Replies View Related

Lighttpd / Apache - Restarting The Server

May 30, 2009

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.

View 4 Replies View Related

Apache Failed, On Cpanel Server

May 12, 2009

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.

View 14 Replies View Related

Apache Errors / Down Server Seems Busy

Apr 20, 2008

Tailed apache logs and found this:

[Sun Apr 20 08:29:34 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10308 for (*)
[Sun Apr 20 08:29:34 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10309 for worker proxy:reverse
[Sun Apr 20 08:29:34 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10310 for worker proxy:reverse
[Sun Apr 20 08:29:34 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
[Sun Apr 20 08:29:34 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
[Sun Apr 20 08:29:34 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10309 for (*)
[Sun Apr 20 08:29:34 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10310 for (*)
[Sun Apr 20 08:29:35 2008] [info] server seems busy, (you may need to increase StartServers, or Min/MaxSpareServers), spawning 8 children, there are 2 idle, and 45 total children
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10311 for worker proxy:reverse
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10311 for (*)
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10312 for worker proxy:reverse
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10312 for (*)
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10313 for worker proxy:reverse
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10313 for (*)
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10314 for worker proxy:reverse
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10314 for (*)
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10315 for worker proxy:reverse
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10315 for (*)
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10316 for worker proxy:reverse
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10316 for (*)
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10317 for worker proxy:reverse
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10317 for (*)
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1670): proxy: grabbed scoreboard slot 0 in child 10318 for worker proxy:reverse
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1689): proxy: worker proxy:reverse already initialized
[Sun Apr 20 08:29:35 2008] [debug] proxy_util.c(1778): proxy: initialized single connection worker 0 in child 10318 for (*)

What on earth is all these proxy_util.c errors?

Also, I could not find any details in the httpd.conf file regarding StartServers, or Min/MaxSpareServers.

I'm using Centos 4 / Apache 2.2 / PHP 5 / Cpanel

View 4 Replies View Related

Blocking Whole Server Apache From China

Nov 20, 2008

My server is getting a lot of spam robots registering as fake users into my forums (altho most emails are invalid

View 2 Replies View Related

Server Down After Start Apache! Too Many Connection

Nov 16, 2008

Server down after start apache! Too many connection!

When im start apache on server, its crashed.

I am see following error, in access log:

Where is issue and how can fix it?

-bash-3.1# tail -f /var/log/httpd/access_log
::1 - - [16/Nov/2008:20:54:23 +0330] "GET / HTTP/1.0" 403 5043 "-" "Apache/2.2.3 (CentOS) (internal dummy connection)"
::1 - - [16/Nov/2008:20:54:24 +0330] "GET / HTTP/1.0" 403 5043 "-" "Apache/2.2.3 (CentOS) (internal dummy connection)" ....

View 4 Replies View Related

Apache Is Working On Your CPanelŽ & WHM Server

May 26, 2007

I was changing IP Addresses on one of my domains on my VPS to a spare fresh IP.

Since doing this, my DNS hasn't fully propgated, so I'm then facing this message.

Apache is working on your cPanelŽ and WHM™ Server

Now my question is, how do I change this default green Cpanel page? Could I swap it with my own page?

View 5 Replies View Related

Running Apache On Windows Server

Oct 27, 2008

How stable is Apache for Windows XP Pro?

Can i get the mod_rewrite to work just fine?

Is this a good idea if im no linux buff, or should i just go ISS?

View 8 Replies View Related







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