Questions tagged [apache2]

Apache (HTTP Server) /əˈpætʃiː/ is a modular cross-platform web server software with a large variety of features(called modules) including SSL, compression, log, proxy and server-side programming language interfaces like Perl, Python, Tcl, and PHP.

apache2
Filter by
Sorted by
Tagged with
0 votes
0 answers
8 views

phpfpm and apache configuration not working

i'm recently working on 3-tier architecture on ubuntu virtual machines , 1 desktop and 2 servers, Their network configuration is set to bridged Adapter in order to communicate with the wifi card ...
1 vote
0 answers
6 views

Cannot push into Mercurial, End of script output before headers: hgweb.cgi, TortoiseHg command returned code 255

I'm having some trouble with Mercurial. It was working fine, and after a few pushes it starts returning error. I am using TortoiseHg and the log returns command returned code 255 When I check the log ...
0 votes
0 answers
14 views

Issue with [proxy_fcgi:error] [pid 1539011] (70007)The timeout specified has expired

I need assistance on debugging my apache2 + php8.2-fpm. based on apache2 error log, there is a lot of error [proxy_fcgi:error] [pid 1539011] (70007)The timeout specified has expired: [client xx.xx.xx....
-1 votes
0 answers
20 views

Moving a website from a subdomain to the domain root

I have an httpd service on Amazon EC2 that hosts a Wordpress site on a /wordpress subdirectory (the WordPress is live on https://example.com/wordpress). Now, I want the Wordpress site to be hosted on ...
0 votes
0 answers
12 views

Wordpress 6.4.3 installation in subdirectory

I am trying to install wordpress 6.4.3 in custom subdirectory in Ubuntu 20.04 LTS. Extracted wordpress contents in /srv/www/blog/ folder, and configured database correctly. Followed the instructions ...
0 votes
0 answers
11 views

Odoo live chat not working when using apache reverse proxy

Now here is the situation i have two servers, one is running apache2 and the other is running odoo with nginx, the server that is running odoo doesnot have a public ip, what i am doing is i am using ...
0 votes
0 answers
10 views

apache2 rotatelogs creates log file but its empty when deployed to azure web app

im trying to rotatelogs by day, i've setup the following in apache conf. file: LogFormat "%h %l %u %t \"%r\" %>s %O" common CustomLog "|/usr/bin/rotatelogs -l /var/log/...
-3 votes
0 answers
17 views

Error when trying to get SSL Lets Encrypt in Apache Django web app ubuntu oc

I wanted to get the free ssl and so i installed the lets encrypt. I was aware of the errors wirh WSGI module and duplicate and solved them successfully. But when i go to the adress isabelcanvas.ru it ...
0 votes
1 answer
31 views

Docker networking forwarding failed [closed]

I got a problem regarding Docker networking. I've a php (non-framework) and mysql setup with Docker Compose and Docker Desktop. Mysql is using port 3636 and is working perfectly, like: I can reach him ...
1 vote
0 answers
23 views

PHP apache2 - php script cli will write txt file but browser will not

I'm running an Apache2 server (lamp) with PHP8.2 on Raspberry pi5. I have transferred all my code from a previous Pi4b. but installed the lamp server afresh. I have some simple php script files which ...
15 votes
8 answers
139k views

Failed to start The Apache HTTP Server on ubuntu 18.04

I am trying to create a web server on my ubuntu 18.04 so i installed Apache2 but i can't start it. Here's what appeared when i run the systemctl status apache2.service command apache2.service - The ...
1 vote
1 answer
233 views

I got error on apache2 server django application Failed to proxy response from daemon

The website works fine only for 1-2 requests, after which it starts loading endlessly and if I wait for some time I get an Internal Server Error. After this I reload the server sudo systemctl reload ...
0 votes
0 answers
38 views

Troubleshooting incorrect content on mobile redirect

I own a domain called bigstore.com and have developed a Laravel website for it: www.bigstore.com. It's hosted on an Ubuntu 22.04 server utilizing Apache2, and the website is HTTPS-enabled. The server ...
0 votes
1 answer
23 views

Troubles with installing redmine on linux server Ubuntu 22.04.4

i have get problem with REDMINE.. Could you please help me? I try describe everything i did I made this install sudo apt-get install apache2 libapache2-mod-passenger After configure file /etc/apache2/...
0 votes
0 answers
12 views

Issues while deploying flask app using apache2

I need to deploy a flask app using apache2 and wsgi but I can't figure out how to do it. I have seen many tutorials and blogs on how to do it but they all use a demo flask app and I have built my app ...
6 votes
2 answers
15k views

apache2: Syntax error on line 80 of /etc/apache2/apache2.conf: DefaultRuntimeDir must be a valid directory, absolute or relative to ServerRoot

I installed apache2 in my ubutu server 20.04, but when i troubleshoot the syntax by sudo apache2 -t, it gives me the following errro: [Sun Apr 17 08:43:12.116347 2022] [core:warn] [pid 34462] AH00111: ...
-1 votes
1 answer
26 views
+100

RewriteRule ^$ https://www.google.com : eventually want to redirect / to /something_else/index.html

I've apt install apache2 for 100% stock ubuntu 22.04 apache2 , run a2enmod rewrite, added these lines to ./sites-available/000-default.conf, and restarted apache2. LogLevel info ssl:warn rewrite:...
1 vote
0 answers
8 views

Apache2 redirection results in wrong URL

Two domains are directed to my single ip address. In the LAN, I have two Pi Apache servers. The router redirects port 80 traffic to 192.168.1.16. There, sites-available redirects domain2.com traffic ...
1 vote
6 answers
1k views

Symlink is not getting refresh until apache server reboot

Basically i have followed steps from this link: https://docs.gitlab.com/ee/ci/examples/laravel_with_gitlab_and_envoy/ I am using apache server instead of NGINX and that is the only difference. So ...
-1 votes
0 answers
22 views

Apache2 default page won't disable, after being disabled [closed]

I'm new on Linux. I'm working on a project and use Ubuntu Linux and i had to configure a web server. I installed Apache2 and i was able to disable the default page in order to show something specific ...
0 votes
0 answers
12 views

Running A ReactJS App in a subfolder under root creates 404 errors

Created a ReactJS app that uses routes and wish to deploy it in a subfolder of my root web: https://myrootsite.com/myreactapp. Modified my package.json: { "name": "website", &...
0 votes
0 answers
9 views

How to add custom apache2/httpd header based on BALANCER_WORKER_ROUTE variable?

I have a very simple httpd apache2 setup, and would like to set a custom header only if the route=green BalancerMember is active and chosen for the request. The following does not work: <...
0 votes
0 answers
10 views

Node js on apache2 failed

I am trying to setup a node server on a apache...maybe thats a dumb idea idk. When I try to start my node-project.service I get the following error. node-project.service: [Unit] Description=Node.js ...
2 votes
0 answers
42 views

PHP does not load

im trying to Start PHP on my Webserver, but this is all im getting root@ubuntu:/etc/apache2/sites-enabled# a2enmod php8.1 Considering dependency mpm_prefork for php8.1: Considering conflict mpm_event ...
0 votes
0 answers
22 views

Apache2 Modsecurity configuration file error

I am trying to activate modsecurity by following the official documentation on https://www.linode.com/docs/guides/securing-apache2-with-modsecurity/ Firstly, the file I have is /etc/apache2/sites-...
4 votes
1 answer
13k views

OPCache is enabled, but php -i shows it is disabled

I installed NextCloud and in the summary window it keeps telling me that my OPCache is not enabled. I have enabled it and I am seeing conflicting information about if it really is enabled or not. ...
3 votes
4 answers
726 views

Maxima Segmentation Fault PHP exec() on Ubuntu 20.04

Update: by redirecting stderr from php exec, I can now see that running maxima produces a segmentation fault, increasing the likelihood that this is in fact a bug. Important note: this used to work ...
0 votes
3 answers
830 views

Way ANDROID DEVICES can't send requests to my server

Hello Developers, thanks for being helpful on all-time. I'm working on a project it's working fine on Web Navigator Chrome, but when I build the Android App using react-native, I found that I can't ...
-1 votes
0 answers
12 views

How to configure application inside the apache2 and application running on windows tomcat server

As per mentioned in title, my applications are running in two different windows server with different ports so i want perfect configuration for this achievement. Here Apache2 is running on ubuntu ...
0 votes
2 answers
8k views

All PHP Pages are showing up completely blank

I programmed a website, no need to get into more detail about it but it works and does not require any DB or something like that. But on my new Ubuntu 10.04.4 LTS Server all PHP pages show up blank. I ...
3 votes
1 answer
964 views

Unable to connect to gmail smtp linode django apache2 setup

Hello im having difficulties connecting to google smtp server. The context is that whenever a user fills in a form , my program will automatically email me the feedback to my gmail account. Everything ...
0 votes
3 answers
1k views

Can't frame https://xxx-my.sharepoint.com because an ancestor violates

I got this error when I tried to (i)frame sharepoint.com : Refused to frame 'https://xxx-my.sharepoint.com/' because an ancestor violates the following Content Security Policy directive: "frame-...
0 votes
0 answers
11 views

Is it fine to omit "application server"(e.g. Gunicorn) part when deploying a Python Backend(e.g. Flask) application on a webserver?

I have a Flask application running on port 5001 on my remote Ubuntu 20.04 computer. I need to make sure that it can be accessed on the internet. My organization bought the domain name myapp.edu. For ...
52 votes
2 answers
183k views

Decrypt password created with htpasswd

I created a protection for my web pages with apache2 in ubuntu. Now I am creating an application in c++ and I want it uses the same file that Apache2 uses for authentification, but my problem is that ...
0 votes
0 answers
6 views

Ratchet WSS Handshake Error Apache2 XAMPP

I know the method I'm using is probably not advised but I think I'm missing a step. Im trying to establissh a secure web connection with ratchet server on apacche2 & XAMPP. I've setup proxypass. ...
2 votes
2 answers
2k views

Set default PHP version of apache2 to a specific version

Currently the PHP version showing if I call phpinfo() is 8.0.19. I need to change it to 8.0.15. I already build 8.0.15 from source and changed the CLI PHP version successfully by using update-...
-1 votes
1 answer
28 views

Why can I not find my index.html in WinSCP and replace it to make my Apache2 VPS server website hosting work?

In my rented VPS server and am using Apache2. I created an index.html file in the folder /var/www/html/. This .html file is correctly displayed when opening my new webpage. However, I want to transfer ...
0 votes
0 answers
19 views

Common phpmyadmin for apache2 and nginx

I am trying to use common phpmyadmin in nginx installed using apache2 in my local machine. I have tried many blogs and videos but phpmyadmin is not working in my local. For example I have tried ...
0 votes
1 answer
93 views

Laravel Livewire Failed to Store File

I have deployed my Laravel Livewire app on my Ubuntu server (Apache2) and configured it. Livewire is working fine, but when I try to upload an image or any files, it returns an error. The error on ...
0 votes
0 answers
16 views

ReactJS app not opening on Apache2 server

I've modified the package.json file with 'homepage' variable and run the 'npm run build' function, and moved the output files to the desired location. However, the index.html page isn't being ...
0 votes
0 answers
20 views

Apache2 failing when enabling php mod (Ubuntu 20.4)

I've install php5.3 (from ppa:sergey-dryabzhinsky/php53), but when installing apache2 and then enabling it through sudo a2enmod php53 the output says to run sudo systemctl restart apache2, however ...
0 votes
0 answers
10 views

Vega OpenSearch: JSON url from Apache server loading failed

Vega from OpenSearch fails to load the url, the same issue occurs in online Vega editor. However, it is perfectly fine and rendered if I paste in Web browser. "$schema": "https://...
-1 votes
0 answers
16 views

Problems with react SPA for a deployment

i got an issue with my deployment of my react app, that is a SPA, here is my apache2 conf file, but when i am on another url than "/", i got an exception like this : `Not Found The requested ...
0 votes
1 answer
22 views

Tesseract Issues on Mac 'XAMPP'

I've installed tesseract on mac (ventura). When i run it in terminal it works fine. when I run the html php code using the apache2 server located in the '/usr/local/' path it works. I'm not sure ...
0 votes
0 answers
15 views

Apache2 404 error while accessing a file that is physically located in the directory on server

On my ubuntu server i have user farmer inside home/farmer i created directories /var/www/bit/ inside it i put file index.html I have granted following rights to directories and index.html file ...
0 votes
0 answers
20 views

Running 2 Nodejs apps through Apache

I have 2 apps that I need to run on my Apache server: My main landing page (Nodejs app running on port 5500) Nodejs express project running on port 8080 My conf file looks like this: <VirtualHost ...
0 votes
0 answers
26 views

How to add Proxy pass, Reverse proxy pass to my apache virtual host configuration?

I am working on a VPS fully managed server. Many applications are running on it. For one of my domains, I want to pass a proxy to it. I did ssh and found the below information from the /etc/apache2/...
1 vote
1 answer
70 views

Cannot access FastAPI app behind Apache HTTPS proxy on Google Cloud

I'm struggling to serve my FastAPI app securely on forge-code.com with HTTPS. Here's what I've done so far: Deployed my FastAPI app on a Google Cloud instance. Successfully accessed the app using ...
0 votes
1 answer
29 views

RewriteEngine for different scenarios

I'm a bit struggling with the RewriteEngine using with a Linux machine. Needed is to have 4 scenarios, 2 are working fine, 2 not (for sure because I do any kind of misconfiguration). My goals: Works ...
0 votes
0 answers
8 views

apache is downloading page instead of displaying it

Everything was working fine. I enables https and now the index page is asking me to save it. It is blank. I used cetbot, everything went well. Then when I go to my home page is prompts me to save it. ...

1
2 3 4 5
160