Questions tagged [apache]

Use this tag (along with an appropriate programming-language tag) for programming questions relating to the Apache HTTP Server. Do not use this tag for questions about other Apache Foundation products. Note that server configuration questions are usually a better fit on https://serverfault.com

Filter by
Sorted by
Tagged with
0 votes
1 answer
13 views

PHP PDO Unix socket to Postgresql fails

Testing out a LAMP like application, fails with: SQLSTATE[08006] [7] connection to server on socket "/tmp/.s.PGSQL.5432" failed: No such file or directory After a lot of troubleshooting, I ...
Peter Shand's user avatar
0 votes
0 answers
15 views

Issue with ImutablePair after upgrading Apache Commons Lang3 version

I am facing an issue with my code since upgrading lang3 version from 2.12.0 to 2.12.13 ImmutablePair(it, action).apply { className.invoke(this) } was working fine before, but after the update it ...
myuh236's user avatar
0 votes
0 answers
7 views

running a springboot api using tomcat and getting slow query error

I running a springboot api on tomcat apache the api is been consumed by a mobile app, but the app tends to be slow once alot of users login and start using the app, when a few users are logged in, the ...
iamdeed's user avatar
  • 360
-2 votes
0 answers
19 views

Trying to host PHP websites dynamically on windows [closed]

I have created an application that will generate PHP website (index.php). What I am failing to achieve, is to host these websites dynamically. What I mean by that, as soon as I create the website I ...
Aram Zuhairi's user avatar
0 votes
0 answers
7 views

Why does my apache health check thread terminate

I am running a reverse proxy with httpd on an ec2 t2.xlarge instance running amazon linux 2. The healthcheck thread runs as the same pid unless the status of the instance changes but after a certain ...
Thomas Stokes's user avatar
0 votes
0 answers
25 views

How to make local http calls from react app to local python flask app

Good day, I have a react app with a python backend and it's making HTTP calls to the python script. It works with the development build (npm start) but not when I build and then serve the app for ...
AEV's user avatar
  • 1
0 votes
0 answers
24 views

Which headers are mapped to each field at log format

I have LogFormat: LogFormat "%h %l %u %t \"%r\" %>s %b". I wanna send request through curl. Which headers I need to pass for mapping to %h / %l and &u ? I've tried to use ...
Andrew Bystrov's user avatar
0 votes
0 answers
11 views

CSS Files in Specific Folder Not Loading with .htaccess Rewrite Rules

Here my file structure fashion_app public index.php assets css vendor proximanova.css line-awesome.min.css plugins slick.css animate.css slinky.min.css .htaccess I meet problem when ...
Nguyễn Đắc Hải's user avatar
-2 votes
0 answers
63 views

How to remove the wildcard subdomain on Apache to prevent Google from indexing Subdomains that do not exist [closed]

I am experiencing the issue explained at Subdomains that don't exist are indexed by Google - Zombie subdomain removal via .htaccess. Notice how the the search engine Google returns a result ...
Jaime Montoya's user avatar
0 votes
0 answers
12 views

CentOS 7 to 8, now apache issue

I successfully got CentOS 8 installed from CentOS 7. However, now it seems that there is an issue with Apache. I can load WHM (cPanel) successfully, and go into the Apache settings - when I try to ...
Maikeru Diron's user avatar
0 votes
0 answers
21 views

Hosting Nodejs(Express App) On Apache server using Cpanel Application manager [closed]

I am a web developer, Sorry for stretching out my question. I have never worked on VPS before or I am an absolute beginner to VPS servers but have common knowledge of Linux systems. While I was ...
imtiyaz's user avatar
  • 11
-2 votes
0 answers
30 views

PHP: Apache WebAPI doesn't work when i run code in webserver

Actually I did WebAPI for run my code working with cli and apache server**(apache2handler)**. When I run php codein cli it's working properly on commandline but working with browser in apache server(...
Klinton A's user avatar
0 votes
0 answers
20 views

Apache web server not sending response header to browser [closed]

I have an aem author , publisher, dispatcher set up. An ajax call to an aem sling servlet from front end js. Servlet sets a header 'Set-Cookie'. Author, Publish servers returning 'Set-Cookie' in ...
Sri's user avatar
  • 1,201
0 votes
0 answers
25 views

Installing another wiki in a new directory on the same domain/server

I have a MediaWiki wiki installed under /wiki but would like to install another one under /newwiki. The wiki configured for /wiki works just fine. The problem is that I have the following Apache ...
M A's user avatar
  • 25
0 votes
0 answers
16 views

Google sheets through Apache reverse proxy

As on my corporate network google sheets are not allowed I am trying to access it via reverse proxy from my server. All other proxy services I have in my Apache configuration work without problems. ...
Maja Jelen's user avatar
0 votes
0 answers
24 views

Nuxt 3 Production in Apache2 with subdirectory

I have a Ubuntu 18.04 server running with Node/NodeJS and P2M installed. I want to deploy Nuxt 3 project into a subdirectory /app/. On my /var/www/html there is a other project (client-side). What I ...
ChahinDev's user avatar
0 votes
0 answers
9 views

Angular dist file lib javascript file changed names. What could have influenced this?

I started working with an application that is currently on the client's production environment at version 1.0.2. A colleague of mine made some changes in the UI (Angular) part (just to fix a tab/...
CJunior's user avatar
  • 77
-1 votes
0 answers
45 views

javascript request origin determination

I have a general Javascript question The setup Webserver ( number 1 ) with a website that uses html and javascript A second ( number 2 ) webserver with Apache and Django Webserver 1 with html / ...
q55awr's user avatar
  • 117
0 votes
1 answer
28 views

Fixing Yourls Apache/htaccess config HTTP ERROR 500 [closed]

In the root directory I am running wordpress and within root directory I have a directory called 'y' where I run yourls url shortening platform. Wordpress should be access through www.example.com ...
Florin C.'s user avatar
  • 266
0 votes
0 answers
21 views

apache 2.4 fails to set TLS 1.2 [closed]

I am using Apache Web Server Version 2.4.25 on Windows 10. Openssl is at version 1.0.2j. My local php 5.6.30 script sends request to AWS simple mail service but AWS SES askes me to upgrade to TLS 1.2 ...
user2818066's user avatar
0 votes
1 answer
31 views

Error 404 not found while trying to dockerize php web application

I'm trying to dockerize a php web application, but no luck so far. In the root of my project I have a folder called public, and index.php is inside it. So far I created two files, docker-compose.yml ...
Gabriel Calle's user avatar
0 votes
0 answers
15 views

Root domains on port 443 all redirect to vhost

I have my vhost file set up as follows: # Virtual Hosts # <VirtualHost *:80> ServerName localhost ServerAlias localhost DocumentRoot "${INSTALL_DIR}/www" <Directory "${...
laurens holthof's user avatar
0 votes
0 answers
41 views

Apache 2 does not auto restart - (mannually ok)

Hy, After having upgrade from ubuntu 20.04 to ubuntu 22.04 I have random crash of Apache. Probably when log rotate and Apache restart automatically. sudo apachectl configtest give me Syntax OK If I ...
BB Freelance's user avatar
0 votes
0 answers
14 views

Vue SPA frontend with Laravel Backend File placement and .htaccess settings for production

So I had a lot of problems and couldn't find a solution for merging vue3 spa with laravel 10 api. Finally got it working and wanted to save some time for all of you who have similar problem. Solution: ...
BELI's user avatar
  • 1
0 votes
0 answers
22 views

how to make a laravel project on a path of other laravel project?

I have 2 laravel project : project1 and project2. project1 already online in https://mystore.com and I want project2 is in https://mystore.com/v2. In my Virtual Machine I use CentOS as the OS and ...
DV Corps's user avatar
0 votes
1 answer
29 views

Where should i give VirtualHost conf in cpanel & WHM managed Apache

Title: Trouble deploying Next.js app on CentOS 7 VM alongside cPanel mailserver Question Body: I've been working on setting up a CentOS 7 VM where I've successfully configured a mail server using ...
Muhammed Safvan's user avatar
0 votes
0 answers
34 views

Cloudflare Tunnel + Apache + Moodle

I'm trying to install Moodle 4.2 stable on my Ubuntu 22.04. Since I don't have a public IP, I hope using tunnel so that others can visit the website. Please help, thanks. Tell me if any other ...
林冠曄KyleLin's user avatar
-1 votes
0 answers
15 views

Apache web server redirect to ssl only from public traffic [closed]

I have a website I run out of my home network using Apache/linux. I recently added an SSL certificate to the website and updated the 000-default.conf to redirect all traffic to https://, but I dont ...
matteblack's user avatar
0 votes
2 answers
89 views

How to allow file upload only for specific IP addresses of a php website

Someone contacted me after their Linux, Apache2, MySQL, PHP website experienced a phishing attack. I logged onto their server, added a firewall, deleted all phishing files, and I set file_uploads = ...
John's user avatar
  • 32.6k
0 votes
0 answers
10 views

Running Development On Apache2 Server with Local SSL

Atttempting to develop a website on Apache2 with local SSL. I cannot get the website to open as https and get the warning that the site is not private. Verified mod_ssl is enabled and below is my ...
Elcid_91's user avatar
  • 1,593
-4 votes
0 answers
38 views

.NET 6.0 API on linux with apache [closed]

I need to host my .NET 6.0 Web API on Linux with Apache and configure my API to run on my local computer, I would like to know if there is any documentation or video with an effective tutorial. I ...
Jean Lima's user avatar
0 votes
0 answers
12 views

Deploying Flask App on Digital Ocean (apache2)

I have seen this tutorial using nginx https://www.digitalocean.com/community/tutorials/how-to-serve-flask-applications-with-gunicorn-and-nginx-on-ubuntu-22-04 And this old tutorial https://www....
questionmark's user avatar
-1 votes
0 answers
14 views

Redirect Traffic Through HTTP Proxy

I have an AKS (Azure Kubernetes) environment and I want to create a pod that would simply listen to all incoming traffic on "my-clean-site.mydomain.com/path" and would redirect the traffic ...
teamdever's user avatar
  • 307
0 votes
0 answers
15 views

Why does Windows show restricted WebDAV directories?

I am using apache as my WebDAV server to share some files for users. They all have their own directory in a global /users directory. Thus, a script configures the dav config to be something like that: ...
TimZolleis's user avatar
0 votes
0 answers
18 views

Internal server error 403 when i upload a file with filename which contains single quote to my online server

Server respond 403 forbidden error when i upload a file with a filename which contains a "single quote", but worked successfully in localhost server in laragon on windows. I use simple html ...
ouya olivier's user avatar
-1 votes
0 answers
21 views

Login timeout expired in Laravel Apache Centos 7

I'm trying to deploy my Laravel API project in Apache with Azure Database but when I'm running a request that needs to access the database like Query, it just gives me an error of: SQLSTATE[HYT00]: [...
Vincent Dapiton's user avatar
0 votes
0 answers
9 views

Permission issues when trying to run XAMPP on Mac OS with OpenCart

I have followed the other documentation currently online regarding MacOS and permission issues when trying to run the opencart on the server. I have it working up until clicking the upload link where ...
DevSteph's user avatar
0 votes
0 answers
24 views

Apache2 not able to use fopen php function

The following code is running on an apache2 webserver running on a raspberry pi 4 but the the fopen function is not currently working, I think it is something to do with the permissions but am unsure ...
Rory3140's user avatar
0 votes
0 answers
33 views

Unknown parameter: POST, GET in .htaccess file

I am new to Apache/PHP, and I want to initiate a new project by copying it from one laptop to mine. I have installed Apache, etc. Now, when I try to access "Myproject/" in the browser, I ...
Arthur's user avatar
  • 159
1 vote
0 answers
28 views

I want a htaccess file to redirect to my subfolder build where my react app is located in linux server

So my Ht access file looks like this <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] ...
Manish's user avatar
  • 11
0 votes
1 answer
25 views

Many requests to /php_fpm_status and server unresponsive

The server became very slow and unresponsive and I restarted apache and nginx a few times. I looked in my Apache mod_status page and I seen 10-20 requests to /php_fpm_status , besides 100-200 normal ...
adrianTNT's user avatar
  • 3,746
0 votes
0 answers
9 views

setup Apache to work with different ports for different web URLs

I have SSL running on the server. https:www.domainname.com, currently works for the website. However I want to have another domain https://mgmt.domainname.com, that I want a external user to connect ...
vrao's user avatar
  • 577
0 votes
0 answers
17 views

Local ESM delivery like JSDelivr

I want to setup my local apache delivery the way like jsdelivr.com? Why? Cause once in a while jsdelivr is down and my site can't load. And I'd want to avoid suck situations. For instance, I use ...
user2516873's user avatar
-2 votes
0 answers
23 views

Problems with see images in ms outlook [closed]

I need to solve an issue with images in MS Outlook. The problem is that I can't see the images in the emails sent from my Magento 1.9. I don't think it's a configuration issue, as I can see images in ...
Jpenailillo's user avatar
0 votes
0 answers
26 views

Using status_module with ProxyPass Virtual Hosts in Apache (Windows)

I've been playing around with the status_module for a bit now but I cannot seem to apply it to the Virtual Hosts I want as described here: https://techexpert.tips/apache/apache-mod_status-installation/...
dschwartz0815's user avatar
1 vote
1 answer
52 views

mod_perl failing to locate modules under apache

I am trying to setup mod_perl like is specified here: Modperl setup manual and I am stuck at very beginning, as I don't possess a good understanding of how to configure yet. Using Apache24 with ...
armagedescu's user avatar
  • 1,818
0 votes
0 answers
22 views

Deploy nuxt js project on shared hosting

I had a project in which some routes are dynamic. Earlier when I had to deploy the project then what I did that I hit the command "npm run generate" which generates some html files in ....
Nancy IWS's user avatar
0 votes
1 answer
21 views

browser opens .ini file as video (media)

I'm running a TWiki-Web on Apache in our local network. Whenever I try to download an attached .ini-File, the browser (I tried several) tries to open it as some kind of media starting a video-player. ...
suriel's user avatar
  • 327
-1 votes
0 answers
47 views

Generating fake traffic for testing purpose [closed]

I want to test a website by generating fake traffic on website for checking the views on google analytics. How can I do that? Is there any code or software which can help me in this? I tried Tor ...
Archie Sharma's user avatar
1 vote
1 answer
66 views

Deploying a Vite Vuejs app to Apache server

I am using xampp apache server on a local machine. I tried npm run preview and serve -s dist. It can be access but u have to put a port after the project name localhost:3000 something like this. I ...
Jiel's user avatar
  • 115

1
2 3 4 5
1849