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

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

How migrate directory ACLs when migrating apache between different VMs?

I am copying two directories from my on-prem server to apache on AWS /var/www/my_app, and /etc/httpd When I get the long listing for /etc/httpd I get the following on my local server with all those +...
0
votes
0answers
12 views

VirtualHost entry for a ServerName that's a folder directory rather than a complete domain

Is it possible to create a VirtualHost entry for a ServerName that's a folder directory rather than a complete domain? I'm installing Craft 3 and want to run it from my current VirtualHost (rich.dev) ...
0
votes
1answer
13 views

how to use apache reverse proxy to mask the uRL

I need some help on using the reverse proxy in apache. what i want to achieve is that suppose my apache webserver intercepts requests like. https://myweb-application1-secret.domain1.com/...
-2
votes
0answers
14 views

password protect folder for ubuntu 16.04 [on hold]

I need to set password for accessing some folders in linux ubuntu 16.04. I'm using a vm in google cloud, so no access to GUI, only terminal. have tried encfs, but it is not effective.
0
votes
0answers
16 views

LetsEncrypt not detecting my domain [on hold]

I have Apache installed running two virtual host files 000-default.conf & domain.conf I'm running the following command to generate the certificate sudo certbot --apache certonly LetsEncrypt ...
0
votes
0answers
46 views

QS_SrvMinDataRate: unexpected connection status in apache mod_qos

The mod_qos works for about 24 hours, then something happens and it triggers the following: QS_SrvMinDataRate: unexpected connection status! Connections=258, cal. request rate=1182, max. limit=1200. ...
0
votes
0answers
4 views

Set Response Type To XML Pages

Under web server, I am having below configuration to set response header for HTML pages. When we hit the page from browser say www.mysite.com/en/myfile.xml Due to rewrite rule, It mapped to server as ...
-1
votes
0answers
14 views

SSL/TLS Diffie-Hellman Modulus <= 1024 Bits (Logjam) vulnerability found even after disabling DH exchange in registry.

The vulnerability is found on port 443 where Apache Tomcat 8.5 is running. I have tried adding ciphers in server.conf as shown in the below links but the vulnerability still persists. https://...
0
votes
1answer
34 views

Apache destination virtual host certificate when using mod_rewrite or ProxyPass

I am trying to use mod_rewrite or ProxyPass to redirect (PT) the client's request from virtual host A on 443 to different virtual host B on port 4434, also with SSL. Like that: SSLProxyEngine on ...
0
votes
1answer
17 views

“com/index.php” without slash in apache

Finally I have finished install SSL Certificate and finish to config the redirect from my old site to my new one, but right now when I try to entering from the old site, it send to me to new sit but ...
-2
votes
0answers
24 views

How to Solve the Error?

I'm totally new to Cloud Hosting and when I installed SSL into my Google Cloud, it has shown the following errors with I have no idea how to edit. Can anyone offer any pieces of advice, PlEASE? -- ...
1
vote
1answer
37 views

give apache ID permissions to list and CRUD files as OS users

I wasn't sure if this question belongs here or on SO. I can move it there if needed. In any decent Apache configuration, Apache will run as its own ID; www-data for example. And this ID will not have ...
0
votes
0answers
12 views

Exclude Proxy paths not working

I am trying to setup reverse proxy for a wordpress site. The problem is that I am trying to exclude wordpress rest api paths and the .xml files but having no success. The exclude rules for wp-admin, ...
0
votes
1answer
19 views

Failed to Start Apache Server

I tried to configure my WebPage SSL Certificate, after configured it I restarted Apache Service and the output is the next: httpd24-httpd.service - The Apache HTTP Server Loaded: loaded (/usr/...
0
votes
0answers
23 views

Security Scan causing weird logs

So some time ago, I coded a website(PHP) and wanted to check for common web security vulnerability. I used Nessus and Burp Suite to scan for vulnerabilities in my website. The scan result showed no ...
1
vote
1answer
48 views

Traffic drop after HTTPS Magento

we have a Magento store, that we switched to https. Now 2 weeks after, we got a drop about 30%... What could be the cause? I followed every step that was recommended. I requested a reindex via search ...
1
vote
1answer
58 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 <...
-1
votes
1answer
47 views

Ban IP addresses based on bandwidth usage on apache/linux

Is it possible to throttle or ban IP address based on how much the host is using bandwidth of my webserver? In ideal situation I would like to create rules like: if IP uses bandwidth over 1000 MB ...
0
votes
0answers
9 views

What type of file format apache render as web page and using what plugin? [duplicate]

I have learned that to host specific type of file like php or python or html specific type of mod_lib needs to be installed and activated for the specific website and that can be enabled in site ...
0
votes
2answers
39 views

Let's Encrypt setup for subdomain which is pointed to other host

I'm trying to setup a two server system, where one is doing webhosting and the another is delivering content (CDN) for the webhost server. I currently own two servers and they both have Let's Encrypt ...
1
vote
1answer
56 views

Mod_rewrite is adding /var/www to the resulting url

I have some problems with the Apache mod_rewrite rules. Whenever I try to go to https://example.com// (see double slashes at the end) it redirects to a 301 page but it's adding the location of the ...
0
votes
0answers
12 views

Not able open my flask app on other locations configured on Apache

I recently wrote flask based web app that runs fine on Python flask webserver. And it also works fine in my local network in my city. The site is hosted on a VM on port 5060 which is basically a ...
0
votes
0answers
21 views

SELinux: How can I use the 8081 port with apache? [duplicate]

I need to use the 8081 port with Apache but Selinux doesn't allow that: semanage port -l | grep http_port_t http_port_t tcp 80, 81, 443, 488, 8008, 8009, 8443, 9000 semanage ...
0
votes
1answer
22 views

Proxy directory to another url with httpd proxy

Currently Im trying to forward a directory in my domain to domain with port. The reason I'm trying to do this is because my server is apache but I need to access just one node file. I'm posting some ...
0
votes
0answers
12 views

Can I limit access to a certain URL virtual host patterns to only local network clients?

My apologies, I am not very deep into Apache configuration.Most of it is automatically maintained. But I need some sort of override. I am running multiple virtual domains on my Apache web server (...
0
votes
0answers
32 views

Reverse proxy for Nextcloud Snap and Collabora

I have succesfully installed the SNAP version of Nextcloud on my Ubuntu Server 18.04. Everything works fine using HTTPS with a let's encrypt certificate. Now I want to install, on the same server ...
0
votes
0answers
16 views

Application / Website going down when one member of mod_jk taking time to respond/crashed

We have 6 worker nodes configured to Apache (mod_jk balancer) which is connected to f5 load balancer. If 1 of the worker node [application node] goes down or taking more time to respond , entire site ...
0
votes
0answers
35 views

apache doesnt update access log in real time right after starting up

I have a server cluster where each server is running apache. I'm trying to detect when a new server is fully operational but it seems that Apache only writes to the access log file every 4 minutes ...
0
votes
0answers
35 views

ERR_CONNECTION_REFUSED SSL on RHEL 6, apache httpd

I'm running Apache 2.2.15 on RHEL 6, and using an SSL Certificate from LetsEcrypt. I can't seem to get the configuration correct for the Vhost/ssl.conf file (listening on port 443, appended the rules ...
0
votes
1answer
48 views

Share Document Root for Apache w/ SSL with two separate subdomains and certs

So, I'm running an Apache server on CentOS 7. I have two domains pointing to the same place: https://www.example.com and https://example.com. In my cfg, I have three VirtualHosts; one for http (for ...
1
vote
2answers
46 views

Denying access to all files except index.php but allow access through “/” in htaccess file

When I try limiting file access to just index.php using something similar to the answer in the link below I am unable to access through the directory index such as "DIRECTORY/" and "DIRECTORY". I ...
0
votes
1answer
19 views

Forward proxy requests through ssl in apache

I have an apache webserver and I want to forward proxy all requests to another domain. so far, I've done that for http requests but it does not work for https. my httpd-ssl.conf file: Listen 443 ...
0
votes
2answers
95 views

Client denied by server configuration on Apache 2.4

We have migrated multiple Drupal 7 / 8 sites to a new stack, where the main changes were replacing Apache 2.2 and FastCGI with Apache 2.4 and PHP-FPM. We have the following error on multiple sites: [...
0
votes
1answer
62 views

I think Varnish is dropping my query string parameters

Our WordPress site has multiple views for every page and post depending on whether or not a specific query string is used. For example, if visited example.com/blog-post-with-chart (a page which ...
0
votes
1answer
50 views

Blocking “pokes” of our system

We get tons of these in our apache error log every day. [Wed Oct 17 03:27:37 2018] [error] [client 103.41.124.159] File does not exist: /var/www/html/phpmyadmin [Wed Oct 17 03:27:37 2018] [error] [...
0
votes
1answer
16 views

ServerAlias not working | Apache 2.2.13

I have this V-Host definition: <VirtualHost *> ServerName www.example.com ServerAlias example.com DocumentRoot /srv/www/default Redirect 301 / http://www.example2.com/ </...
0
votes
0answers
99 views

Apache unable to create worker thread

I have Apache running on a Synology DiskStation NAS. Since the DSM update to version 6.2.1-23824, Apache won't start anymore, giving the following error: [Mon Oct 15 10:29:22 2018] [info] mod_ssl/2.2....
3
votes
1answer
92 views

Block access to all php files in subdirectory

I need to block access to all .php files in a subdirectory of my web root. I know that I could create a .htaccess in this subdirectory and use the following: <FilesMatch "\.(?i:php)$"> <...
1
vote
1answer
62 views

What to update to keep the server secured?

I've been asked to specify which updates are needed to update our server and have it secured - problem is I'm not an expert on this. I know that we've very old software. For my work I need PHP 7.2 ...
0
votes
0answers
23 views

Install Apache with ftp access

I have ftp access to a server running windows. Is there a way I can install Apache server and PHP in it through command line ? How I connect to the server is through ftp using my macbook.
3
votes
2answers
73 views

Any security risk in creating root public/private keys and adding public key to Github repo?

I would like to do version control on some important directories on my server such as /etc/apache. All the files and subdirectories in that directory are owned by root:root. Would it be considered a ...
0
votes
0answers
11 views

How I can add Rewrite rule in htaccess only for home page?

I have a problem with apache. My site has these rules now: RewriteCond %{HTTP_ACCEPT} text/html [NC] RewriteCond %{HTTP_HOST} ^mysqite\.com [NC] RewriteRule .* path/to/html/my.html [L] I need ...
0
votes
1answer
64 views

php apache_note with mpm_event

I'm wanting to switch to mpm_event to be able to serve a higher rate of requests. My initial testing showed that the server can serve a higher rate of requests when using mpm event. The server is ...
0
votes
0answers
21 views

how does TLS encryption work on traffic flows which are routed via a (reverse) proxy

I do not understand how encryption works in this particular case. The scenario is the following: Server A (Interface partner) --> Server B (Apache reverse proxy) --> Server C (weblogic application ...
0
votes
2answers
49 views

Have to set different file owner to differenct apache vhost?

I have vhost1,vhost2 under Apache. Do I need to set /var/www/vhost1's file owner to vhostuser1,set /var/www/vhost2's file owner to vhostuser2. Somebody said it's the necessary setting for security,...
0
votes
1answer
35 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 *:...
0
votes
0answers
62 views

Synology and php.ini / fileinfo

When i run phpinfo() it states fileinfo IS enabled when i search the server with shh i cannot find fileinfo.so anywhere i even made an if statement to only fire if fileinfo extension is enabled... it ...
0
votes
3answers
29 views

Create Gcloud maintenance to restart instance if stops responding on port 80

we're using Google Cloud Platform, and running an instance Ubuntu which has Apache listening on port 80. Sometimes the instance stops responding, and the server goes down in Cloudflare (but that's ...
0
votes
1answer
30 views

Apache/PHP Undefined function - occurs sometimes - fix by apache restart

I'm facing a really strange problem My website sometimes starting to serve errors like 2018/09/25 09:13:33 [error] [php] Call to undefined function @=Q<C6>+V(). File: /var/www/xxxx/MainModule....
-1
votes
1answer
66 views

Apache server - Unable to locate CSS and JS files

I want that when i hit URL A, it should serve content from URL B but the URL on the address bar should keep pointing to URL A only. URL A: http://apps.company.com/lab URL B: http://svrdev-73:6020 ...