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

Apache proxypass mangles url

I'm trying to use my apache server to proxy another site, and it's mostly working. I can get the root page to proxy correctly, but any subdirectories or subpages are failing: prxy.james.net -> ...
GrateJames's user avatar
0 votes
0 answers
13 views

How do I handle server redirects with apache

I have a windows 10 pc running Apache with a couple VMs and another windows pc running octoprint. What I want to accomplish is going to pc1.local/octoprint points to http://[pc2ipaddress]:[portnumber]....
Courtney Banks's user avatar
-1 votes
0 answers
12 views

Webmin Authentication Failure: Unable to Log In

I am encountering an authentication failure when trying to log in to Webmin on my Ubuntu server. The error message in the system logs indicates a PAM (Pluggable Authentication Modules) authentication ...
yazid panel's user avatar
0 votes
0 answers
16 views

Apache ProxyPassReverse not forwarding location response

I am trying to forward a subdirectory to a docker setup using Apache proxy and reverseproxy using Apache on a Linux server Here is the example <Location /foo/> RewriteEngine On ...
electricjelly's user avatar
0 votes
1 answer
35 views

Apache reverse proxy reroute URL to docker container in local network

I started slowly pulling my hair out. I cannot believe such a simple thing causes me this much headache. What I'm basically trying to achieve is to make http://maris-minipc/portainer to point to http:/...
Jumpman's user avatar
  • 113
0 votes
1 answer
19 views

SSH session via Apache web page on ports 80/443

I'm running a web/mail server at home, it is publicly accessible on the standard ports. I have SSH running on a non-standard port and can usually connect to this externally, but my day job has a ...
JWright's user avatar
0 votes
0 answers
11 views

Connecting to a WebSocket Server with Node and a React App [migrated]

I have a nginx web server running on my raspberry PI. In the webserver I have a React App, and a node server on the backend. When I run this locally, everything works great. But I am stumped on ...
GaelicLaic's user avatar
0 votes
2 answers
313 views

PHP file_put_contents: Failed to open stream: Permission denied

I want to store images using PHP, so I am using the following code: $encodedCard = isset($_POST["card"])? $_POST["card"] : null; $name = isset($_POST["fn"]) ? $...
Maulik Pratap Singhal's user avatar
1 vote
2 answers
55 views

Can Apache be gracefully restarted without clearing the mod_cache_socache cache?

I recently enabled mod_cache_socache on Apache and created a large memory cache Unfortunately it seems impossible to cache anything for longer than a day due to logrotate doing a graceful restart of ...
Displayname71's user avatar
1 vote
1 answer
26 views

Two subdomains on same public IP but two different webservers

We have two webservers, one that hosts our helpdesk web portal (helpdesk.domain.com) and the other host our company's intranet(intranet.domain.com). I am trying to configure Apache webserver hosted on ...
wstrosser's user avatar
2 votes
1 answer
126 views

/etc/hosts blocks instead of redirecting

I'm trying to redirect Facebook to localhost on Mac OS Ventura. This is my /etc/hosts hello procrastinator...% ...
mircealungu's user avatar
0 votes
1 answer
44 views

Apache setting custom headers with mod_header, but when enabling mod_cache, wrong headers can be sent to wrong people

I like to put custom headers in my Apache server's HTTP responses (using mod_header) based on whether the request came in over IPV4 or IPV6, like this: <If "%{IPV6} == 'on'"> Header ...
Displayname71's user avatar
0 votes
0 answers
26 views

How is Windows 11 Apache php 8 Apache manual setup different from the php 7 on windows 10

I have read previous post on the setup of Apache php MySQL manual installation and the all seems to follow the same steps. Please what would be the constant k in all the different different versions ...
 C Okonta's user avatar
0 votes
0 answers
47 views

Firefox stuck on .htaccess redirect?

For the testing purposes I have put a .htaccess file in my local webserver to force the following redirect: http://localhost/a-s/ → https://www.test-website.com/ After tests I have purged everything ...
trejder's user avatar
  • 10.9k
0 votes
0 answers
38 views

Upload files in Apache WebServer (Windows 10)

I have succesfully installed Apache WebServer on my Windows 10 pc. I am trying to upload some files in it, but couldn't find way. It's ridiculous the amount of misleading information you find online ...
LJS's user avatar
  • 1
0 votes
0 answers
85 views

GET requests get sent as "(internal dummy connection)" in Apache 2.4.52

I'm running a browser game that requests a lot of files from the server while loading. After the user has requested around 200 files, the requests get cancelled in the browser. The access logs of ...
Jonas T.'s user avatar
1 vote
0 answers
126 views

File permissions 0400 vs 0600

I have a question about file permissions for the owner of a file. 0400 permission means owner has read access. 0600 means, that the owner has read + write access. But even if the file is set to 0400, ...
mortimer's user avatar
1 vote
1 answer
52 views

How to access PHPMyAdmin from the web on a VPS (IaaS) server environment? [closed]

Ubuntu server 22.10. If PHPMyAdmin doesn’t have this path /var/www/html/phpmyadmin then how could I access it from https://IP-ADDRESS/phpmyadmin? I thought about creating a softlink from /usr/share/...
alhemister's user avatar
0 votes
0 answers
33 views

Set Apache Server to listen in wi-fi network interface ip address on windows

How to setup apache server to listen on a dynamic taken ip address of a wi-fi network adapter on windows 11 ? The ip is from a only local wi-fi access point that have a dhcp running on it (dd wrt ...
baldhead's user avatar
0 votes
0 answers
36 views

Macports service start order

I'm using MacPorts version of apache2 and php82 on Mac Os Catalina (10.15.7). The services load at the start, but I can't find a way to start them in the correct order, PHP and then apache. Sometimes ...
Andrea Dalseno's user avatar
0 votes
0 answers
94 views

Why does my URL work locally, but not externally? Setup with Pi-Hole as local DNS and Apache reverse proxy to redirect to different service ports

I have a Pi-Hole and an Apache2 reverse proxy on a Raspberry Pi installed in my local network. My router uses this Pi-Hole as its DNS. Pi-Hole is configured as installed fresh, with the exception of ...
Grausiga's user avatar
0 votes
0 answers
129 views

Syntax error on line 164 Apache24/conf/httpd.conf Cannot load modules/mod_rewrite.so into server: %1 is not a valid Win32 application

I am trying to run Apache using httpd.exe under command prompt administration privileges, but it pops up with the error message stated above does anyone know a solution? I am expecting a solution to ...
Lukar's user avatar
  • 1
0 votes
0 answers
43 views

DNS server bind9 + apache2 on Ubuntu Server VM + localhost problems connectivity

I'm trying to resolve some problems with my DNS server + Apache2 and local machine. I've got Ubuntu server on VirtualBox with NAT network adapter. I tried to create DNS server for my page praktykant....
Fenh Rir's user avatar
0 votes
1 answer
31 views

Server freezes after apache logs showing a lot of "^@^@^@"

My server freezes like one time a week and I have to restart to keep things working properly. When I go to the logs, the time when server freezes is showing: XXX.XXX.XXX.XXX - - [10/May/2023:11:13:15 -...
roscoe's user avatar
  • 1
0 votes
1 answer
66 views

Trying to port forward but my ISP say it can ONLY be done with static ip

Trying port forwarding but ISP says it can only work with a static ip I was trying to port forward my apache2 server from my arch Linux device, I hosted my server on my ipv4: 192.168.1.5 and on ...
BIGEBEASTISHANK's user avatar
0 votes
1 answer
70 views

I cannot add a subpage in apache2

Using a droplet, Ubuntu 18.04.6 LTS (GNU/Linux 4.15.0-209-generic x86_64) and apache2:Server version: Apache/2.4.29 (Ubuntu) Server built: 2023-03-08T17:34:33. I have myservice.com working, how can ...
t_k's user avatar
  • 3
0 votes
0 answers
21 views

Artificially slow down a vhost or php-fpm setup in Apache

Is there a good way to artificially slow down a Virtualhost (or PHP-FPM) in Apache 2.4? By slow it down I mean "make it barely usable" - say 15 seconds to load a simple page. Ideally I ...
davidgo's user avatar
  • 68.8k
0 votes
0 answers
52 views

Orangescrum says "Wrong database information. Please try with correct information." even though I've provided correct credentials

I'm entering correct database credentials. I've seen similar post in stackoverflow, which was left unanswered. Hoping for replies here.
achhainsan's user avatar
0 votes
1 answer
64 views

getssl cannot reach challenge token url

I am using getssl (https://github.com/srvrco/getssl) to renew my ssl certificate. I get this message when I try to renew my domain: Check all certificates Registering account Verify each domain ...
Robert S's user avatar
  • 827
0 votes
0 answers
234 views

Weird requests to home server and possible security breaches

I am trying my hands on hosting a Django web app on my home server. I never fail to get weird requests from unknown IPs all around the world, such as the ones below: Not Found: /ecp/Current/exporttool/...
Sati's user avatar
  • 111
1 vote
1 answer
63 views

How to reach diffrent Subdomains on Guest from the host?

I am trying to set up multiple websites, test and live, as subdomains in a ubuntu-server 22.04 as guest in a Virtualbox. Their sole purpose is for testing scripts, they not have to be seen by the web (...
xdobx's user avatar
  • 13
-1 votes
1 answer
310 views

Apache having problems with PHP

This on W10. I've been trying to replace a dysfunctional Apache-PHP setup. I installed (i.e. decompressed) Apache2.4.57 under D:\apps. I have a php version at D:\apps\php\php7.4.33. httpd.conf ends ...
mike rodent's user avatar
0 votes
0 answers
31 views

PHP website getting hacked - dir names changed

I'm new to PHP and Apache. I come from Node.js/Java backends and I'm new to this tech stack (PHP, CGI, Apache etc). My site currently uses ckeditor to handle user uploads and has high traffic. Often, ...
Leonardo Santos's user avatar
1 vote
1 answer
733 views

Configured apache2 virtual hosts show default page

I have an Apache2 setup with the follow configuration. I'm using the placeholder domain "ilikecabbag.es" instead of the real domain. <VirtualHost *:80> # The ServerName directive ...
CabbageGremlin's user avatar
1 vote
1 answer
352 views

I get ERR_SSL_VERSION_OR_CIPHER_MISMATCH on apache server (installed with xampp on windows)

I have this version of Apache installed: ApacheFriends XAMPP (Basispaket) version 1.6.8 Apache 2.2.9 MySQL 5.0.67 (Community Server) PHP 5.2.6 + PHP 4.4.9 + PEAR OpenSSL 0.9.8i The ssl certificate ...
Andreea Onica's user avatar
0 votes
0 answers
33 views

CRON to Check if a webapp is working properly and report what happened if not

This is my first iteration in bash:This webapp does not have postgres but Apache 2.4, Tomcat 8. I check first the 200 http response. Then if http server is running and if the tomcat also does. I ...
Serendipia's user avatar
0 votes
0 answers
36 views

my vps shutdown and error.log (22)Invalid argument: AH00146: could not release mutex accept

Today I set up my VPS with Apache2 and Debian. My VPS has 16 RAM and 4 CPUs. My load is 0.02 to 0.07 with htop. My script is PHP Apache2 I have approximately 5000 visits per day. It happens that I was ...
Razyit's user avatar
  • 1
0 votes
1 answer
29 views

Server re-hosted, needs to update new IP address in DNS

Our Centos7 server was relocated to a new building and the IP address changed. Now how do I configure the server so all traffic gets routed to the new IP address?The domain name is still the same. The ...
yonikawa's user avatar
  • 129
0 votes
0 answers
65 views

Install php-mod and php-fpm (different versions) on the same server

One of our clients has a server which is running PHP 5.3.3 (in our understanding it is mod_php, apache, Centos 6). Is it possible to install ANOTHER php version (say PHP 8.0) in say php-fpm for a ...
Ken Lee's user avatar
  • 101
1 vote
1 answer
188 views

Subversion Edge installing certificate on Windows deployment

I'm trying to get HTTPS to work on a new Collab.net Subversion Edge server deployed on a Windows environment. It currently serves the site in HTTPS but is using the default self-signed cert. I located ...
Andrew M's user avatar
0 votes
1 answer
191 views

how to stop apache2 via kill -9

I know the normal method to start or stop apache2 on linux is: sudo /etc/init.d/apache2 start|stop Or… sudo service apache2 start|stop Or… sudo systemctl start|stop apache2 But, in an emergency, I ...
acgbox's user avatar
  • 743
0 votes
0 answers
103 views

macports' php82-fpm unable to read a php file due to system policy

I try to set up a LAMP server on my M1 macMini, and after getting thru several configuration issues, I've been able to start apache2 and php82-fpm in fastcgi mode, but Apple's system Policy seems to ...
Fabien Auréjac's user avatar
0 votes
0 answers
53 views

Restrict access to specific http_host with .htaccess

I'm wondering if anyone knows how to approach this predicament I am facing using .htaccess. I have a website that is accessible using 2 different domains. For one of the domains, I only want the ...
Jim Smith's user avatar
2 votes
0 answers
393 views

CORS Options request fail with reverse proxy

I'm using an Apache 2 Server with a Tomcat Server installed. The Tomcat server includes a Geoserver and a web client, which is able to send POST requests to the Geoserver. I want to avoid the ...
Chris_98's user avatar
1 vote
1 answer
175 views

Apache basic auth: Why am I getting "HTTP 401 Invalid credential" with correct credentials?

I have these settings in my vhost conf file: <Location / > AuthType Basic AuthUserFile /etc/apache2/.htpasswd AuthName "Please log in with your Apache username and password&...
naomi's user avatar
  • 233
0 votes
1 answer
173 views

Resolve domain to subdomain

Want to resolve full domain name to a subdomain on a second domain: For instance, if I have this subdomain: subdomain.firstdomain.com Second domain: seconddomain.com I want seconddomain.com resolve ...
Nicoli's user avatar
  • 153
1 vote
0 answers
52 views

Restarting Apache after installing RSA Web Agent

Good afternoon, We are currently attempting to install the RSA Web agent on our Apache web server, but run into problems after installation, when restarting the web server. The error we get is the ...
Bokkie's user avatar
  • 33
0 votes
0 answers
76 views

Why can't I use localhost to open a file I moved, even though the permissions are the same and I changed DocumentRoot in Apache configuration

I am learning to use Apache on macOS Monterey. I have a simple test file test.php: <?php echo "Test"; I put this file in my home directory (/Users/my_username) and update my Apache ...
harry.kuril's user avatar
1 vote
1 answer
262 views

Changing content type of .js.php files using .htaccess doesn't work

I want to change the Content-Type HTTP header of some file endings to application/javascript so I don't get an error or warning in the browser. I got .mjs and .js.php. files. The latter are PHP ...
zomega's user avatar
  • 1,264
0 votes
0 answers
401 views

How avoid mkdir Permission denied error when executing google-chrome with php proc_open

Linux Mint XFCE, Apache 2, php 8.1, Google Chrome v110 (installed via apt, not Software Manager) I'm trying to start Google Chrome with php proc_open and get the PID for it back. Because of other ...
SBF's user avatar
  • 1

1
2 3 4 5
66