People who code: we want your input. Take the Survey

Questions tagged [apache-2.2]

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)

Filter by
Sorted by
Tagged with
0
votes
1answer
1k views

Disable mod_cache to fix website

I am working on a website that runs on WordPress. The an error occurs when accessing the blog page that it displays the RSS feed (in XML) rather than the posts. After some research I found out the ...
3
votes
1answer
1k views

Rewrite leads to infinite 301 redirect loop on existing directories

I went through questions/solutions found here, tried numerous approaches (including the [L] directive) but nothing really did the trick. Situation Overview Debian running Apache 2.2 proxying through ...
7
votes
6answers
90k views

Connection refused HTTPS on Apache

I'm currently trying out HTTPS on one of my sites, and I got a trial certificate from a trusted CA. I've gone through the following checklist: Copied all the cert files according to the CA's ...
0
votes
1answer
2k views

Why am I getting a Sudden Drop in throughput and sluggishness with no CPU increase

Occasionally, during random parts of the day, I get a 10 minute period of extreme sluggishness where my requests are taking 50-1000 times longer then they normally do. Note: I am on Apache/2.2.16 (...
0
votes
1answer
1k views

PHP script times out after 60 seconds on Apache

An old site I've inherited has a script that users can run from the CMS that basically pulls out all the products from the database table and exports them as a xls file. There aren't that many records,...
0
votes
1answer
2k views

ProxyPassMatch, regex to proxy dynamic content

I have a shared hosting server with some 2000 websites on it. I have a lightweight apache/event frontend that takes care of static content and locally proxies requests for dynamic content to a ...
1
vote
1answer
1k views

Multiple VHosts with FastCGI and Suexec

I have a Debian virtual machine server which I have full control over, but I have someone who wants to host a single domain on it. This is obviously a security concern, as even if his particular user ...
0
votes
1answer
3k views

Passenger could not spawn process for application. Rails, ubuntu, passenger and apache

My application is crashing again and again. I am using the hosting services of digital ocean the status of the server are also displayed in the image (It start working when I restart the server but ...
0
votes
1answer
2k views

Debian server is showing PHP code instead of interpreting it

I was told on stackoverflow to post this question here: Scroll down to see result of things I've done based on suggestions I am setting up my first project using Vagrant. I chose the following ...
3
votes
2answers
2k views

mod_headers not working for php + mod_fastcgi pages

I'm running PHP through mod_fastcgi & mod_suexec, and I added Header set X-UA-Compatible "IE=edge env=best-standards-support" to my .htaccess file. It works fine for static content, but the PHP ...
0
votes
1answer
1k views

Host multiple Rack apps on one server with multiple ports (using Apache and Passenger)

I've search online and been reading documentation for Apache, Passenger, Rack, etc, but have yet to find a solution to my problem. I have several Rack (ruby)-based apps, located in /home/web/sites/...
1
vote
2answers
2k views

Apache unable to access mounted Samba share

I'm running Apache 2.2 on CentOS 6.5, and I'm having problems accessing a Samba share that I've mounted. My web root is /var/www/html, and I've created a folder in the root called intranet, and I'm ...
1
vote
0answers
9 views

Uniform Server cron not executing php script

I'm running Uniform Server Zero XIV and am trying to use the cron to run a php script every 15 minutes. When ran manually, the script does what it is supposed to, which is updating values in a ...
3
votes
1answer
2k views

Apache suddenly very slow on http and faster on https

Background: I have Apache 2 running on ubuntu. There is a low usage on it and mostly being accessed for a web service URL from mobile apps. It was working fine until I installed SSL certificates. I ...
1
vote
1answer
2k views

Curl verify certificate improperly

I used curl to launch a https request to download the file. I used below command: curl -v -o Output.pdf https://otherdomain.com/upload/manual-8mm-f35-csii-vdslr-5.pdf The result I get is: ...
1
vote
1answer
2k views

Apache2 Redirect Trailing Slash Not Working

I have attempted to read various documentation, as well as other answers online, and I cannot find a solution to my problem. Here is my issue: I have a permanent www to non-www redirect setup to ...
0
votes
1answer
2k views

fastcgi_pass directory not available on Apache + Nginx, how to find it?

I have a CentOS, Apache and Nginx installation. It uses php 5 handler as fcgi. This server uses WHM cpanel and easyapache. fcgi apply by using easyapache. These installation done by my hosting company....
1
vote
1answer
1k views

Apache2 / debian wheezy serving only default virtual host

I have seen all other questions around this topic, but none of the answers have worked. Situation: VPS on 1 IP, debian wheezy 7 running with apache2. Even simple virtualhost will not work, as named ...
4
votes
1answer
1k views

Premature end of script headers, mod_fcgi

I have PHP website running under mod_fcgi in apache2. Problem is that in some cases i get (probability is something like 1/400): Premature end of script headers: controller.php and Internal Server ...
0
votes
1answer
2k views

Servicing ws:// in Node.js via Tomcat and Apache

I've Googled various combinations of keywords but I cannot find a suitable description of what to do to get this to work. Currently, I have a web site running Apache 2 with everything except ports 80 ...
0
votes
2answers
2k views

php.ini on Apache - does it reset to 'defaults'

I heard somewhere that, if you place a php.ini in a website root or subdirectory it will basically use default settings for everything that is not included in this php.ini file. So if you have changed ...
0
votes
1answer
2k views

Apache mod_proxy_html Substitute: how to re-use part of regex match? (regex variables?)

Have a unique URL-rewriting situation in Apache. I need to be able to take a URL that starts with "\u002f[X]" or '\u002f[X]" Where X is the rest of some URL, and substitute the text "\...
0
votes
1answer
2k views

Apache Empty response Diognosis

My server gives empty response randomly. This is about four weeks that I cant figure out what is the problem. I will try my best to give you extensive information about my problem. sever specs: ...
19
votes
7answers
56k views

How to deny the web access to some files?

I need to do an operation a bit strange. First, i run on Debian, apache2 (which 'runs' as user www-data) So, I have simple text file with .txt ot .ini, or whatever extension, doesnt matter. These ...
0
votes
1answer
2k views

Apache creates lots of processes in CLOSE_WAIT state and than crashes

I have a web server (centos) with Apache 2.4.3 and in peak times Apache becomes unresponsive until I restart it. Before it happens there is suddenly spike of httpd proccesses count and it seems that ...
1
vote
2answers
2k views

Apache Location Directive is Not Working

For some reason I am not able to make the following directive work on my apache. Any help would be much appreciated. <Location "/(login.php|register.php)"> RewriteEngine On RewriteCond %{...
-5
votes
0answers
27 views

Problems with error 500 and here's my log file [closed]

127.0.0.1 - - [05/Jun/2021:17:09:22 +0200] "GET / HTTP/1.1" 500 20 127.0.0.1 - - [05/Jun/2021:17:09:24 +0200] "GET /index.php HTTP/1.1" 500 20 127.0.0.1 - - [05/Jun/2021:17:09:26 +...
1
vote
2answers
1k views

PHP pages working slow from time to time

I have VPS with limit of 2GB of ram and 8 CPU cores. I have 5 sites on that VPS (one of them is just for testing, no visitors exept me). All 5 sites are image galleries, like wallpaper sites. Last ...
0
votes
1answer
3k views

Is there a connection timeout setting between Apache and JBoss?

We’re using JBoss 7.1.3.Final with Apache 2.2.31. We’re connecting from Apache to JBoss through an AJP connection. We are noticing 504 GATEWAY_TIMEOUT errors after 60 seconds when requesting a ...
1
vote
1answer
2k views

Apache 2.2 LDAP Authentication Error 500 - AuthLDAPURL

I have an Apache server on RHEL 6 that uses our active directory for authentication and when we added a new "LocationMatch" AuthLDAPURL ldap://ad.company.com/DC=ad,DC=company,DC=com?samaccountname?...
1
vote
2answers
1k views

PHP5 package on Linux Mint Debian wont install properly

I"m running Mint Debian 64 bit and trying to install the PHP5 package to run on apache2. After running the following apache installs and I can get to http://localhost/ sudo aptitude install apache2 ...
0
votes
2answers
2k views

How to create a reverse proxy to host specified in url?

I need to configure proxy with apache to proxy requests like http://example.com/proxy/www.anothersite.com/[some-params] to http://www.anothersite.com/[some-params] I tried to do this like that: &...
0
votes
1answer
2k views

OpenSSL able to negotiate a cipher that isn't supported

We have to be a little limited with out cipher selection for various reasons, and one of the ciphers we can't use is AES256-GCM-SHA384. We can prove that that cipher is available with this command: $...
1
vote
5answers
8k views

apache Proxy 4 seconds connection delay

I have a big data site (wordpress secondry develop) one domain www.example.com. I have stored it into 3 server. In DNS setteing IP address (IN A / AAAA) 46.192.22.01 IP address (IN A / AAAA) 46.192....
3
votes
1answer
1k views

Web page hangs on reload/refresh

I'm experiencing a strange problem with my website. If I navigate through links inside the website everything is fine, and pages load fast. If I hit the refresh button on the browser on any page, the ...
0
votes
1answer
2k views

compression mod_deflate is not working on apache2

I have two websites on my apache server. I have already enabled mod headers and deflates. in /etc/apache2/mod-available/deflate.conf i have written: <IfModule mod_deflate.c> SetOutputFilter ...
2
votes
2answers
3k views

Apache ProxyPass to Tomcat - how to remove context path from URL?

I have Apache conf: <IfModule mod_ssl.c> <VirtualHost *:443> ServerName project.example.com ServerAlias ci ProxyRequests Off <Proxy *> Order deny,allow ...
1
vote
2answers
13k views

How to Disable ModSecurity without any Errors

I've enabled Mod_Security on my VPS which runs an Ubuntu OS with an apache web server. Now, I want to disable it because I setup another firewall to protect my server. I've tried preforming the steps ...
3
votes
1answer
2k views

Apache and mod_wsgi returning 504 error when posting specific SVG string

I have a wierd 504 error occuring in Apache + mod_wsgi when I post a specific SVG string. The backend application is Python Flask, but it does not seem to get to the application at all. Here is one ...
0
votes
1answer
2k views

Set FTP User default directory to /var/www Ubuntu Server

Trying to figure out the best way to set the default directory for the few FTP users we have (3 in-house developers who need access simply to the WWW directory). Want to just set it so that if any of ...
1
vote
1answer
2k views

How do I troubleshoot a “Bad Request” in Apache2?

I have a PHP application that loads for all URLs except the home page. Visiting "https://my.site.com/" produces a "Bad Request" error message. Any other URL, for example, "https://my.site.com/...
1
vote
1answer
2k views

What the 405 error may mean in nginx error log when migrating from Apache to nginx?

I am trying to migrate Topincs installation from Apache to nginx running on Debian Wheezy and using php-fmp. The only error I'm getting is HTTP/1.1 405 Method Not Allowed Would be grateful for any ...
1
vote
1answer
3k views

Nginx proxy SOAP request

looking for a right way to accomplish the following: there is an app that have URL(1) hardcoded and no way/time to change it in the source http://dev.server.com/example.com/admin/soap/action/index?...
0
votes
2answers
2k views

custom ldap conf for apache 2.2

System: Apache 2.2.12 on Suse linux 11 patchset 2, with PHP and Perl. I want to create a custom ldap.conf file for use by Apache for user authentication to a remote system. I can't put my config ...
4
votes
1answer
2k views

htaccess rewriting all subdomains to subdirectories

I'm trying to build a catch-all for any subdomains (not captured by previous rewrite rules) for a certain domain, and serve a website from a subdirectory that resides in the same folder as the ....
1
vote
1answer
2k views

mod_deflate, centos, application/x-httpd-php

I trying enable output compression for Apache 2.2.15, and 5.3.3, but web-pages generated by php is not compressing :( My deflate.conf: [user@host conf.d]# cat deflate.conf <IfModule mod_deflate....
1
vote
2answers
23k views

Why is my Apache virtualhost showing the default page for Apache?

I was wondering if im doing something wrong or what ? I have subdomain pointing to my server IP ( public ip of my server ) but when ever i go to my subdomain it show me the default page of Apache. Yes ...
1
vote
1answer
2k views

Make mod_rewrite rules process before fcgi sees the request

Is there a way to have the mod_rewrite rules in my .htaccess file take effect before PHP behind fcgi sees the request? I have an email validation link that I want to redirect from root to the login ...
2
votes
1answer
1k views

Independently config test an .htaccess file

I know apachectl has the configtest option, but as far as I can tell it's only for checking the entire config chain for the system apache. I would like to have a tool that can test an individual ....
0
votes
1answer
3k views

New line character %250A in URL: Apache throws 404 error

This is example of the script path which causes problem: http://example.com/index/index/tokenID/345%250Atest If I try to visit this link on the production server I receive 404 error. If I try to ...

1
2 3 4 5
343