Version 2.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)

1
vote
1answer
6 views

How can I force mod_rewrite to send user info component of a URI?

A colleague recommended I repost this from StackOverflow to ServerFault: This has been driving me crazy. I have a web application that's being served via Apache Web Server. The database server that ...
0
votes
0answers
29 views

Calculating Web Server RAM needs

Is the best way to calculate web server RAM needs this way: Apache processes max * average amount of memory per php script request (10-15 MB in my case) So if the max apache processes is 40 and ...
1
vote
0answers
8 views

Apache rewrite not finding path

I am trying to rewrite an internal path for specific requests. I have the following URL: ...
1
vote
1answer
27 views

Redirect IP to a domain name using htaccess

Let's say I have this IP Address 11.12.13.14 and the domain example.com. Now what I want is to redirect the user from IP Address to domain name (but without changing the domain name to address bar). ...
0
votes
0answers
34 views

Can I have multiple Apache VirtualHosts separated by subdirectories? [on hold]

I think it's a simple question, but let me explain better. This is my root: In the main root ../html there is a Wordpress Multisite installation. I have also different PHP scripts located in ...
0
votes
1answer
14 views

Why did my VPN changes to my Apache2 httpd.conf make our server public?

I want our server to be available without LDAP login if the client is requesting through our intranet. It appears that all intranet traffic comes through 10.0* IPs. I modified our VirtualHost based ...
-1
votes
0answers
15 views

file does not exist /usr/local/apache/htdocs/501.shtml

On my VPS server hosted at GreenGeeks I'm getting the following errors that GreenGeeks said is causing Apache to restart: file does not exist /usr/local/apache/htdocs/501.shtml Invalid method ...
1
vote
1answer
22 views

Apache security - list all possible handlers / actions

To ensure there aren't security weaknesses that can be exploited via .htaccess, how can we see all possible handlers that Apache can use via directives like SetHanlder and AddHandler. I know I can ...
0
votes
1answer
12 views

Apache 2.2 + SSL large file upload fail

I'm using apache 2.2 + ssl + wordpress. I can easily upload files up to 1GB without using SSL, but when I enable SSL I can only upload files up to ~250 MB. Error logs shows nothing. Am I missing ...
0
votes
0answers
34 views

Performance Issue on Centos Server

I hava VPS from OVH (has 2 GB of RAM, dual core 2.8 Ghz wth 2MB cache, 25 GB RAID 10) with Zpanel 10.1.1 and currently there are 6 websites running on it (2 phpbb3, 3 wordpress and one other script). ...
0
votes
0answers
12 views

How much traffic can my 1GB Linode handle? (details of app included) [duplicate]

I have been playing around with Linode and a LAMP setup now for the past few weeks. I am considering moving my iOS backend from Parse.com to a Linode setup. I would like to know how a 1GB setup will ...
0
votes
1answer
19 views

Redirect particular subfolder under mod_dav_svn location

I am setting up an svn server using mod_dav_svn. I would like to satisfy all of the following: Collection of repositories resides at repos.mysite.com/ NOT repos.example.com/svn Non-svn content is ...
0
votes
0answers
15 views

Can puppet install the Apache2 package on Ubuntu Trusty 14.04?

Various documents on the Internet indicate that it is normal to use puppet to ensure that the Apache2 package is installed in Ubuntu eg package { 'apache2': ensure => present, } ...
0
votes
1answer
12 views

Apache LDAP authorization

I am attempting to use mod_auth_cas for AuthN and LDAP for AuthZ. mod_cas_auth is actually irrelevant, because I have the same issue with BasicAuth for AuthN. Everything works fine if I specify ...
0
votes
2answers
30 views

Strange redirects for Safari iPad only

I'm having the most weird thing happening with my web server. It's Apache 2 with SSL. To simplify, here's why my config looks like (example.com refers to my own domain, of course): <VirtualHost ...
-1
votes
0answers
8 views

.htaccess block the css, img, js under the public folder

I'm facing a very weird situation that my website can load the img/css temporarily and running successfully, after a short while, it loss the connection to this public folder, which includes ...
0
votes
0answers
11 views

Deploying Django application as Wordpress subpage (at sub url), mod-wsgi

I have a Wordpress blog, let's say that it's address is like yakblog.org and it is a Wordpress blog installed on Ubuntu 12.04 server. Now, I would like to run a Django application as one of the sub ...
0
votes
1answer
49 views

IE and Chrome: ERR_SSL_VERSION_OR_CIPHER_MISMATCH

Hello i have this error with IE and Google chrome in Windows XP but my website work with Windows Seven (all browser) and Firefox (windows XP too) I learn in internet the problem its caused by ECDSA ...
0
votes
1answer
15 views

Redirect document root within VirtualHost

I am trying to redirect my domain to a new document root if a cookie value is something. I did setup the rewrite and it works fine. RewriteLog "/home/vahur/dev/logs/rewrite.log" RewriteLogLevel 3 ...
-1
votes
0answers
23 views

Got internal server error 503, after installing php-soap extension.

running on centos, here is terminal during installation ` root@localhost [~]# nano /etc/yum.conf root@localhost [~]# yum install php-soap Loaded plugins: fastestmirror, security Setting up ...
-1
votes
1answer
20 views

How can I defend against malicious GET requests? [duplicate]

My server is getting hit with a variety if requests like the following: Started GET "/key/values" ActionController::RoutingError (No route matches [GET] "/key/values") Started GET "/loaded" ...
0
votes
0answers
10 views

Log specific info from request in Apache

I need to login whether X-PDONE-SESSION-ID come on each request being made to my server or doesn't. First I have enabled mod_forensic_log and I setup this at my virtual host logging: <VirtualHost ...
0
votes
0answers
16 views

Is it possible to configure different AuthType for directory and proxy in Apache?

I want to configure different AuthType for directory and proxy in Apache HTTPD server: https://httpd.apache.org/docs/2.2/mod/core.html#authtype I want to configure in directory Kerberos AuthType ...
0
votes
0answers
16 views

404 Not Found or 500 internal server error using nginx try_files configuration

I'm trying to move my project from Apache to nginx. I use WT-NMP. I'm converting .htaccess to nginx configuration by adding this in nginx.conf. location / { try_files $uri $uri/ /index.php/$args; ...
-1
votes
1answer
21 views

Apache2 new VirtualHost entry can not find server - DNS issue?

I'm using Apache2 on Ubuntu 12.04.5 LTS server. Server is my company (work) server and has a public IP, moreover, it hosts about 5 different pages which are available worldwide, I mean, on the ...
0
votes
0answers
7 views

Right way to configure startSSL Certificate [duplicate]

Hy! I try to apply a Start-SSL Certificate on my Apache 2 (Debian Wheezy). On Xampp i got it fast and it works, but on my Debian root, the certificate is confirmed by Avast (in this case) and not by ...
0
votes
2answers
28 views

Apache 2.2 + Varnish not listening to 8080 port

I'm running apache 2.2 with multiple VirtualHosts and varnish cache on Centos 6.6. The problem is I can't get this to work. httpd.conf: Listen 8080 NameVirtualHost *:8080 <VirtualHost *:8080> ...
0
votes
0answers
24 views

Varnish configuration with Apache webserver in AWS ec2 free tier

I have AWS ec2 free tier where i have deployed my sample. I have configured the webserver to listen on 80 port. I am able to access the application by the below URL http://X.X.X.X/SampleApp But ...
0
votes
1answer
13 views

DefaultType PHP 5.5 (for files that do NOT have any extension, including “.php”)

How can I add PHP to deal with files that do not have any extension? Is there a "DefaultHandler" directive? In Apache 2.2.29, with PHP 5.5, the following does not work: DefaultType ...
0
votes
0answers
12 views

apache2 ProxyPass to port 4004

I'm trying to run a small clojure application on my friend's web server, he has kindly given me access so I can set my app. It runs on ring which basically compiles to a jetty server. So the ...
2
votes
1answer
19 views

403, only via gateway (page acessible directly from origin server locallly and externally)

I'm trying to setup a secondary Apache Server (will eventually become primary only). The working setup was windows XP running Apache 2.2.6 (via Wampserver2) with 8 sites (virtual hosts), all working ...
1
vote
0answers
17 views

Environment variables for PHP applications

A PHP application requires me to set several environment variables with things like database credentials, SMTP server, etc. Examples of variables include: ...
0
votes
1answer
32 views

Apache randomly stops at night with no errors in logs

I have a server on AWS that has been stable for years. It's running Apache 2.2.22 on Ubuntu 12.04.5 LTS. I regularly run security updates at the top of the month. Recently Apache has stopped ...
0
votes
0answers
16 views

LampCMS works as a sub-directory on Apache but fails on Nginx

The Web Application: It is LampCMS within a Wordpress folder. The main web site runs on Wordpress. A requirement made us create LampCMS under this Wordpress site. LampCMS is accessed over a URL ...
0
votes
2answers
15 views

Serving directory listing in Foreman

I'm trying to serve up a directory listing via http(80) while running Foreman. I've attempted to edit the 05-foreman.conf and 15-default.conf files in /etc/httpd/conf.d in order to allow directory ...
-2
votes
1answer
26 views

Load tomcat application via DNS without typing 8080

I am having a Amazon EC2 Ubuntu instance. I have installed LAMP server and tomcat 7. I also have application running in tomcat. Now, my URL for apache is - ...
-1
votes
1answer
38 views

How can I limit server bandwidth per IP

I would like to limit the download speed of my .mkv and my .mp4 files My page have got 1000-3000 visitor per day I would like to give 200KiB/s / per ip. Is there any easy installable apache module? ...
0
votes
1answer
27 views

Installing Domain SSL is not working

I have a Linode Server running Debian 7.5 & Apache2 I have the following files stored in the /etc/ssl/localcerts/ directory: www.test-site.com.key www.test-site.com.csr www.test-site.com.crt ...
0
votes
0answers
11 views

Apache seems to remove slash from cgi-bin url

We have a 1and1 vps running centos which is behaving strangely when we try to post/get to the cgi-bin. We have a directory called Monitor under the cgi-bin so to hit a perl script inside it we would ...
-1
votes
1answer
36 views

PHP/APACHE and MySQL SERVER Setup [duplicate]

I'm about to setup a server hosting MySQL, Apache/PHP, File Uploads, and probably CCTV Storage. Planned Personal Server Specifications: ASUS H97M-E INTEL i7-4790 2 x 4GB 1600MHz RAM ...
0
votes
1answer
26 views

Single IP multiple domains SSL issue

I've just noticed a small problem with a self signed SSL I am using for a webmail subdomain on one of my domains. I was using https://webmail.website0.com just to secure it a bit but I've noticed ...
0
votes
0answers
39 views

Apache Header Module Loaded but can't set headers in htaccess

I have Apache 2.2.29 (unix) setup and running on my new dev machine (mac). I am trying to set CORS headers for an API project - something that I have done many times. The htaccess file for the ...
0
votes
1answer
22 views

Block access to default vhost in Apache

I have an Apache 2.2 server which has Plesk installed. I have spikes in CPU usage at the same time every day. In the main logs I found the following accesses: access_log 75.143.208.206 - ...
0
votes
1answer
22 views

bugzilla with apache2 on ubuntu

I have a problem with the bugzilla and restarting apache2. When i try to reload apache2 it says: The apache2 configtest failed. Not doing anything. Output of config test was: AH00526: Syntax error on ...
0
votes
0answers
18 views

Dynamically adjust MaxClients on Apache server

Tuning MaxClients is a pain. It depends on activity on the server. It depends on how efficient the application is with memory. It depends on how many different applications you're running and what ...
0
votes
1answer
20 views

Apache location directive exception

I am trying to authenticate users for all URLs except for a regular expression: https://www.example.com/****anything**** should request authentication https://www.example.com/exams/****anything**** ...
0
votes
1answer
14 views

Apache connecting to SSL SNI reverse proxy

I have reverse proxy set up in my DMZ, ApacheDMZ which is configured using SNI. I'm adding a new Apache server Outside that needs to use mod proxy to access certain resources through ApacheDMZ. Both ...
0
votes
1answer
35 views

Installed new version of php but Apache still using the old version

I manually installed php 5.4 on Ubuntu 10.04. The old version was 5.3.2. Now if i check the php version it shows 5.4: max@ubuntu:/etc/php5$ php -v PHP 5.4.0 (cli) (built: Jul 21 2015 14:04:16) ...
1
vote
0answers
18 views

Frequent SIGTERM Apache

I suspect sometims is going wrong in my webserver (maybe possible DoS attack). In fact I see a lot of such entries: [Sun Jul 19 10:36:21 2015] [error] [client 141.212.122.18] client sent HTTP/1.1 ...
1
vote
1answer
30 views

Apache redirect to URI provided in query string

Suppose Apache 2.x receives a request for the following: http://myserver1.domain.com/auth?path=http://myserver2.domain.com/somepath How do I have Apache generate a redirect to the value of the path ...