The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [apache-http-server]

Apache is the widely known term for the Apache HTTP server, a very commonly used web server software maintained by the Apache Software Foundation. If your question is about other Apache software such as Tomcat or log4j, http://stackoverflow.com/ is a better choice.

Filter by
Sorted by
Tagged with
0
votes
0answers
28 views

Object not found! error with lamp wordpress manjaro

Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. If you think this is a server error, please contact the ...
0
votes
0answers
20 views

Apache redirect treating a file like a directory

I have three files, an index that's a wrapper for the other two, file1 and file2. It uses a PHP server variable to determine which to include. By default, the wrapper includes file1. So, /, /index ...
0
votes
1answer
23 views

apache forces ssl redirect folder to end of url

I have set up a host and an ssl certificate for a local website using xampp. When I visit for example http://test.com I get redirected to https://test.com. However when I visit http://test.com/test/ I ...
0
votes
1answer
40 views

Server reboot needed for apache2 to take changes

I'm having a problem with Apache2 on my multi-domain server. Every time I add a new vhost for my configuration to take effect i need to reboot my server. The strange thing is when i enter the domain ...
0
votes
0answers
15 views

Tomcat port insertion domain name server in google cloud compute engine

I am developing my website with the purpose of having dynamic projects which is supplied by Apache Tomcat Server in Google Cloud virtual machine(Compute Engine) I didn't use instant Apache Tomcat ...
-1
votes
1answer
77 views

Cant connect to FTP after activating SSL

I use Windows 10, Laragon, Apache and Filezilla FTP server for my server. It was working when my Apache was on HTTP but when I turned it to HTTPS with this code: <Directory "C:/laragon/www/"&...
0
votes
1answer
27 views

Where is virtual host configuration for apache httpd server

I can access the apache httpd configuration file in /etc/httpd/conf/httpd.conf, where would the virtual hosts configuration be? P.S: there is no /etc/apache2/ folder.
0
votes
0answers
23 views

Raspberry Pi Able To Be Seen On Local Network, But Not On Public Network

sorry if this is a really noobie question, I am just getting into networking and running a small website kind of as a hobby. So right now I have a Raspberry Pi running the latest Raspbian Stretch ...
0
votes
0answers
21 views

Ant script exec returns -1073741515

I'm using Ant script in DevOps pipeline and the script stops with an exec return code of -1073741515 The error occurs when the executing [command]C:\WINDOWS\system32\cmd.exe /D /S /C ""C:\Program ...
0
votes
2answers
25 views

What is the best way to organize Apache (site-custom) config files without affecting the default ones?

This is a CentOS box, so some of the layout is different than Ubuntu. If we look at the httpd.conf file, it expects to get the locally defined config files (virtual hosts, etc) from /etc/httpd/conf.d:...
0
votes
0answers
19 views

apache2: Exclude SSLVerifyClient for Intranet

I use apache2 to host a repository. I would like it to deactivate client authentication from within Intranet. Therefore I added the following to my virtual host: <If "-R '172.16.0.0/...
0
votes
1answer
47 views

htaccess to Nginx rewrite rules

I've converted apache htaccess rules to nginx rewrite rules but they are not working for me. Apache .htaccess rules RewriteEngine On RewriteBase /public/layout/themes/ RewriteCond %{...
0
votes
1answer
23 views

Can be cgi execution be conditioned to ServerName?

I configured several VirtualHost entries. <VirtualHost *:80> ServerName subdomain1.domain.tld [...] DocumentRoot /var/www/html/subdomain1 [...] </VirtualHost&...
0
votes
0answers
11 views

Apache 2.4 Virtual Hosts for Wildcards and Subdomain

Generally, I'm new to Server Administration. But I've acquired one running CentOS 7 with Apache as my webserver. I have set up my domains with all the necessary DNS records pointing to it. My main ...
0
votes
1answer
74 views

Configure PHP 5.6 with Apache2 on Debian GNU/Linux 10 (buster)

I'm trying to install PHP 5.6 on Debian 8. :~# php -v PHP 5.6.40-10+0~20190807.18+debian8~1.gbp5642bf (cli) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend ...
0
votes
0answers
76 views

WSL: Windows only able to access localhost hosted by apache2 a moment after a reboot

After a Windows reboot, I tried to run sudo service apache2 start, and in Windows browser, I was able to access localhost for a moment. After awhile, I can't access it anymore. A refresh on the page ...
0
votes
0answers
19 views

How do I daisy-chain two apache reverse proxies with the same hostname?

We're working to replace/upgrade our reverse proxy setup, in the process switching from IP-based virtual hosts to name-based. To make the switch without downtime while changing the DNS, we thought we ...
0
votes
0answers
28 views

Apache2 - Virtual host site1 redirects to site2

I've set up three different websites with Apache2 2.4.25 on Debian 9 (stretch) using virtual hosts, each one with their own domain and Let's Encrypt SSL certificate. For this question they will be www....
0
votes
1answer
33 views

OVH VPS Cannot Connect To HTTPD

Ok, So I recently bought a VPS from OVH. I can connect to SSH and SFTP. I have setup HTTPD to host a server from /var/www/instinct-main/ on the port 80, here is where the problem comes in, on the VPS ...
0
votes
0answers
48 views

Apache reverse proxy for slow connections

I have an Apache 2.4.39 httpd acting as reverse proxy to docker containers running Apache 2.4.39 + PHP. In all the PHP applications I can't upload files with a "minimum size" (PHP upload limit is 600 ...
1
vote
1answer
30 views

subdomain of subdomain not resolving

I have a example.com domain which points to a server, and also I have created a subdomain with A Record for it like sub.example.com to point it to another server. Now I want to manage all subdomains ...
0
votes
0answers
22 views

Alternative to SSH for “port forwarding” for coordinating servers

I'm kind of just messing around, I'm possibly the furthest thing from a superuser, but I feel like this is the right place for this question. Normally, I like to furiously google for hours until I ...
0
votes
1answer
40 views

Apache2 ignores “authorization result of <RequireAny>: denied (no authenticated user yet)” and let random user to login

I am trying to figure out why Apache2 ignores "authorization result of : denied (no authenticated user yet)" and let random user to login. Apache vhost config is : <VirtualHost *:443> ...
0
votes
0answers
65 views

While setting up the Hadoop 3.1.2, Nodemanager, resourcemanager and datanode keep on shutting down

I have jdk12.0.2 and jre1.8.0_221. java.io.IOException: All specified directories have failed to load. at org.apache.hadoop.hdfs.server.datanode.DataStorage.recoverTransitionRead(DataStorage....
0
votes
0answers
11 views

nested exception is java.lang.NoClassDefFoundError

Env : Java : Open JDK 12 Tomcat 9 Spring 4 When I try to bring up Tomcat server I got the below error. This works fine with Oracle JDK8 with Tomcat8. SEVERE: Exception sending context initialized ...
1
vote
0answers
21 views

Apache2 reverse proxy HTTP + WWS page

As a freelancer I offend come in offices where the network blocks the web whatsapp page and I am trying to setup my own private reverse proxy for those situations. So far I have been able to reverse ...
0
votes
0answers
10 views

RewriteCondition with ProxyPassMatch

We have a configuration we are using cms and springboot application. Apache is responsible for handling all the requests. All of the requests are served on port 80 both for springboot and cms. We ...
0
votes
1answer
60 views

SSL lock invalid certificate

So I installed a self signed root certificate on my windows and then accessed my domain using https, chrome acknowledges the certificate from my domain but still has a not secure error instead of ...
0
votes
0answers
75 views

Apache ZooKeeper Cluster Does Not Reconnect After Leader Election

I am running a ZooKeeper Cluster with five nodes, each of which has the following configuration (plus the correct quorum information at the end): tickTime=2000 initLimit=5 syncLimit=2 dataDir=/usr/...
0
votes
0answers
8 views

Apache Basic auth popup appearing (but not requiring sign-in) on unprotected urls

I want to use Basic Auth to protect all urls starting civicrm/ but with a few exceptions. This is to protect (almost all) CRM pages from the public users of the website. I have entered this in the ...
0
votes
0answers
11 views

How to allow directory listings for a specific subdirectory

I have an Apache webserver running on an Arch linux distro and I am trying to change what directories and files are listed on the server. I have seen a lot of post and solutions for changing aspects ...
0
votes
0answers
29 views

Apache failed to startup after changing root password on centos 7

So I recently changed my root password and now apache won't startup. First, logs said something is wrong with the ServerName, and now it's saying that it can't start up due to permission denied. So ...
2
votes
0answers
49 views

Upload to apache fails (timeout) after ~40seconds but works locally

If I connect to the server via VNC I can upload big files from him-self via localhost [example: 5MB] (tested with wordpress and one simple php upload script). But If i try to upload "big" files (...
0
votes
2answers
70 views

Apache redirect http to https with reverse proxy and matching context paths

In Apache 2.4.39, I am unable to get http to https redirection working when also reverse proxying and the context path matches. For example, I want http://www.example.com/foo to redirect to https://...
0
votes
0answers
36 views

Permissions to /var/tmp/ subdirectory for apache user

My PHP server needs to read and write to a single file into /var/tmp/my_directory. However, for some reason it does not. I've searched through everything and still don't know why. I've spend the ...
0
votes
0answers
43 views

Apache Tomcat Bad request - invalid hostname

When I installed Tomcat on my laptop it was successfully installed (I think so), but when I type the address localhost:8080 it displays Bad request - Invalid hostname. What should I do for it to run?
0
votes
0answers
18 views

Installation error of 1c bitrix (especially for Russians)

I acted according to the video on Install PHP, Apache and MySQL. One of the differences is that I had a slightly different hierarchy of folders and files. My hierarchy is as follows: root is C: \ ...
0
votes
0answers
60 views

Sentrifugo Open sources HR system

Apache is not starting, I did exactly as in below even changed the ports in httpd.conf in both listen 80 to Listen 10080 and server name localhost:80 to 10080 as will, also changed in httpd-ssl.conf ...
0
votes
0answers
23 views

Create local appdata environmental variable on windows 10

Netbeans does not connect to the Chrome extension. When I checked online, the problem seemed to be because my local app data is pointing to a different user on the program. How do I add an ...
2
votes
0answers
22 views

Query about htaccess

I have developed a website which has a structure that can be summarised as: htdocs .htaccess ... wp-content ... uploads ... Private .htaccess ...
1
vote
1answer
35 views

Unable to connect to laptop's localhost from mobile using Nginx or XAMPP

I've just installed Nginx 1.16.0 on my windows 10. It works when I browse my local machine for my website. For example when I type localhost/view.html in chrome. However, when I try to do this on my ...
0
votes
1answer
102 views

Debian Buster, Apache2.4, PHP 7.3 FPM / FCGID, vHost, running scripts with different users per vHost

I'm pretty much lost at the moment. I'm fairly new to Linux and Server Administration, so please don't kill me, if I missed obvious things (I'm sure I did) situation is as follows: Goal: I'm trying ...
0
votes
0answers
46 views

.htaccess not working on some files

My .htaccess file looks like: # Prevent .htaccess files from being viewed <Files ".ht*"> Require all denied </Files> # Deny access to files with extensions <Files ".*\.md"> ...
0
votes
0answers
27 views

Can't access to web2py admin page after changing apache http port to 8080

Here my server detail. - It's raspian - Running web2py application - web server is apache2 Seem that my ISP restricted doing a virtual server on port 80. So I change port from 80 to 8080 but by doing ...
0
votes
0answers
174 views

CentOS - FATAL: Connection to Cacti database failed

I've nearly finished setting up Cacti on a headless VM CentOS server. Apache is up, mysql is up, all requisite php modules are installed. When I browse to the server's IP, I can verify that httpd is ...
1
vote
1answer
45 views

mysql not ignoring coloumns that are not in my sql query

i am migrating from windows to manjaro linux but everything is fine but when i try to insert a query it's not ignoring the coloumns that are not in query but in table. let's say i have table that ...
0
votes
1answer
64 views

How to display uploaded files in an apache server

So, i've recently installed Apache HTTP server on my MacOS Mojave computer. When I go to my own IP, it displays the "it works!" page. However, what I want is apache to display my files in a specific ...
0
votes
0answers
16 views

Apache is Adding Javascript in HTML File

Today I got a strange situation where my Apache Server is adding a bit of Javascript code just before closing tag. I tried to find out but could not success what is going here on the server. I ...
0
votes
0answers
29 views

PHP module XMLWriter is not installed

I am working on centos 7. This is the error that I got: PHP module XMLWriter is not installed. Ask your server administrator to install the module. Checked that libxml installed: php -i | grep "xml" ...
0
votes
1answer
52 views

Putting Deluge & SABnzbd behind an OpenVPN client

The setup on my Raspberry Pi is as follows: Apache webserver (mydomain.com) OpenVPN server (DNS based, also mydomain.com) Deluge (Apache reverse proxy mydomain.com/deluge/ & via Deluge ThinClient)...