Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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)

1
vote
1answer
11 views

Serve aspx/ashx files as STATIC on Apache

I'm moving a static archived website to Apache from IIS/Windows, want to keep the old URLs that end with .aspx How do I allow aspx/ashx as static content on Linux? I don't plan to execute these ...
0
votes
1answer
18 views

How to set the DirectoryIndex on a tomcat Apache server to serve website?

I am using an Apache Tomcat server, that I want to host my website on. I have copied the contents of my website to /opt/bitnami/apache-tomcat/webapps/ROOT, however when I go to the homepage, I am ...
-1
votes
0answers
13 views

hosts file domains is not responding [on hold]

am using debian , and am working on a php laravel project so first thing to do is sudo service apache2 start sudo service mysql start every thing working fine , the project is working great ...
0
votes
1answer
21 views

Amazon ELB timing out only on one specific site

Problem: Our site has many different services behind Amazon's ELB but for some reason this simple Apache site project has turned into a major headache since I can't resolve this one site through ELB....
0
votes
0answers
5 views

Apache webdav login works on browsers, but error on net use command / window explorer

I would like to set up a simple WebDAV service on my server, which runs on Linux (Amazon EC2) and provide users to save files and folders. After config-ed some files, I manage to get the service ...
-2
votes
0answers
18 views

Can this be translated [on hold]

BY2PR12MB0615;23:7WVVyFq+wIkNEG8SDBZI3WNfL54JZWyFhumo/KNwp?= =?us-ascii?Q?YKBMJc9cude6FfhAWp3uHCNMpnOoRkFxSFXbNOPY7QOumPxA07IL04LVpHYx?= =?us-ascii?Q?w4xMdLhJwFHgb48A2N+ukNnEfhAXsw+...
1
vote
0answers
30 views

Amazon EC2 Web Server not Serving Content

I was using an EC2 Ubuntu 16.04 Server instance that was working fine but I had to reboot it briefly and since then I have been unable to connect via HTTP/HTTPS or ping it. I can SSH in and Telnet ...
0
votes
0answers
31 views

Apache redirect from http to https - SSL handshake failed: HTTP spoken on HTTPS port

I have Moodle (elearning system) web application installed on Debian 9 with Apache web server. It is a bitnami appliance, but the only difference is the folder structure. I configured redirection from ...
-2
votes
0answers
27 views

Create a simple proxy with Apache? [closed]

Is it possible to use Apache to set up a site (like proxy.example.com) to show another (like youtube.com) without actually redirecting to that site? So a user could go to my site and they will see and ...
0
votes
0answers
9 views

SSL for remote access via IP on WAMP [closed]

I have been on this for hours, i am very close but no cigar. I have followed a great video on how to setup SSL on WAMP for HTTPS access. I got it to work on my machine for local access by following ...
2
votes
2answers
51 views

remove password prompt openvpn ubuntu client

I'm trying to save the username, and password of my openvpn client in .secret.txt, and I'm receiving errors when attempting to connect, or the password is requested, instead of being read from .secret....
0
votes
1answer
26 views

Redirect from http to https stopped working after update of Moodle

After Moodle elearning system update, the redirection from http to https is not working anymore. Environment: Debian 9, Bitnami Moodle appliance, Apache web server Port 80 and 443 are opened in ...
0
votes
1answer
18 views

Unable to connect to openvpn with saved password “auth-users-pass”

I'm trying to save the username, and password of my openvpn client in '.secret.txt', and I'm receiving errors when attempting to connect, or the password is requested, instead of being read from '....
0
votes
0answers
16 views

Apache test page, instead of Django app showing up after server is started

I have an app on EC2 that I start up by ssh'ing into the VM, activating the env and then running manage.py runserver. The Django app starts without any errors on 127.0.0.1:8000. The server files ...
0
votes
0answers
17 views

In Apache, how to add a site url with IP/folder?

Good day. I have an Apache webserver with 5 websites. I wanna add a 6th, but so far I don't have a domain since the client can't decide which one yet. I want to access it as 54.142.66.23/website, ...
0
votes
0answers
2 views

How secure is using sslpassdialog for skipping manual pass input on [Apache]?

When using ssl with apache, restarting apache requires us to manual passphrease input by default. This is time-consuming. Apache prepares the option as follows: SSLPassPhraseDialog exec:...
-1
votes
1answer
30 views

Redirect Incoming Request to Specific Servers Based on Incoming IP Address

Load Balancing: My question is related to this but provides very little info: How to redirect to different servers based on login username? I have three (3) cloud servers at the same data center. The ...
0
votes
1answer
55 views

Apache 2.2 reading from NFS returns 404 for about one minute even if the file exists

I have a CentOS release 6.6 (Final) distro on which is running a Varnish instance (port 80) and Apache 2.2 (port 81). Apache reads file from a NFS. The issue I am facing (not always but most of the ...
2
votes
2answers
239 views

How can I get Apache to log all requests from the same visit with the same ID?

Why? I am currently purchasing traffic from Adwords to my e-commerce site. On Adwords, I can see how many visits I've purchased and I am trying to verify the number of visits to my site by analyzing ...
0
votes
1answer
24 views

Re-route from Internal IP to to Domain URL in Apache using ProxyPass

I have a server with IP 100.00.0.00 that hosts multiple applications one of them has the domain example.com. I have an external application that will request from my server like below but the ...
0
votes
0answers
43 views

CURL over VPN to make API request

I'm trying to use CURL over a VPN rather than the public internet. To do this I am using this setting in the CURL request: curl_setopt($ch, CURLOPT_INTERFACE, "eth0:01"); The value eth0:01 comes ...
0
votes
0answers
32 views

configure apache to use authenticated corporate proxy for some urls

I need to access a REST services on amazon which requires internet connection, however my design server is on a VM which does not have a direct open internet connection. The access is possible through ...
0
votes
1answer
19 views

Apache: Common SetEnvIF Deny rules for Server-wide / apply on all the Domains?

In my Apache, I have a long list of IPs to be blocked (for some reasons). And then I'm currently putting those rules inside the .htaccess files of the each and every single docroot (domains) I have. ...
1
vote
1answer
67 views

Htaccess: SetEnvIF List read from a TXT file?

I have a collectively very long list of black listed IPs (for different reasons). Something like this (just an example): SetEnvIF X-Forwarded-For "1.2.100.*" DenyIP SetEnvIF X-Forwarded-For "2.3.4.*" ...
1
vote
1answer
70 views

Apache rewrite rule based on regex

I'm struggling a little with an Apache rewrite rule. I need it to be based off a regex so anything /5chars E.g. example.com/F7heY is internally redirected to files/$1 I tried this using: ...
1
vote
1answer
16 views

Convert IIS Proxy Rewrite to Apache .htaccess

<rewrite> <rules> <rule name="ReverseProxyInboundRule1" stopProcessing="true"> <match url="(.*)" /> <action type="Rewrite" url="http://192.168.1.6/{R:1}" ...
0
votes
1answer
68 views

Apache: Redirect requests base on the url [closed]

I have apache running(port 443) and i have my node api running(port 2000). and my ssl isn't a wild card. My Problem: i'm getting mix content error on UI cause i'm trying to call my api using http ...
1
vote
1answer
91 views

How to debug curl? gnutls_handshake failed -unexpected TLS packet (OpenSSL)

How can I debug curl error further when Apache error.log is not showing any? (35) gnutls_handshake() failed: An unexpected TLS packet was received. curl -v https://example.com * Rebuilt URL to: ...
1
vote
0answers
47 views

How to check Apache version in Puppet

I need to apply a different access control configuration depending on whether a server is using Apache 2.2 or 2.4. Presumably, this requires an if check on the version of Apache. I would like to know ...
0
votes
1answer
123 views

Website (IIS via Apache ProxyPass / ProxyPassReverse) serving wrong content intermittently

I have an IIS website that serves content via Apache (ProxyPass and ProxyPassReverse - the reason for this weird configuration is historical). The Apache is behind other company proxy servers. The ...
0
votes
1answer
17 views

Location alias on Apache server

I have a configuration on NginX that sets the file path to a file like this: location = /upload.php { alias /full/path/to/your/magentoproject/http/upload.php; } How can I do the same on Apache ...
0
votes
1answer
21 views

Varnish with apache 2 and multi vhost

I am looking to a guide about configure Varnish for my ubuntu server with apache 2. There is like 20 website (who are not using varnish and do not need it). Only one vhost (magento 2.X) need varnish....
0
votes
2answers
70 views

How to configure multiple laravel projects on local server (Apache, Ubuntu 16.04)

In our local network we are connected to an Ubuntu 16.04 server (Apache). We connect to it through local ip: 10.0.x.x and the default apache config serves whats inside /var/www/html, I have tweeked ...
-2
votes
1answer
47 views

uploaded files by php owned by apache cannot be moved from /tmp [closed]

I am using Apache/2.0.52 (Red Hat) & php4 to upload files via browser from local computer. The files arrive in /tmp looking like this: -rw------- 1 apache apache 18668 Jun 27 02:56 phpi8g4LS ...
1
vote
1answer
49 views

write permissions in mounted dir to apache user

Sorry for maybe silly/basic question... I have directory /var/www/html/logs. From /var to html owner:group is root:root and permissions are drwxr-xr-x. But "logs" dir has apache:apache and drwxrwxr--....
1
vote
0answers
7 views

Issue with Apache 2.2.34 using as Reverse Proxy to call service on BizTalk server 2016

We are having problem in using Apache 2.2.34 as a reverse proxy. Scenario - Call from third party over internet hits apache in DMZ to call a service exposed by ESB - BizTalkServer 2016 [esbdev ] in ...
0
votes
1answer
41 views

Wordpress - Non-www URL redirect to www using .htaccess file [duplicate]

I want to redirect non-www URL to www URL in WordPress. I added code for the redirect but I see that I only redirect URL internally but not accessible from the externally. I redirect to apache ...
1
vote
0answers
107 views

Why do i get gzip css and js with full size instead of compressed size

I am doing some tests with gzip, I have manually compressed the CSS and JS with gzip. The size of the JS has dropped from 33kb to 7kb. The problem is when I look in the network tab in Chrome or ...
0
votes
1answer
152 views

Apache2 Does Not Start

I recently was having troube getting Apache2 to work with php7.1. I enabled the php module by using sudo a2enmod php7.1 and that worked. I updated my server using: sudo apt-get update and then ...
0
votes
1answer
118 views

Apache: resources not loaded after a redirect with proxypass

Configuration: One virtual machine with Docked installed (10.10.10.68) One Docker container for myapp with apache installed (10.10.10.68:8080) A second docker container with superset installed (10....
1
vote
1answer
104 views

How to block access to fake links that do not exist?

I noticed in my Google Analytics account that my website is suddenly hit by a large amount of spam traffic that destroys the visitor statistics. The webserver is running on Ubuntu 18.04 and Apache. ...
0
votes
0answers
18 views

Website performance issue while servering a request

we have build a website to provide search in some specific area. For that we have used apache Solr (6.x), HAPROXY (1.6) and apache web server on a single system with CentOS as OS. our expected users ...
0
votes
1answer
46 views

Apache on SLES only starts https with -D SSL arguments

I've been hacking up this server for a few days trying to convert a new installation of apache to HTTPS with the plan to convert it to NSS once I have SSL running properly. This server is not ...
0
votes
0answers
20 views

apache2 - multiple subdomains, each one served via reverse proxy against different local ports

I have the following local services located in a server with IP 198.51.100.1: 127.0.0.1:5000 - special pda service 127.0.0.1:8888 - www service I have configured the following DNS entries: foo.com -...
0
votes
1answer
40 views

port RewriteRule from apache to nginx

we have a large php application running on apache now which I would like to migrate to nginx. I’ve got everything to work correctly except for a RewriteRule in a .htaccess file. The web app allows ...
0
votes
1answer
31 views

PHP Web site cannot run properly on IIS

We run a main site and want to run a second site under /tesmer folder. On the demo site it works perfectly. When I upload it on a Windows server just /tesmer/ displayed correctly. Any subpages likes /...
1
vote
2answers
209 views

What is the difference between mod_nss and mod_ssl?

I am setting up an apache subversion server to use secure certificates for kerberos authentication with an AD domain. I have successfully got it to work with mod_ssl with ssl.conf config below, but ...
0
votes
1answer
35 views

Apache closes connection too early

I am trying to debug an issue we are having with some embedded devices when they are downloading Firmware over-the-air and closing connections too early, failing to get all data. I tried downloading ...
11
votes
4answers
1k views

Apache: Validate SSL chain of trust to prevent MITM-attacks?

I just realized that SSL man-in-the-middle attacks are far more common than I thought, especially in corporate environments. I've heard about and seen myself several enterprises which have a ...
0
votes
1answer
79 views

Apache server causes tar.gz files to download as uncompressed tarballs still named .gz

We are hosting a number of .tar.gz files on our Apache server. When we download these files, the filename of the downloaded file is the same as on the server... something.tar.gz... but the file is ...