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
2answers
2k views

Can Apache2 be configured to return both HTTP 1.0 and 1.1?

I'm trying to figure out a caching issue. We are currently using a CMS with built in caching. We can then delete the cached copy via the control panel and the uncached page will be served until we ...
0
votes
0answers
9 views

Error 500 Internal Server Error from varnish, but no error from php-fpm or httpd or nginx

checked the logs /var/log/website/php_errors.log, nothing was found checked why it was returning an error and it's because of the backend somehow and varnish hit sub vcl_error as a result it used to ...
2
votes
1answer
2k views

Liferay instance on server with apache httpd

I am a Java developer who was given a task of running Liferay Portal on a remote server (I do have an IP and root access). The server already has one instance of old Liferay and Apache web server. I ...
0
votes
0answers
16 views

Is the slow down due to traffic every day near 12 pm

I checked the slow logs and I got only 4 queries in 2 hours and all of them were similar to this: "SELECT HEX(uhash) AS uhash, vehid, IF(deleted = 0 AND follow_price_drop = 1, 1, 0) AS ...
0
votes
1answer
2k views

Apache under windows %100 cpu usage

Hi since monday morning my apache server started using %100 of cpu and all the sites are responding so slow. I know it's not a good idea to use windows server 2003 and apache server together but I had ...
1
vote
0answers
36 views

Is it possible to only allow HTTPS and block HTTP on a arbitrary port

We are using RHEL and we have to open one non-privileged and arbitrary port, say, port 12345, to an ordinary user. This ordinary user needs to run an HTTP service listening on this port and every ...
1
vote
2answers
2k views

loacationmatch with git-recieve-pack not working

I am trying to set up git-http-backend on my apache2 server. Right now it is working so far with suexec and a wrapper and all the stuff but without restrictions. I can pull and push. Now I wanted to ...
2
votes
1answer
1k views

htaccess conditional header set is ignoring the condition

I'm trying to set headers if the origin is a particular site to solve a resource conflict I'm having (using Mautic hosted on a subdomain). If I add the headers for any situation I get a 500 error ...
5
votes
2answers
1k views

Checking HTTPS setup on Apache/Nginx before using

You have just got a new HTTPS (SSL/TLS) Certificate, and what you hope is the correct Intermediate Certificates. This is setup in Apache with: SSLCertificateKeyFile /etc/ssl/www.example.com.key ...
3
votes
2answers
5k views

Linux SSO for multiple windows domains

I have successfully implemented SSO on apache for windows users in the same AD domain that the apache server is in: AD domain = example.com Linux server = linux.example.com KDC = ad.example.com I ...
0
votes
1answer
2k views

Apache / Nginx / Varnish - GZIP does not work on css, js

My current setup is as following: Apache -> Nginx -> Varnish running on Ubuntu apache2.conf: h**p://pastebin.com/A3wehAbe .htaccess: h**p://pastebin.com/Yre4hdSy (edited to allow deflate) nginx....
0
votes
2answers
2k views

How do I configure apache2 to serve static assets from server root subdirectory?

Front end developer here - I just inherited a server (Mac Pro) to host my prototypes within our network. There's already an apache server set up on it, but I don't know much about it's config. This ...
0
votes
0answers
24 views

Port 80 vs 3000? How does it resolve? [duplicate]

It might be a simple question but I am trying to wrap my head around server mechanics. If I have a node app o server listening to port 3000 and yet browsers by default use port 80 for http requests, ...
0
votes
2answers
2k views

How to set ownership on a webserver

We have an internal server where we work on with 3 users. It is running ubuntu with apache mysql proftpd We often have permission errors. Sometimes we can't overwrite files but we can delete them etc....
1
vote
2answers
1k views

Diagnosing a 2-minute delay in HTTP GET request

Under narrow circumstances, I get a 100% reproducible delay of approximately 2 minutes when I request a public web page. The page in question: https://id.openjdk.java.net/console/login Splicing ...
0
votes
1answer
10 views

Centos 8 Invalid command '<VirtualHost*:80', perhaps misspelled or defined by a module not included in the server configuration

I am currently on a vps to which I have directed 9 domain name. in httpd.conf file I inserted this <VirtualHost*:80> DocumentRoot /var/www/non.com ServerName non.com ...
0
votes
1answer
2k views

GoDaddy Intermediate certificate for Apache 2.2.31 / Amazon Linux

I bought an SSL certificate for my domain from GoDaddy. The following are the contents: The certificate file gd_bundle-g2-g1.crt I have vhost on my Apache 2.2.31 web server. The following is the ...
1
vote
1answer
2k views

PHP Files being cached by unknown entity

I'm hitting a weird cache issue on my server, the project I am working on doesn't have any caching enabled at this time, but the server it self has APC installed (which was set to cache everything by ...
0
votes
2answers
2k views

apache2.2 with mod_auth_kerb SSO: how to fallback to same directory when user can't authenticate

i implement an intranet CMS (Joomla 2.5) in a multidomain environment, logging them in with kerberos against Windows AD -> SSO. SSO with kerberos works perfect for the integrated domains, also the SSO ...
0
votes
0answers
14 views

Apache giving 500 error without any exception

I am running an old version of centos 6 and we have 2 servers with similar config and the 2 used to work, but now our staging server doesn't work and gives me: Error 500 Internal Server Error Internal ...
0
votes
0answers
13 views

Hadoop HDFS copy from local

I want to do a hdfs copy from local, but I want to be sure that only files older than 1 hour are uploaded into hdfs. The files are beeing uploaded from clients via SFTP and i cant be 100% sure that ...
0
votes
1answer
3k views

Apache files directive for single file

I'm trying to restrict access to the wp-login.php file of a wordpress installation to a single IP address using the following .htaccess directive: <Files wp-login.php> order deny,allow ...
0
votes
0answers
17 views

Apache is using all space on main ssd [closed]

I have my own nextcloud Server. The /var/www/html folder is /dev/sdb2 mounted on it /dev/sdb2 is my hdd Newly after some days without a reboot the server reports: couldn't complete request When I look ...
0
votes
0answers
36 views

Varnish probe thinks web is down if he gets 103 http code

This is my first post in this forum and I will say that I am sorry for all the mistakes that I will make in this post. This is a desperate call for help as I was not able to find any kind of ...
1
vote
1answer
2k views

PHP with suexec/fcgid

httpd.conf file: LoadModule fcgid_module modules/mod_fcgid.so AddHandler fcgid-script .php FCGIWrapper /usr/local/php5 .php # manual MaxRequestsPerProcess 1000 FcgidMaxProcesses 200 ...
1
vote
1answer
2k views

Apache server not allowing mime type

How does one set mime types in Ubuntu 12.10 for .mp4 and .ogv video rendering? I want to run simple video files through localhost. Please give suggestions. I have kept these 3 lines in /etc/apache2/...
0
votes
2answers
1k views

How do I upgrade Apache 2.2.25 to 2.2.xx on my Centos instance?

I have a Centos instance with Apache 2.2.25 installed on it as part of the LAMP stack. All I want to do is upgrade to Apache 2.2.xx. I cannot use yum to do this because it asks me to update Apache to ...
0
votes
1answer
2k views

Problems with starting Uniform Server

everyone. I am having a serious problem with accessing the Uniform Server that I had installed sometime ago to build a web database. The last time I had tried to start the server it, I was successful. ...
1
vote
1answer
3k views

Takes long time to load the login page from Apache web server

We have an Apache web server 2.2.22 installed in Ubuntu 12.04.4. The site uses PHP pages and MySQL as database in a dedicated DB server. Once in a while, we face slowness connecting our site and see ...
-3
votes
0answers
22 views

How to reach to site enabled folder in apache in aws

I have logged in to aws (Ubuntu Server) now i want to reach to site enabled folder to change the conf file how can i get etc directory. Thanks
0
votes
1answer
2k views

Nodejs/Apache config for proxy pass

I want to use Nodejs/Apache proxy pass to serve my APIs, but after add below apache(httpd) config, it seems that config not working. OS: CentOS 6 /etc/httpd/conf/httpd.conf: ... <VirtualHost *:...
1
vote
1answer
4k views

Rails program is not being run on apache + passenger - only directory listing

I have successfully installed Phusion passenger + Apache 2 + Rails 3.1 program + git on a linux Debian 6. I ran passenger-install-apache2-module and followed the configuration instructions. I followed ...
0
votes
1answer
2k views

VirtualHost Server Not Found

After modifying the httpd.conf to include my virtual host configuration: Include /private/etc/apache2/extra/httpd-vhosts.conf, I added the following to my virtual host configuration file: # # ...
1
vote
3answers
1k views

Host Multiple Web Applications Under a Single Domain

I have a single Domain that I would like to share across two web applications. One Wordpress, the other Rails hosted on two separate servers. Specifically, I would like a handful of url resources ...
1
vote
1answer
2k views

Using htaccess in Apache to block query string input

I have been staring at this for a while not I can't fathom it, probably a wood for the trees scenario. I am attempting to use HTACCESS to block certain inputs to a web server, so I have added the ...
0
votes
0answers
25 views

Apache with PHP FPM and requests spikes, how to set optimal configuration?

I was lucky enough that my website went viral, and the server of course wasn't ready for it. Unfortunately my setup is quite bad, a single server with Apache, PHP (Laravel), Mongodb and redis. The ...
0
votes
2answers
2k views

Showing httpd.exe application error on server

I am running an online examination website on my localhost server. When I have attached eight other machines to the LAN to conduct a test, it generate an error message: httpd.exe Application error ...
1
vote
3answers
3k views

Redirect http url on port 5061 to https same port 5061 on apache

I have setup https on apache configuration of my website.conf as <VirtualHost *:5061> <Directory/var/www/website.com> SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1 <...
0
votes
1answer
3k views

Apache Openssl : error in SSLv2/v3 read client hello A

Some Background: I am trying to setup reverse proxy for my internal business users for site validation when the external route is down. I am able to setup multiple routes with corresponding ...
1
vote
1answer
2k views

haproxy error 400 with option ssl-hello-chk

I am getting 400 bad request error under apache ssl logs on real hosts when using haproxy option ssl-hello-chk. My setup uses haproxy as a load balancer to handle ssl requests and pass it on to the ...
0
votes
1answer
200 views

auto assign ip address to httpd.conf

I am building a cluster of servers in which new virtual machines will spin up as resources are needed. Is it possible in the apache config file to use a variable that will detect the servers ip ...
0
votes
1answer
2k views

Enable Browser Caching for Apache on Centos

I am having an issue trying to get browser caching enabled for a website which is served by Apache on a Centos server. I have done all the usual steps which have worked for me before with Ubuntu ...
5
votes
4answers
11k views

Apache cached old ssl certificate

About 2 weeks ago I bought a new wildcard SSL certificate for all of my servers, and immediately tried to set it up on a server by replacing the old self-signed certificate settings. So, I put in the ...
2
votes
1answer
2k views

Apache 2.2: RewriteMap, ProxyPass interpolation and Keep-Alive

I have an Apache httpd used as a SSL reverse proxy frontend for a lot of backends. I compute the name of the backend from the path given by the user. e.g: https://myhostname.com/myaccount translates ...
0
votes
2answers
2k views

Apache Passenger displaying my Rails application contents?

I have installed mod_rails (phusion passenger) for Apache on Ubuntu 11.10. Ruby and Rails are running fine, and so does mod_rails. I have setup a site on dev.localhost, which is my ruby app. The app ...
0
votes
1answer
2k views

Apache .htaccess with mod_expires not working for certain directories

I have a Joomla site that I am trying to enable caching using mod_expires. I have the .htaccess in the root of the site and have added the options as found on the page http://www.pactsoftware.nl/...
0
votes
1answer
2k views

Routing Apache to JBoss production server

We have a JBoss production on which our Java application is running. We have configured an Apache Server(DMZ) to route the traffic to JBoss production server and to increase security. We have used ...
0
votes
0answers
15 views

Error in Wallaby Openstack segment unable to create

I have a problem in Masakari, when I want to create segment for HA based on Masakari document with this command: openstack segment create I get this error: Request requires an ID but none was found
0
votes
1answer
2k views

Write .htaccess file to configure subfolder as documentroot

I have the following directory structure. /var/www/html is the DocumentRoot. var www html demo css abc.css js abc.js index.html How can I ...
3
votes
2answers
2k views

Setup secure shared hosting (Apache, PHP, MySQL)

So I'm setting up a shared hosting with Apache, PHP, MySQL and the biggest question mark is how to do with PHP, since there is a million options out there how to configure it securely. The plan is: ...

1
2 3 4 5
344