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 (3)

-1
votes
0answers
3 views

locate mail queue on apache/debian

If I execute mailq I get a long list of queued emails. And I would like to remove all. But: - the superpost command does not work (postfix not installed?) - I read that I can delete manualy in ...
0
votes
0answers
3 views

Override PHP options with .htaccess, DSO works (suPHP doesn't)

I am using .htaccess in a sub directory as below: php_value apc.cache_by_default 0 But this throws an error, if i use DSO, then it works. I understand with suPHP I have to ovveride with a php.ini ...
1
vote
2answers
21 views

Debug unstable Apache server under Debian

Since yesterday my Apache server that runs on a Debian machine runs very unstable. Sometiems my websites load and sometimes not. I think it has to do with the memory since my Apache log is full of ...
-1
votes
0answers
17 views

Internal Machine Cannot connect to Website on Server: (internal dummy connection) [duplicate]

Whenever I try to access my website from within the network on a certain machine, i get ERR_CONNECTION_REFUSED The server logs are reporting this: domainname.com ::1 - - [Date & time] "OPTIONS * ...
0
votes
0answers
5 views

Send files ending in .mp4 in Apache with HTTP 206 Partial Content

I am using Apache as web server and the return code is always HTTP/1.1 200. I want to set some kind of handler or use a mod to return HTTP/1.1 206 when the extension of the file requested is .mp4 so ...
1
vote
1answer
12 views

Apache mod_disk_cache on a seperate drive

how can I set Apache mod_disk_cache on a separate drive from where the OS/Apache is installed? I have set up this on my apache2.conf: <IfModule mod_cache_disk.c> # cache cleaning is done ...
-3
votes
0answers
22 views

apache server-status working from localhost but not from 127.0.0.1

I'm using linode, and server have nginx as proxy for apache, i can request this successfully: http://localhost:8080/server-status but not http://127.0.0.1:8080/server-status can any one help? ...
0
votes
1answer
17 views

Application outside document root in Apache/CentOS

I have a PHP application running in Apache on CentOS 6. The document root is pointed to a specific app folder: /var/www/my-project/app I'm trying to get phpMyAdmin running on the same server but I ...
0
votes
2answers
27 views

Apache: Stealth 404 the admin area until authenticated via basic auth, then allow access

Given a administrative area with urls like this: wp-admin/ wp-admin/whatever wp-admin/another-page wp-adminsecretlogin A standard basic-auth coverage would provide a username and password prompt on ...
0
votes
1answer
35 views

Apache vhosts not working on Ubuntu 14.04 LTS

I'm trying to set up vhosts on ubuntu 14.04 LTS using apache, but it's seemingly not working. Output of apachectl -S AH00558: apache2: Could not reliably determine the server's fully qualified ...
0
votes
1answer
13 views

Having CORS Issues with Apache/Wordpress

I have enabled CORS in Apache, here are the headings I am seeing when loading the site: HTTP/1.1 200 OK Access-Control-Allow-Methods: GET, POST, OPTIONS Access-Control-Allow-Origin: * Cache-Control: ...
0
votes
0answers
28 views

Apache proxy to two local services

I currently have one service running locally on a machine and apache is handling doing a proxy pass to it on the root. However I now also have another service I want to use a proxy pass with when a ...
0
votes
1answer
37 views

Server load increases by lot of httpd request with same PID

I can see that my server load increases to more than 200-300 range. Before 1 week the maximum load was around 20-25. In top and ps -ef i can see a lot of httpd threads and the PPID of most of the ...
0
votes
1answer
11 views

Apache2 enable .ini mod in /etc/php5/mods-available

One can use the a2enmod [module] command to enable mods located in /etc/apache2/mods-available. But what about mods in /etc/php5/mods-available? When I try to enable a mod in this directory (eg. ...
0
votes
0answers
7 views

Handle compression on Apache without propagating the Accept-Encoding to back-end Tomcat server

I have Tomcat fronted by Apache. I want to handle compression on Apache only, without Tomcat being aware. I disabled compression on Tomcat already, but due to a problem with the application running on ...
-1
votes
0answers
23 views

Apache redirect based on subdomain and https enforce [duplicate]

I'm having a big trouble configuring Apache, it is not part of my job so reading the docs doesn't help much. I've been told to do the following: on a server running Ubuntu (Amazon EC2 using a Bitnami ...
-1
votes
0answers
16 views

Setup my local WAMPServer to allows CORS (Cross Origin Resource Sharing)

I am having the Cross-Origin Request Blocked error in my console log for an Yii API, I want to configure my Apache to enable CORS correctly would the following block in my .htaccess look correct? ...
0
votes
2answers
24 views

Apache redirect to parent folder

I have a server pointing to DocumentRoot /var/www/mysite I would like to redirect all requests from /var/www/mysite/folder/ to /var/www/mysite/ I tried the following: `RedirectMatch ...
0
votes
1answer
14 views

Moving Zend Framework 2 from apache to nginx

I would like to move site that uses Zend Framework 2 from Apache to Nginx. The problem is that site have 6 modules, and apache handles it by aliases defined in httpd-vhosts.conf, #httpd-vhosts.conf ...
0
votes
1answer
28 views

Apache mod_proxy

Uggh, I'm spewing that I can't figure this out, I'm so frustrated: <VirtualHost *:80> servername domain1.com.au ServerAdmin webmaster@localhost DocumentRoot ...
-2
votes
1answer
36 views

High load of RAM but low CPU

I've a dedicated problem.. When I make a load test with ~500 connections, CPU stay low (about 30%) but memory grow up fast ! And I have a 100% used RAM and 50% used SWAP.. An other dedicated with 2x ...
0
votes
0answers
16 views

Connection Reset by Peer error with Apache and JBoss 7.1.1

We are seeing errors on some of our QA testing scripts that intermittently throw Connection Reset By Peer errors. The Test scripts submit requests via F5 which forwards requests to Apache (2.2.21) ...
1
vote
1answer
9 views

Setup Apache + mod_wsgi: incorrect function

I'm trying to setup an apache http server with mod_wsgi on a windows machine, but when I start the service, it fails to launch. In the Windows Event Log I get the following message: The Apache2 ...
0
votes
1answer
14 views

LAMP Server HTTP-> HTTPS redirect in .htaccess

I have 2 LAMP servers with the same version of Apache, both running Wordpress. SSL is working on both servers (although the test server uses a cert for a different domain). On both I have the ...
0
votes
0answers
20 views

How to run a single MediaWiki on many servers? [on hold]

I couldn't find a tutorial on this, all I found was info on how to run multiple wikis from one server. Issues are things like high-speed shared storage for images between servers and good performance ...
0
votes
0answers
14 views

Unable to do “big” POST request with Apache2 and ProxyPass

I have an apache2 server, configured with proxypass to access a servlet which runs under Jetty. Now I have a problem with large POST request (600KB). The configuration is as follows: <Location ...
0
votes
1answer
46 views

Optimize Apache for EC2 micro instance

I'm running apache2 on a EC2 micro instance with ~600 mb RAM. The instance was running for almost a year without problems, but in the last weeks it just keeps crashing, because the server reached ...
0
votes
1answer
40 views

Convert apache rewrite rules to nginx

I want to migrate an Apache setup to Nginx, but I can't get the rewrite rules working in Nginx. I had a look on the official nginx documentation, but still some trouble converting it. ...
0
votes
1answer
14 views

What is <Directory> section in apache's <virtualhost>?

I am changing few settings in the apache configuration file and I found that in another similar server, it has the following settings: <Directory "/var/www/html"> Options Indexes ...
0
votes
1answer
13 views

Gitlab install Ubuntu 12.04 with Apache already installed

I'm using Ubuntu 12.04. I have Apache, MySQL, Gitweb and Jenkins already running on there, but wanted to try Gitlab. I downloaded the package and installed as directed at ...
0
votes
1answer
24 views

how to restrict access to all .txt file in apache except robots.txt?

I am configuring apache2 on debian and would like to allow only robots.txt to be accessed for searching engines, while other .txt files are restricted, I tried to add the followings to .htaccess but ...
0
votes
1answer
14 views

Access ReverseProxy from iframe only

I have OwnCloud setup and it has a feature called External Site. It loads a site in an iframe, so you can stay in the websites shell. I have a page running on a reverse proxy. Is there anyway to ...
-2
votes
1answer
13 views

mod_rewrite redirect any domain except principal domain to the principal domain

I have some rules as follows: RewriteCond %{HTTP_HOST} ^domain.com RewriteRule ^(.*)$ http://www.domain.com/$1 [R=permanent,L] I would like to make the rewrite condition match ANY domain OTHER than ...
0
votes
0answers
14 views

PHPMyadmin not working with Apache/Varnish

I'm trying to install phpmyadmin on a dedicated with Apache2 and Varnish(in front). But when I try to access /phpmyadmin, it want to redirect me on myserverip:8080 so access fail.. I've already ...
-1
votes
0answers
22 views

Apache url rewrite to Nginx [duplicate]

i work on a little php platform and my server is nginx. The first version of this php site was developed for Apache server. I need to upgrade the site and to migrate it to nginx server. The problem ...
0
votes
3answers
48 views

Securely executing system commands as sudo from PHP

Is it possible? I have written a command line tool in PHP for creating new environments for our company. It creates system users, directories, databases, VHosts and restarts apache, amongst other ...
-2
votes
0answers
31 views

Incredibly Slow Website Response When Outside of Network [on hold]

When I access my website from a computer within my network, I get very quick response times. When I access the site with my phone or run pingdom tools on it, the response takes over a minute to bring ...
-1
votes
0answers
26 views

Apache not directing to correct VHost

I have setup the following virtual host ServerAdmin user@mysite.com ServerName mysite.com ServerAlias www.mysite.com DocumentRoot /var/www/homepage/public_html ErrorLog ...
0
votes
0answers
7 views

remote_user or php_auth_user missing

I have the following configuration in my apache file. when i log in the REMOTE_USER or PHP_AUTH_USER is missing. My application depends on this. What can i do to make this available? Alias /paradox ...
-1
votes
1answer
61 views

Memory Ram too high in HTTPD processes

I management two dedicated servers. I use Centos 6 with Plesk Panel. Update: I use Apache with mod_php. On the first server I have a site in Wordpress. I have noticed that my httpd processes take ...
1
vote
2answers
43 views

Where should I put my web app so it is private by default but accessible through subdomains?

I have a web application written in PHP that I want to host on an Apache 2.2 server. The tricky part though is that the same web application should be accessible through different subdomains (the web ...
0
votes
0answers
11 views

How do i set regex variable as env variable and use it to conditionally log?

This is what I have in my apache conf. I am setting the first part of the request uri as env varibale. It is always going to be client1 or client2. Now based on that I need to log differently (pass ...
-1
votes
0answers
16 views

Apache client side SSL authentication using smartcards

I'm trying to build an authentication system for a site using Apache, which I want only to be accessible to users that have a valid UK NHS issue smart card. When a card is inserted into a compatible ...
2
votes
1answer
33 views

Apache mod_proxy: Multiple virtual hosts disable each other

I have an Ubuntu 12.04 server, which had Redmine already installed on a stand-alone apache (everything under /opt/redmine). I wanted to install an instance of Jenkins on the same system, without ...
-3
votes
1answer
24 views

DNS redirection does not remember path/ parameters apache [on hold]

I just registered a domain name with fasthosts to redirect a URL to my server IP, and currently whenever I make a request, the domain abandons the full path/ parameters of the request and just ...
-4
votes
1answer
38 views

apache renew ssl not working [on hold]

Downloaded a new ssl cert from go daddy and installed the cert on apache2 server put the cert in /etc/ssl/certs/ folder put the gd_bundle.crt in the /etc/ssl/ folder private key is in ...
0
votes
2answers
47 views

Apache DLL crashing every 2-5 minutes

We've moved from a 6 year old server to a brand new dual hex core windows server expecting to see marked improvements with page load times - we are not seeing the page load times we had expected. I ...
1
vote
0answers
12 views

Webpages keep opening as application/octet and webdav stopped working

I have a Nas device connected to Windows 7 used to map drives using WebDAV, it worked fine using AuthDigest for logging in up until a week ago when it went down, no one is able to map to the drives ...
1
vote
1answer
44 views

Apache will not serve site over SSL

I have an Apache server that serves my site fine if I just use http, but I can't connect to it over https. I've combed all error logs and found nothing. I've tried several things from other answers on ...
-2
votes
0answers
22 views

Print Services dont work for Apache and PHP running on Debian and Wamp Print services do [closed]

I have a Debian server running Apache 2 (production environment) and PHP. 5.3 I would like to load printing services (staging dev environment Windows WAMP). In the Windows WAMP setup you are able to ...