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)
0
votes
0answers
11 views
Problems with loading all the apache modules
The default apache installation comes with few module enabled and rest disabled. What will happen if I enable all the modules. Is there any security problem in leaving all the modules enabled (even ...
0
votes
1answer
20 views
apache2 won't start on boot because of “no listening sockets available” error
When booting a debian wheezy server using apache2 version 2.2.22, the apache autostart fails with the following error:
Starting web server: apache2(99)Cannot assign requested address: make_sock: ...
0
votes
1answer
20 views
Stop default SSL response on Shared IP using SNI
Previously I asked a question here: Single domain SSL presented for all domains on Shared IP about setting up secure and non-secure domains on a single IP.
Opinions were mixed, but it appears SNI ...
0
votes
1answer
19 views
How to pass the request from one apache server to another
I have two Apache Servers with mod_proxy enabled. What I want to know is how can I "pass the request" from Apache Server A" to "Apache Server B" using the same 80 port.
In my "server A" with ...
0
votes
0answers
7 views
activemq apollo create broker error
I have been trying to create a broker on my activemq apache-apollo 1.6 installation. When I execute the following command:
$APOLLO_HOME/bin/apollo create log1broker
I get the following error:
...
1
vote
0answers
20 views
ssl error handshake failure alert
I'm getting the error mentioned in the title in Firefox when i try to access my website on my machine.
This is the error i get :
An error occurred during a connection to www.st.um.
SSL peer was ...
-1
votes
2answers
20 views
Possible to log POST / GET params in Apache 2.2
Is it possible to adjust Apache config somehow to log POST / GET parameters?
For example, this is what it currently logs:
174.131.xx.xxx - - [30/Apr/2013:08:41:59 -0500] "POST ...
-3
votes
2answers
38 views
Prevent apache remote access
How can I disable remote access to an apache server so that the site is only accessible on my PC and not to anyone else on the internet. I want to access site via both 127.0.0.1 and my dynamic IP ...
0
votes
0answers
11 views
Apache reversed proxy for single domain and all subdomains
What is the correct configuration for reverse proxying all request for a single domain and all subdomains to one different internal ip address. I have 2 boxes. 1 box should have the reverse proxying ...
0
votes
0answers
13 views
OSSEC “unable to retrieve alerts”
I try to learn about Ossec, but, when i access to the Ossec web UI in the Main tab, Ossec shows me:
"unable to retrieve alerts"
I see the alerts.log file and i can read different problems.
Why i ...
0
votes
2answers
23 views
different php.ini settings for various virtualhost (php-fpm)
I searched allot here on serverFault and found this solution...
Including this in virtual host should work:
php_admin_flag register_argc_argv = On
php_value max_execution_time = 1000
php_value ...
0
votes
1answer
14 views
Plesk Apache Config adding proxy pass vars to a domain
I have plesk 11.0 based manage domain which i need to add a openfire port to connect to be hidden as below
ProxyPass /xmpp-httpbind http://xxx.com:5280/http-bind
ProxyPassReverse /xmpp-httpbind ...
1
vote
1answer
40 views
Single domain SSL presented for all domains on Shared IP [duplicate]
I have a VPS running Apache/2.2.22 on Ubuntu Server 12.04 LTS.
I have successfully installed an SSL for domaina.com
Unfortunately if I visit https://domainb.com, https://domainc.com, etc… I am ...
-1
votes
1answer
23 views
Replacing existing SSL cert on RHEL5/Apache2.2.3
My existing SSL cert is about to expire so I need to replace it with the new one. I have been provided a .cer and .key file. How can I smoothly replace the cert with minimal downtime?
1
vote
3answers
64 views
Being flooded by wpad.dat
So, my apache server was slow, and I looked in the log files. Turned out they had grown to 12GB of accesses from tons and tons of different hosts trying to access /wpad.dat on one of my Vhosts.
Now, ...
-2
votes
1answer
34 views
how to fix folders and files permissions 000 [duplicate]
If the folders and files permission all suddenly goes to 000 on a web sever, can it be brought back? I yes, please let me have the script that can be executed to bring the permission back.
I have a ...
-2
votes
0answers
15 views
Apache2 prefork configuration for the amd athlon 2 and 4 gb ram, runing red5 streaming services and ffmpeg tube site [closed]
im having trouble configure the apache2 prefork, as title says i have ubuntu 12.04lts 32bit with amd athlon II and 4gb ram, im runing red5 streaming service, tube site script, and live cam script. i ...
0
votes
3answers
26 views
Apache httpd offline installation on Debian
how can I install Apache HTTPD offline on a Debian Linux distribution?
On this case I have no internet access at all on this machine, so I was searching for binary distributions of Apache Httpd and ...
0
votes
0answers
6 views
Proxying while preserving URI with mod_security2
I'm using a proxy: action in mod_security2. I'd like to preserve the full URL of the original request, however, and it seems to be rewriting that to the url in my proxy: action.
So a request to ...
0
votes
3answers
26 views
Apache redirect from site-domain.com to www.site-domain.com
I want whenever we access site-domain.com it should be redirected to https://www.site-domain.com/users/sign_in.
Here is my config
<VirtualHost *:443>
ServerName www.site-domain.com
...
2
votes
0answers
31 views
Apache reverse proxy before redirect
I'm trying to setup a redirect to https on a specific ServerName but before it does the redirect I'd like it to match a Location path and reverse proxy to a separate server rather than redirect to the ...
-1
votes
0answers
19 views
mod_reqtimeout not working for even 500 users
I have configured mod_reqtimeout in my apache2.2.22. The configuration used in my httpd.conf file are as below:
LoadModule reqtimeout_module /apache/httpd/modules/mod_reqtimeout.so
RquestReadTimeout ...
1
vote
3answers
28 views
Apache SNI namevhosts always route to first VirtualHost entry
Update
So for some strange reason, the problem seems to have resolved itself.
Perhaps it's some sort of strange caching issue or something (though I have apache2ctl stop/start/restart and sudo ...
0
votes
2answers
22 views
How do I exclusively disable some Apache modules directives to be used in .htaccess
I'm a web hoster and a site owner.
As a hoster I wan't to disable the use of some module directives within the .htaccess for my customers sites.
Since some sites serves as a CDN, I want to disable ...
-6
votes
1answer
45 views
configuring two domains in same server
I am trying to configure two domains in same server, but i am getting with "the first has precedence, perhaps you need a NameVirtualHost directive"
Below is my Apache2 config file
<VirtualHost ...
0
votes
0answers
23 views
Script working from test to production server
I am running the following script:
http://phprestsql.sourceforge.net/
My test environment is a WAMP server running Apache 2.2.17 and PHP 5.3.4
My production server is running Apache 2.2.14 and PHP ...
1
vote
1answer
29 views
With Apache, is it possible to generate a directory listing for a non-folder URL?
Apache allows you to create a directory list (when configured) if you visit a folder with no index.html.
What I want to know is, is it possible to get that same list but at a different URL? I'm ...
0
votes
1answer
31 views
turning on Proxy Preserve Host breaks SSL proxy rule
I have a third party SSL-enabled site that I have a proxy pass rule on my apache host. The page has relative links so I wanted to use the ProxyPreserveHost directive to keep the originating hostname ...
1
vote
0answers
15 views
Mass virtual hosting and subdomain
I'm trying to setup zero-config web-development environment: wildcard DNS plus dynamic virtual hosts. Here is my v-hosts config:
NameVirtualHost *:80
<VirtualHost *:80>
ServerAlias *.dev ...
0
votes
1answer
9 views
Errors getting apache working with fcgi and suexec
I have a Debian 6 server and I was previously using Apache with mod_php but decided to switch to using fcgi instead since Wordpress was somehow causing Apache to crash. I have the following in my ...
-4
votes
0answers
18 views
convert Apache MPM to Prefork
I have VPS with CENTOS 6.4 x86_64 virtuozzo – vps9458 and WHM 11.34.1 (build 14). I am trying to convert Apache MPM to Prefork. Please guide me how to convert convert Apache to Prefork.
Thanks
0
votes
2answers
41 views
Strange requests from Facebook in Apache's log
I have a massive ammount of strange requests im my Apaches's access_log.
Some examples of the requested URIs:
216.110.10.170 - - [22/May/2013:18:44:05 +0200] "GET ...
0
votes
1answer
20 views
Install PHP 5.2 on CentOS 5.9: undefined symbol php_sig_jpg
I have installed PHP 5.2 from source (we're moving some sites that require 5.2, unfortunately) to a CentOS box. PHP is compiled from source, but when I try to start apache I get the following error:
...
0
votes
0answers
20 views
Checksum error with Yum update
I'm getting below error with Yum update on CentOS
I'm trying to install Phusion Passenger with Apache2
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* atomic: ...
0
votes
0answers
13 views
mod_rewrite config works for any language except Chinese
Currently, I have this configuration in mod_rewrite in apache:
RewriteCond %{REQUEST_URI} !-f
RewriteCond %{REQUEST_URI} !-d
RewriteRule ^([a-zA-Z]{2,3})/?$ /index.html?wtsLang=$1 [L]
RewriteRule ...
0
votes
1answer
31 views
Limiting number of allowed ips for a single apache user - preventing username abuse
I'm trying to limit the number of IP addresses an Apache user can use, before being blocked. I've set up multiple users under a .htaccess system - but I cannot work out how to limit IPs for individual ...
0
votes
1answer
27 views
apache access log exclude static files like css|js|png|gif etc
I want to reduce the size of my Apache access log and needs to exclude static files from logging like js|css|xml|png|gif & more.
I am parsing access log to track user activity & website data.
...
-2
votes
0answers
19 views
Localtunnel won't work through virtualbox [closed]
I've also asked this question on StackOverflow
I'm running Ubuntu 12.04 in a virtual machine (Virtualbox, to be specific) on a Windows 7 host. I'm trying to set up a localtunnel (using ...
0
votes
0answers
17 views
Apache SSL Connections being killed
Frequently (25%-50%), when we do a post request, the client ssl connection is killed causing a bad request. Get requests do not seem to be suffering from this issue. We are using standard appache ssl ...
-1
votes
1answer
26 views
Apache 2.4 service failed to start
Apache 2.4 service start error.
I installed Apache 2.4 on windows 2008 R2 server. In the httpd.conf I added a directory configuration.
<Directory "M:">
AllowOverride None
Require ...
0
votes
0answers
12 views
Should I include mod_fastcgi directive in every virtual host? or httpd.conf is enough?
I'm configuring mod_fastcgi on my vps. I put main directive in httpd.conf (ubuntu 12.04):
<IfModule mod_fastcgi.c>
Alias /php5.fastcgi /var/www/fastcgi/php5.fastcgi
AddHandler ...
1
vote
0answers
37 views
Website content has long blocking and waiting times for some files
I am developing a website and it's running on my local machine. The page loads some content quickly but then the waterfall diagram shows long blocking and wait times for the rest of the content ...
0
votes
1answer
18 views
Problems with Rewriting URLs having fcgid enabled
First some information about my server:
Apache2 Version: 2.4
Modules:
php5 : disabled;
rewrite : enabled;
suexec : enabled;
fcgid : enabled;
Php Version: 5.3.3
I am currently creating a website ...
0
votes
0answers
14 views
Apache httpd proxy replacing hostname
(Note, x-posted to StackOverflow, but I realize it's probably more relevant here. I have voted to close the other question).
I currently am using the following configuration to set up a very simple ...
0
votes
1answer
21 views
Weird Apache Access Logs \x -Path
I'm getting a lot of such requests, i was wondering what they are trying to hack or whether the system was compromized?!
80.137.206.13 - - [21/May/2013:15:59:38 +0200] ...
0
votes
2answers
31 views
Change php error reporting to hide warnings for specific site only [Debian|Ubuntu]
Imagine a couple of sites-enabled available from /etc/apache2/sites-available. (Only Debian-based distros work like this.)
Is it possible to mute warning messages from php scripts from a specific ...
0
votes
2answers
35 views
How does lighttpd/nginx determine filetype of a file? (which method?)
I want to configure my lighttpd to serve some static files, with compression capability. The files are plain text but they have .bin extension. I have these lines in my lighttpd configuration:
...
0
votes
1answer
38 views
Apache server gives 403 forbidden error after a couple of request
I have a really strange problem.
I am using Apache2 and I have set up a VirtualHost. And it is working, but after a couple of request (4-5), I am getting 403 error.
After I wait 10-20 seconds, the ...
-1
votes
0answers
23 views
Which file specifics the php executable for php files [duplicate]
I remember seeing a file where every preprocessed Filetype (e.g. PHP) and the matching executable was specified. I can't find that file and I also don't know what to look for when researching. Could ...
0
votes
1answer
37 views
Apache ~ how to force SSL client auth for specific IP
Haven't been able to figure out how to easily manage access to my SSL website.
I'm trying to allow access to a specific location based on client IP.
If client IP = 192.168.x.x => bypass client ...


