Where Can I Find How To Configure Apache

May 31, 2009

Where can I find how to configure apache for web hosting correctly?

View 7 Replies


Configure Web Logs In Apache

Apr 26, 2008

I use linux server with Cpanel control panel.

default default apache logs folder is in /usr/local/apache/logs/error_log

I want to monitor errors . How can I have an error log file for each individual domain?

View 3 Replies View Related

Apache :: Cannot Configure To Work With PHP

Aug 7, 2014

(I am using apache 2.2.25).I have this "HTML5 and CSS all in one for dummies" Book. And it tells me I have to configure the .conf file to make apache work with PHP.

At this point I have only edited the Document root folder. The book tells me to find a Loadmodule with an # with a mention of PHP (I'll put the text of the book at the end) and to add an "addtype" statement. If have found neither and when I add the manually the server doesnt work.how can I make PHP work? Also, I have noticed that the Apache commands in CMD don't work. I am running windows 8.1. URL....

View 1 Replies View Related

Test Apache Configure

Oct 11, 2013

I'm working on a script to automatically install apache. Now, after the apache configure/make/make install I need to test for a successful completion. I checked the configure options but there is no flag for an unsuccessful finish.I would like to know if there is any other way than to test the command output for a successful or unsuccessful ending? I'm saving the output on a file and then grepping for an expected line. For example "creating test/ Makefile" for the configure.

View 2 Replies View Related

Common ./configure Parameters For Apache And PHP

Oct 28, 2007

What are the ./configure parameters commonly used for Apache (2.2) and PHP (5.2) installations on web hosting servers?

View 5 Replies View Related

Apache :: 2.4 - How To Configure Multiple Clusters

May 2, 2013

I wanted to configure 2 clusters on Apache 2.4. Here are my sample configurations

Cluster 1 config:

<VirtualHost *:80>
ServerName mywebsite1.com
<IfModule mod_proxy_balancer.c>
<Proxy balancer://sgcluster>
BalancerMember http://IPaddress1:80/ loadfactor=1
BalancerMember http://IPaddress2:80/ loadfactor=2
ProxySet lbmethod=byrequests

[Code] ....

I've included both configuration file in httpd.conf. I'm getting the errors, when I tried to start up the apache.

[Thu May 02 11:01:34.243583 2013] [slotmem_shm:debug] [pid 9240606:tid 1] mod_slotmem_shm.c(448): AH02301: attach looking for /opt/apache2/logs/slo
[Thu May 02 11:01:34.243667 2013] [lbmethod_heartbeat:notice] [pid 9240606:tid 1] AH02282: No slotmem from mod_heartmonitor

[Code] .....

View 2 Replies View Related

Apache :: How To Benchmark And Configure FCGI

May 23, 2015

how to benchmark and configure FCGI.

View 4 Replies View Related

Configure Apache Web Server To Use 2 Certificates?

Jun 18, 2013

I have a magento based ecommerce website. In have to integrate a payment method which requires a certificated delivered from a specific certification authority not recognized by browsers. Then I have to use 2 diffrent certificates, one for the payment and the other for the remaining secure operations. Is it configurable in apache?

View 6 Replies View Related

Apache :: VirtualHost - Configure Subdomains?

Jan 14, 2013

I have substituted the domain names and DocumentRoot folders for generic titles, so I will refer to those where applicable in the thread as well.

Here is my httpd-vhosts.conf:

<VirtualHost *:80>
DocumentRoot "C:WebServerwww"
<VirtualHost *:80>

[Code] ....

View 1 Replies View Related

Apache :: Windows - How To Configure 1 Process Per Client

Sep 19, 2014

I've got a quite difficult problem which I don't know hoe to solve. We use a self created ISAPI module which is a "business server" running behind an Apache.

From time to time a client app crashes the server (the circumstances are not quite clear) - and because there is only one server process, all other clients crash as well. Here is an exemplary log of a crash:

Faulting application name: httpd.exe, version:, time stamp: 0x4f242d7a
Faulting module name: ABCServer.dll, version:, time stamp: 0x53cfffa5
Exception code: 0xc00000fd
Fault offset: 0x00004cf6
Faulting process id: 0x94c
Faulting application start time: 0x01cfc5cc18c67d57
Faulting application path: C:Program Files (x86)Apache Software FoundationApache2.2inhttpd.exe
Faulting module path: C:datawwwabcremoteABCServer.dll
Report Id: d27d5891-31da-11e4-93ff-0003ff4356f9
Faulting package full name:
Faulting package-relative application ID:

Exception code: 0xc00000fd means stack overflow as I learnt. Therefore we configured mpm_winnt_module to use a 8M ThreadStackSize but this didn't work.

A solution might be that Apache starts for every client its own server process with the module ABCServer.dll. Because it is quite small and there are not thousands of customers this sounds like the perfect solution. No other clients/customers would be affected by a crash.

Unfortunately mpm_winnt_module supports only 1 process AFAIK. Worker and Prefork MPM are not available in Apache's Windows version what I read.

How can we configure Apache to start a new module process per client?

View 3 Replies View Related

Apache :: Cannot Configure Wordpress File In Wamp

Jan 21, 2014

I have installed wamp for editing word press theme every thing is ok but when I create new data base and start configuring my wordpress project file optional message appear when I click submit what should I do ?

View 4 Replies View Related

Configure Plesk That Apache Listen To Other Ports?

Oct 15, 2014

I have a SSL certificate for my website. I add the certificate to plesk and now I want use the certificate for diffrent ports.If I run only apache without plesk I need to add the ports to the apache conf where it listening too.At the moment apache listen only on port 844. But I want add 8443 too, how I do it in plesk?

View 4 Replies View Related

Apache :: Configure And Implement Server With Ssl Using Ldap For Authentication

Apr 28, 2015

I have a class project that we are working on where we have to configure and implement an Apache server with ssl using ldap for authentication. I have documentation of literally everything I have done in the configuration. Everything seems to be fine with the config that I can tell. The client gets a prompt for username and password when they access the server ip address. However, once the correct username and password are entered, then the client receives a 500 internal server error message instead of the webpage: "Internal Server Error...The server encountered an internal error or misconfiguration and was unable to complete your request.

View 1 Replies View Related

Apache :: Configure A Host To Use Vhosts But Server Keeps Breaking

Aug 29, 2013

I'm trying to configure a host to use vhosts but the server keeps breaking when I uncomment the Include vhosts file line. The apache process starts but none of the hostnames work. When the line is commented out, only the main hostname (defined in httpd.conf) works.

View 1 Replies View Related

Configure Apache To Send SSL Client Certificate To Backend Server

Dec 31, 2013

i want to configure Apache so that it receives a client certificate, an passes it to another server.I'm using:

- apache 2.0.65 on windows
- the backend server is an apache-based solution (IBM HTTP Server)

I tried this config:

<VirtualHost *:443>ServerName apacheserver.domain.comSSLEngine onSSLProxyEngine onSSLCertificateFile "e:/Apache/Apache2/conf/server.cer"SSLCertificateKeyFile "e:/Apache/Apache2/conf/server.key"SSLCACertificateFile "e:/Apache/Apache2/conf/certca.cer"SSLVerifyClient requireSSLVerifyDepth 2ProxyPreserveHost onProxyRequests off<Proxy *>AddDefaultCharset


View 1 Replies View Related

How To Configure Apache To Update Access Logs Files In Real Time

Jul 19, 2014

I'm trying to configure an custom access_log file for an custom file called "extra.php"

How I can make an log file that's log only "extra.php" ....

View 1 Replies View Related

Run Away Apache - Can Not Find Cuase

Sep 5, 2007

I am having a problem with my web server where apache is eating up all memory AND all swap. For example last night I left a SSH session open to my server running top sorted by memory usage and this am the server was down again, I was unable to reach it. I had request a reboot, but on my screen running top I had...

06:21:16 up 24 days, 2:47, 1 user, load average: 179.43, 137.53, 75.9
Cpu(s): 1.8%us, 9.4%sy, 0.0%ni, 0.0%id, 86.6%wa, 0.3%hi, 1.9%si, 0.0%st

It also reported 8mb of RAM free, and 0K of swap free. It was sorted on memory usage and my 17" monitor was filled only with httpd on that list, top entry said 385mb. This will happen with out fail fairly quickly if I do not intervene. Right now I have a cron script that runs ever hour and issues a

/etc/init.d/httpd restart

And that works until Apache runs out of semiphores, then I have to do a

/etc/init.d/httpd stop
for semid in `ipcs -s | grep apache | cut -f2 -d" "`; do ipcrm -s $semid; done
/etc/init.d/httpd start

for it to recover. Right now after the reboot, and 30 mins past the last httpd restart I have...

top - 11:33:05 up 2:00, 3 users, load average: 0.17, 0.12, 0.09
Tasks: 126 total, 1 running, 125 sleeping, 0 stopped, 0 zombie
Cpu(s): 7.1%us, 1.5%sy, 0.0%ni, 90.5%id, 0.8%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 960656k total, 785560k used, 175096k free, 40512k buffers
Swap: 1927792k total, 0k used, 1927792k free, 216472k cached

So all looks fine. Eventually that free number will fall to nothing, and the swap will start filling up. I do not see anything in the logs that is all that helpful. After a httpd restart I will have a lot more free ram.

Server is:

OS: CentOS 5.x x86_64 w/ PLESK + Power Pack

Hardware: AMD 64 Athlon 4200 DC/1024MB/160GB SATA

(if I could do it over I would not put PLESK on, turns out to be a PITB, my other servers do not have a control panel and all run fine... )

Apache is:

[root@www log]# rpm -q httpd

The primary function of this server is to run a web forum based on Invison Power Board, and I have kept up with their patches.

I have never had this problem on any server I have run.

View 14 Replies View Related

How To Configure Apache Logs For Virtual Host (copy Log File To Homedir Of User )

Jul 19, 2014

I'm trying to configure Apache logs to split logs files for every virtual host on the server

for example: {site1 .com} => copy access_log to /home/site1/public_html/logs {site2 .com} => copy access_log to /home/site2/public_html/logs .. {site3 .com} => copy access_log to /home/site3/public_html/logs

i want to also to make sure is the logs files updated in the real time

operating system is CentOs6, with Apache and cPanel

View 1 Replies View Related

[Apache] Anyway To Stop Bots Trying To Find Pages

Apr 22, 2009

Looking trough my logs I found something that bothers me, there are bots who keep doing requests on my website with pages like /admin or /secure to find vulnerabilities.
It's making about 5-6 requests for unexisting pages every second until it comes to the end of it's dictionary (the pages are even sorted in alphabetical order,

Is there some way to let my Apache server block access to these bots when they make X attemps to see a page who does not exists in a short amount of time? A bit like iptables reject connection if someone tries to log in but fails to do so too many times.

View 6 Replies View Related

Find Out Which .conf Files Apache 2.2 Is Loading

Apr 23, 2009

Is there a way to get Apache to tell me which .conf file it is loading at start-up?

There's a box that's misbehaving and Apache is running on port 80 and 8080 on the box... but we can't locate *why* it's running on port 8080. I can't find any Listen 8080 statement in the typical config files. If I knew which config files it was loading, I could go through all of the files in more detail.

View 4 Replies View Related

Apache :: Cannot Find Right Redirect Code For HTAccess

Feb 26, 2013

For an unknown reason Google is generating url extentions on rich snippet pages. the most common one that I get it domain.com/?SD I would like to get rid of ?SD and redirect to domain.com or / is enough Now, I am unable to redirect using htaccess %{QUERY_STRING} , and a few other syntaxes did not work.

View 2 Replies View Related

How To Find The Script Which Uses Exim And Apache To Send Spam

Mar 14, 2008

Not far ago somebody hacked our customer account through the vulnerability in phpBB Album module and uploaded some scripts. Then it started to send nigerian spam using exim and apache. These scripts were found and deleted and the Album module was fully deleted too. But when I look at the processes now I see that exim and httpd still start very often so the system resources are probably overused by them ......

View 7 Replies View Related

Using Find Command With Regex To Find All Number-only Filenames

Oct 15, 2007

how can i do a search for all files (probs using regex) of files consisting purely of numbers?

for e.g. find:


(always have 5 numbers).

seems one of my accounts has had some script run which generated a bunch of these in various subfolders, and the php file basically does a callback to www3.rssnews.ws and www3.xmldata.info, which seem to be some sort of spyware servers.

View 10 Replies View Related

Configure The Same DNS

Mar 27, 2008

some of my sites works good and some didn't work!

i check my site on checkdns.com and its show me this Error Report

CheckDNS.NET is verifying if NS are alive[url] NS list mismatch: registration authority reports that domain is hosted on the following servers: 'ns.sitename.com; ns1.sitename.com', but DNS server ns.sitename.com reports domain to be hosted on 'ns.sitename.com'. Please make sure that you configure the same DNS servers in registrar database and on your DNS

i saw the

PHP Code:

 [root@secure ]#  cat /etc/resolv.confnameserver xxx.xxx.xx.xxxnameserver xxx.xxx.xx.xxxnameserver xxx.xxx.xx.xxx[root@secure ]# 

i have 2 ip just

View 2 Replies View Related

Configure Two Nameservers?

Feb 16, 2008

I have a question on how to set up (clone) two nameservers.

I have two VPS' with two IPs that are totaly independent of each other. Both running ispCP with Apache2, mail, ftp, mysql, AND bind9 as DNS managment.

So. I want these two server to be as independent as they are, BUT they should share NameServers with each other.

Something like this:

ns1.domain.com = host1
ns2.domain.com = host2

ns1.domain.com = host1 (or host2?? = inverted)
ns2.domain.com = host2 (or host1?? = inverted)

A lot of domains are running more then one NameServer, but I could not find any tutorial on how to "clone" the NS from one to an other. Is it enough to just add some kind of "transfer to IP setting" in bind, or do I have to have scripts that download settings and files from one server to an other regularly?

View 2 Replies View Related

Configure Suexec And PHP

Mar 15, 2008

I have a problem in the last apache upgrade (apache 2.2.8 + php5) step .
exactly in "Configure Suexec and PHP"

I found this option doesn't have multi values as CGI or Suphp just I found none :

PHP 5 Handler none

PHP 4 Handler none

I must to return to build apache1 with php4 for I can see suphp and cgi in "Configure Suexec and PHP" "PHP 4 Handler" option .

View 5 Replies View Related

Best Way To Configure MySQL

Jun 17, 2008

On my server I'd like to keep sites as fast as possible and not drain too much on the server. I don't have many users, but I'd like to get it right the first time. What's the best DB engine to use? What about other settings? I'm not sure I should run caching yet, I'm not under much load.

The server is running on Windows.

View 5 Replies View Related

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