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
0answers
11 views

Is there anything I can add to an Apache server configuration file that will change the user of the PHP and apache processes?

On my nginx server I can tell who is using up the resources. On my Apache server they all run as www-data. Is there anything that I can add to my apache site.conf files that will make it show the site ...
0
votes
0answers
17 views

What causes Apache to receive and log truncated requests?

We have a site that runs on PHP and Apache that allows our users to upload images in bulk fashion, using javascript. This has worked fine for a few months now but yesterday, some users were reporting ...
0
votes
4answers
164 views

Can I use my Wild Card SSL certificate in Apache and IIS?

I have an Azure Virtual machine. I am hosting Confluence and a couple of IIS sites on the same machine. Can I use a wild card ssl certificate from a reputable CA on the Confluence site (Apache/...
1
vote
1answer
65 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
101 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 ...
0
votes
0answers
32 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 ...
1
vote
0answers
54 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
564 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
2answers
683 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
282 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
183 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
243 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
20 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
10 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
71 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
138 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
303 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
54 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
169 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
82 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
122 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
112 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
81 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
96 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
77 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 ...
2
votes
1answer
2k 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
157 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
184 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
107 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
54 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
1k 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
62 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
61 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
19 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
80 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
246 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 ...
1
vote
1answer
3k 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
703 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
129 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
1answer
150 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
279 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
76 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
44 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 /...
4
votes
2answers
2k 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
82 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
373 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 ...
0
votes
0answers
206 views

apache2 segmentation fault on https requests

I am trying to configure an old OpenSuse server with https. The http virtualhost seems to work fine, however when I try to load the https url from my browser I get a: This site can’t be reached ...
1
vote
0answers
238 views

Configuring nginx Reverse Proxy and Cache on Wordpress on AWS EC2 and S3 with multiples websites

I search on google and a lot of other questions here, but none helped me with my problem. So what I'm trying to do is to serve all statics contents from s3 and the only ones that has to run in server-...
2
votes
2answers
155 views

htaccess - Allow viewing of index.html via www.example.com/foo instead of www.example.com/foo/index.html

So I have a hypothetical folder on my website protected by Deny from all on my .htaccess file. I have coded an exception as below: <files index.html> order allow,deny Allow from all </files&...