Version 2 of the Apache HTTP Server. When asking questions about virtualhosts, please include the output of the following command: "apache2ctl -S" (or "httpd -S" depending on your OS)

learn more… | top users | synonyms (2)

0
votes
0answers
9 views

Apache memory usage with 404

We're facing a problem with an apache server serving static files. When there are lots of requests for a resource that doesn't exist the apache starts to grow in number of processes and memory usage ...
0
votes
0answers
8 views

Protection against HTTP Flood

Had a bit of an issue with a client site recently, and ultimately it ended up in over 24 hours of downtime due to liaising with our hosting company who suspended the hosting for this specific client. ...
-1
votes
0answers
4 views

how to start the apache tomcat network service?

if i start to start the service that will the this message the Apache tomcat 7 service on local computer started and then stopped. some services stop automatically if they have no work please any one ...
0
votes
0answers
11 views

Reloading php-fpm and apache without interrupting current requests/scripts

I got Apache 2.4 with mod_proxy_fastcgi, PHP 5.4 with PHP-fpm installed and i've separated every site with a pool. I got a page that posts info to a php application that runs a script on the ...
-2
votes
1answer
17 views

Accessing name virtual host project from another computer connected to same network [closed]

I have project with named host setup for it the settings are as follows /etc/apache2/sites-available/ourserver.local <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName ...
0
votes
0answers
6 views

How to log only real ip on apache using x-forward-for [duplicate]

I have ELB and Server A on AWS. In apache log format, I am using x-forward-for to get the real ip address. However, I noticed in the logs that it includes proxy ip address such like this... ...
0
votes
0answers
11 views

Best practice for setting up RVM, Passenger/Apache with multiple Rubies and running as specific users?

My goal is to run ruby applications under different server users with potentially different versions of ruby. So i would have users that serve as the "hosting account" essentially. Document ...
-1
votes
0answers
14 views

Can the netstat command show what specific website a user is on?

I'm currently under an Apache DDoS attack and have 13 websites shared under one server. I can use the netstat command to see the # of connections per IP, but not what website they're actually on. I ...
0
votes
0answers
7 views

What should .php and .html permissions be for a Linux webserver? [duplicate]

I modified all of the files that make up my simple website as root, so all of the "user" and "group" fields are set to "root". The rwx permissions are set to -rw-r--r--. It seems like this might be ...
0
votes
2answers
28 views

Apache Log - can they be used to see if a file is ever called/used

This is an odd question but my gut tells me there is an easy way to do this: I have a project that is always in development and is in PHP and it is 14 years old. Despite every attempt to keep on top ...
-1
votes
0answers
12 views

404 when trying to use PHPFarm with Apache2 [closed]

I followed this tutorial: http://www.metod.si/multiple-php-versions-with-apache-2-fastcgi-phpfarm-on-ubuntu/ All is similar, then I put php file (info.php) to /var/www, but when trying to access ...
0
votes
2answers
16 views

Can you block an ip with multiple connections? (Apache ddos attack)

My server is under a Apache ddos attack right now. There's a ton of single ip addresses with 30+ connections. When I use this SSH command: netstat -n | grep ':80' | awk -F' ' '{print $5}' | awk ...
-2
votes
0answers
9 views

Can I get rid of any of the below apache modules? [closed]

I was reading some info about httpd and apparently a httpd process should use about 17Mb and that value depends on the modules loaded.Each of my httpd processes are using 100mb(res column from top ...
0
votes
1answer
37 views

Force apache start after mysql

I have the problem that my apache2 doesn't start at boot. After debugging I found out that a webpage init script tried to connect to MySQL which isn't running at that time. My OS is Ubuntu Server ...
-1
votes
0answers
8 views

Too many apache modules loaded? [closed]

I was reading some info about httpd and apparently a httpd process should use about 17Mb and that value depends on the modules loaded.Each of my httpd processes are using 100mb(res column from top ...
-1
votes
0answers
7 views

manually set dns entries on a testbed [closed]

I am setting up a apache server with virtual hosts. I am wondering if it is possible to setup a test dns server on a virtual box to test the hosts. If so how would I go about doing that?
0
votes
0answers
14 views

How to have a vhost point to another vhost's sub folder URL

I have 2 Virtual hosts set up like this... vhosts/domain which is accessed at www.domain.com and vhosts/domainblog which is accessed at www.domain.com/blog Well the blog part is not setup yet, ...
0
votes
2answers
33 views

Httpd processes using more memory over time

I am using a 3gb memory VPS Centos 6 server.If I reboot it I get about 4 or 5 httpd services running and all of them use about 2.5% of memory (86m on the res column from top command). I am running ...
1
vote
1answer
42 views

Changing port 80 to 8080 in Apache

I'm trying to change the port used by a website from 80 to 8080. Here is my /etc/apache2/ports.conf: NameVirtualHost *:80 NameVirtualHost *:8080 Listen 80 Listen 8080 Here is my VirtualHost file: ...
0
votes
1answer
25 views

Install Apache from Source or from Binary?

I work on a platform which serves several different projects. For the most part, all of the projects install their web server using Red Hat's RPM. We never created a policy for this which would ...
0
votes
1answer
28 views

apache2 not starting at boot. Even if set up in runlevels

On my Ubuntu 10.04.4 server apache2 2.2.14 is installed. A few months ago starting apache2 at boot worked fine. Now I've found out that after a reboot apache2 doesn't start automatically anymore. ...
1
vote
0answers
18 views

Debian after upgrade Apache to 2.4.4, Libapache2-svn won't work

I've had a working Apache2 with SVN running for a long time. For some other reason I had to do a system upgrade: apt-get upgrade Everything seemed to go OK, except my Apache2 configuration. Now it ...
0
votes
2answers
25 views

apache2 hanging on “Sending Reply”/“Gracefully Finishing”

On my Ubuntu 10.04.4 server, apache2 2.2.14 eats up all the memory until there is no more left because it isn't shutting down old instances. The server serves a small webpage which gets about one ...
0
votes
1answer
20 views

How to redirect HTTP post request

Hi I am currently using the below code in my apache httpd.conf file to redirect from HTTP to HTTPS <VirtualHost 10.1.2.91:80> Redirect 302 /GladQE/link https://glad-test.com/GladQE/link.do ...
0
votes
1answer
19 views

How to configure http.conf without a ServerName?

I've the following example given to me to set up rails on CentOS with apache / passenger: <virtualhost *:80> RailsEnv development ServerName app.com ServerAlias www.app.com DocumentRoot ...
2
votes
1answer
23 views

Certificate Authentication from Salesforce.com through a reverse proxy

I am attempting to allow Salesforce.com to connect to a biztalk instance that sits inside our corporate network. In between, is a reverse proxy and a series of firewalls. When a standard HTTP ...
0
votes
0answers
15 views

How can I check if an nginx module is installed via nginx config?

What I want to do is guard against configuration segments with invalid directives being run in an nginx that doesn't have the proper module installed. Something like the IfModule directive in Apache ...
1
vote
2answers
26 views

mod_rewrite to redirect to different virtualhost

The hostname where I want to redirect to looks like: <VirtualHost *:80> ServerName my.dav.hostname.com ErrorLog /var/log/open-xchange/dav-err.log TransferLog ...
-2
votes
1answer
32 views

What type of amazon ec2 instance should i take ? And how many of them? [duplicate]

I will be hosting a website . Our initial target will be around 50,000 unique visitors a day . Files are served using apache/php and the realtime events (likes,comments) are handled using a nodejs ...
-1
votes
1answer
24 views

Forward a subdomain to another port on my domain without root [closed]

I've got a subdomain, stream.mydomain.com, and I'd like to forward this address to mydomain.com/4040 while keeping the URL 'stream.mydomain.com'. I've seen this thread, and that is exactly what I ...
0
votes
0answers
10 views

Proxy error encountered for ajax call to Tomcat

One of the testers of our webapp has reported encountering "Proxy Error: The proxy server received an invalid response from an upstream server. The proxy server could not handle the request POST ...
-1
votes
1answer
24 views

Rolling back to Apache 2.2 on debian

Is there a way to replace Apache 2.4 with Apache 2.2 on debian? All the "apache2" packages now install 2.4.
0
votes
1answer
28 views

Unable to access Apache

How do you diagnose problems accessing an Apache site on Fedora? I deleted everything in my /var/log, then restarted rsyslog and httpd. Then cat /var/log/messages gives me: Jun 3 21:43:09 localhost ...
0
votes
1answer
22 views

Possible to prevent hotlinking when apache server has no domain name?

I have a LAMP + Wordpress server that I access with the IP address only. I don't plan on getting a domain name for the server. I want to know if it is possible to prevent hotlinking of resources if ...
0
votes
1answer
28 views

Apache multiple IPs and VirtualHosts

I have two IPs that I can use on my linode, I have three websites running on the server all on different domains, two of them run also on SSL Here is the relevant parts of my httpd.conf (running ...
-1
votes
0answers
22 views

My PHP scripts on my apache2 server appear to be executing in the root directory of the server [closed]

My PHP scripts weren't working properly, so I coded in a quick directory iterator to see where the scripts were running. It appears that my php scripts, which are stored in /var/www/[site]/html are ...
-7
votes
0answers
26 views

What's the best setup for ebook site? [closed]

I have an employer who wishes to charge a monthly fee for users to be able to read ebooks (unlimited number of them). The employer has a text format in which the ebook must be submitted to the site, ...
1
vote
0answers
20 views

Dynamically assign Apache document root from table in MySQL

I currently use mod_vhost_dbd to pull a path from MySQL and insert as a docroot for Apache. This allows me to dynamically change customers from a production to a beta copy of our app with a simple db ...
0
votes
1answer
27 views

Subdomain apache problems

So I'm trying to get apache to have multiple subdomains, but whenever I try and start apache I'm getting the following error: (98)Address already in use: make_sock: could not bind to address [::]:80 ...
0
votes
1answer
16 views

Attempting to use mod_pagespeed on Arch Linux

I have a feeling I'm missing something obvious. Disclaimer: I'm not very experienced with linux/apache, or just about anything involved. I'm trying to use mod_pagespeed on Arch Linux; there is no ...
1
vote
1answer
27 views

Default Apache test page when on SSL

I have the exact same configuration for my rails site on a staging server and a production server, aside from the "staging" vs "production" in the file paths. They're both set up to redirect all ...
-1
votes
0answers
16 views

Client Server Socket establishment (TCP/IP handshake) [closed]

this may sound like a dumb question. but nevertheless i am brave to ask :) i am trying to get my head around a "typical" client server connection, how the connection is established, what roles the ...
-2
votes
0answers
18 views

Proxy content with Apache without mod_proxy [closed]

I would like to make use of a shared hosting account to proxy connections for a specific URL root to a personal web server (the shared hosting doesn't have new enough PHP for the product I am using). ...
1
vote
3answers
44 views

Apache rewrite http request to https

I have an apache server v2.2, with a virtual host on 80 and another with SSL on 444. I would like to redirect all this kind of request: http://domain.tld:444/dir1 http://domain.tld:444/dir2 ...
0
votes
0answers
14 views

Apache AB (ApacheBench) : -no-check-certificate option available?

It seems there is no option to avoid this error : "Verify return code: 20 (unable to get local issuer certificate)". Is there a way to avoid issuer ssl check with AB (like wget's -no-check-certificate ...
1
vote
0answers
14 views

FallbackResource directive works for any URI except `/`

I am using a FallbackResource directive to implement a front controller. Apache should redirect all requests to index.php in the document root, unless there is a file at the requested URI. This is ...
0
votes
1answer
22 views

subversion post-commit hook not triggered

I'm using subversion together with Apache. I have my repo, owned by apache user and everything is running well, except post-commit hook. Whatever I have tested, code within post-commit script is not ...
1
vote
2answers
42 views

Can I mod rewrite to a different document root?

Given a URL: http://example.com/some-file.zip The document root for example.com is /var/www/example.com/ I want apache to: 1) If /var/www/example.com/some-file.zip exists, serve it. 2) If ...
-3
votes
1answer
23 views

logs being truncated - where?

It seems like the access logs on this particular apache2 server I'm running are truncated every day at midnight. I'd rather this be done once a week instead of once a day but am not sure where this is ...
0
votes
1answer
30 views
+50

Does CGi / FastCGI improve when I increase MinSpareServers?

In Apache / cPanel, I can set the number MinSpareServers and MaxSpareServers. But the user of idle process is nobody. I am running SuPHP , and PHP is running under CGI. So, If I increase Min / Max ...

1 2 3 4 5 265