Questions tagged [apache2]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
20 views

chown: invalid group: ‘:apache’

After copying all files / db on my local VB when I tried to setup permissions: find var vendor pub/static pub/media app/etc -type f -exec chmod g+w {} + && find var vendor pub/static pub/media ...
user avatar
  • 1
0 votes
0 answers
33 views

How to configure virtual host in MAC OS(MAMP server) in magento 2

I have installed Magento in MAC OS system, I have run all deploy commands. everything works fine. But when I hit the localhost URL, It shows like below. Server: MAMP server I think this is caused due ...
user avatar
  • 2,398
0 votes
0 answers
11 views

Soap verify_pear = true gets failed

I have installed the OpenSSL 1.1 and Let's Encrypt SSL on a Magento installation. I am trying to connect with the FedEx Service on Magento. Whenever it tries to fetch the rate I am getting an error ...
user avatar
0 votes
1 answer
110 views

Magento 2 on Apache + Varnish getting continuous purge request

I have configured Varnish on my ubuntu server with apache. But varnish is showing a lot of repetitive purge requests and the site is extremely slow. What could be the reason behind it? I have magento ...
user avatar
0 votes
1 answer
22 views

Magento or Apache 2 Permission?

I have a vm where I run ubuntu 18.04 , Apache 2 and Magento 2.3 every thing works fine but I think I'm doing something wrong with my permissions. So I have added to user 'dev' to the www-data group (...
user avatar
0 votes
0 answers
31 views

Magento2. client denied by server configuration on hosting error report

client denied by server configuration on hosting error report When I check Cpanel errors I can see below errors appear lot of time AH01630: client denied by server configuration: /home/b/public_html/...
user avatar
  • 409
0 votes
2 answers
167 views

404 Error after success installing magento 2.4.2-sp1 using Windows 10 + composer --XAMP

**My current Environment is** >Server version: Apache/2.4.48 (Win64) >Apache Lounge VS16 Server built: May 18 2021 10:45:56 PHP 7.4.20RC1 (cli) (built: May 19 2021 17:12:38) ( ZTS Visual C++ 2017 ...
user avatar
0 votes
2 answers
2k views

Apache shows Magento directory index after installation (local dev setup)

So this is a bit of a debugging question, but I do not have any idea what else to try. I am new to Magento and I wanted to set up a local instance of it to fiddle around. I followed effectively this ...
user avatar
  • 107
4 votes
3 answers
3k views

Error 404 on Magento 2.4.2 on Localhost

I have set up a localhost installation of Magento 2.4.2 community edition, now I am getting this error: 404 Not Found. I've got elasticsearch installed, a mysql database created but I can't even ...
user avatar
0 votes
1 answer
161 views

Updating products on backend doesn't reflect on frontend

I have this magento store I just installed and configured according to guides Varnish cache. Website now is blazing fast, but if I update a product (for example, add a description), even if I cache ...
user avatar
  • 11
0 votes
2 answers
2k views

Varnish Cache not working Magento 2.3, iginx proxy and apache2 backend webservers

I have a site setup with nginx as proxy serving an apache2 server, I'm trying to implement varnish caching. nginx is listening on 443 and 80 varnish is configured to listen on 8080 apache2 is ...
user avatar
0 votes
1 answer
130 views

Moving from Hostgator Magento 1.9.3.3 to Digital Ocean Magento 1.9.4.4

I am trying to move away from a HostGator VPS to a Digital Ocean VPS and also upgrade my Magento version in the meantime. I have a very basic knowledge of VPS and the LAMP stack. So on Hostgator, I ...
user avatar
  • 33
1 vote
3 answers
725 views

Magento 2:Your web server is set up incorrectly and allows unauthorized access to sensitive files. Please contact your hosting provider

I'm struggling trying to solve this very annoying problem on my Magento 2.3.3 store. Today I forced the SSL on the website (I did it that by enabling the https on the unsecure URL). After 10-15 mins, ...
user avatar
0 votes
1 answer
1k views

Unable to access Magento Due To ERR_EMPTY_RESPONSE

Magento was working fine but then on trying to access http://80.85.85.79/berguard_stationery I get an error: This page isn’t working 80.85.85.79 didn’t send any data. ERR_EMPTY_RESPONSE I have three ...
user avatar
  • 3
0 votes
1 answer
782 views

Confused about Apache and Varnish Ports when redirecting HTTP to HTTPS with Magento 2

Our setup is a Magento 2.3.3 store running on a dedicated (not shared) Linux host. We have full root access and can edit all files as needed. The httpd server is Apache 2.4. Varnish is ver 6.3. ...
user avatar
  • 230
0 votes
1 answer
267 views

How to Change URL of Magento Site After Modifying Apache DocumentRoot?

My question is similar to How to do redirect the URL of site but I want to do the opposite. And there is a further challenge or two I cannot understand yet. Our setup is a Magento 2.3.3 store running ...
user avatar
  • 230
1 vote
1 answer
604 views

How to improve Magento performance by eliminating Apache .htaccess files?

Our setup is a Magento 2.3.3 store running on a dedicated (not shared) Linux host. We have full root access and can edit files as needed. The httpd server is Apache 2.4.41. We have read several good ...
user avatar
  • 230
1 vote
2 answers
827 views

How to use Elasticsearch 6 with Apache, Redis and Varnish on Magento 2.3 Open Source?

I'm just learning Magento. I have Magento 2.3.3 open source set up on a Linux server with Apache, Redis & Varnish. Next I want to install Elasticsearch 6 ("ES") and I have confusion about some ...
user avatar
  • 230
2 votes
0 answers
47 views

Magento2 Seller Sub Domain Configuration

We are using multivendor marketplace in magento2. Now i we have login for seller as http://mystore.com/marketplace/vendor/login , I want to make it as seller.mystore.com that means when ever seller....
user avatar
  • 492
1 vote
1 answer
198 views

Different PHP-FPM Pools for frontend and backend using Apache2

I found this article teaching how to create two different php-fpm pools from magento frontend and backend using nginx. My question is: is it possible to do this using Apache2? Thanks in advance.
user avatar
0 votes
0 answers
2k views

Apache Virtual host setup configuration in localhost for multiple magento sites

I have two Magento 2 instances in my Virtualbox ubuntu server. 1st one is new installation magento2.3 located at /var/www/html/, it is working fine and accessible from the browser using IP 127.0.0.1 ...
user avatar
0 votes
1 answer
878 views

Magento 2.2.9 CE Which Elasticsearch Version?

Please, can someone clarify for me Magento 2.2.9 Community Edition Which Elasticsearch Version can be used with it? I have Amasty Elasticsearch extension installed - Tests are successful with both ...
user avatar
  • 125
2 votes
1 answer
93 views

Magento 2.3 Installation worked on Ubuntu 18.04, but after Ubuntu Restart Magento Page will not load any more. Any Ideas what could be the Problem?

I need your help. I am new to Magento 2.3 and first everything worked perfect after the Installation on my Ubuntu 18.04 Maschine, but after my first Ubuntu restart the Magento Shop Page and Admin Page ...
user avatar
0 votes
1 answer
2k views

Magento 2 : Mixed Content Error Block HTTP Request an HTTPS page

When I call the third party HTTP URL in my page. Then, I face the below error. How can I solve it? Mixed Content: The page at 'https://*******************' was loaded over HTTPS, but requested an ...
user avatar
3 votes
3 answers
8k views

Magento 2: 403 error when visiting website in browser

When I connect from my local machine to a live instance of Magento 2, I get a 403 Error with the following message: Forbidden You don't have permission to access / on this server. Server unable to ...
user avatar
  • 61
0 votes
1 answer
415 views

Magento 2 multi store with ubuntu and apache

I have magento instance running on 8090 port. I have created an another store call store2 I followed all the steps and also change base url and added store code with base url as per this link My ...
user avatar
  • 828
1 vote
1 answer
1k views

SoapFault: looks like we got no XML document - Magento and laravel

I am with a problem in my application Laravel, when i use the SoapClient, for example my_object_soap->login(); returned this error: Fatal error: Uncaught SoapFault exception: [Client] looks like ...
user avatar
6 votes
2 answers
4k views

How can I display a custom maintenance message on Magento 2.2.4

I have to update several modules of Magento, also deactivate others and during that the frontend will not be available. How can I make a simple personalized message? Would you touch on some Magento ...
user avatar
  • 337
1 vote
1 answer
1k views

FollowSymLinks is enabled for <Directory> however Apache returns HTTP 403 for image request

It seems like I have some generic Apache configuration issue, but I cannot spot the problem. I have Magento v2.2.7 installed to default Apache document root directory (/var/www/magento) under user ...
user avatar
  • 111
1 vote
0 answers
254 views

htaccess for brotli does not work

I want to add the following code to my htaccess but it does not work. # ---------------------------------------------------------------------- # | Brotli pre-compressed content ...
user avatar
5 votes
0 answers
517 views

Magento2 : Too much apache processes running and consume memory

In magento2 - I've an instance of type c5d.xlarge on AWS with centos 7 with 8GB of RAM. I'm running a magento storefront on it. Magento version is 2.1.7 and apache version is 2.4 . Now the problem is ...
user avatar
0 votes
1 answer
49 views

Images not loading and size and color dropdown also not loading with Apache and NGINX

im struggling with Magento 2.2.4, its giving so many errors. Initially we had Apache web server with PHP 7.1 and NO nginx. In this scenario sometimes the color and size dropdown were not getting ...
user avatar
  • 1
0 votes
2 answers
1k views

404 Not Found After changing HTTP to HTTPS

I have recently installed a SSL certificate on my VPS and I've been trying to make it work with the Magento store. HTTP works just fine but it won't work when I'm using HTTPS. I changed the Secure ...
user avatar
  • 15
0 votes
0 answers
25 views

Magento 2 - website is not loading full in my server how i can fix this

Magento 2 - when access my domain it's print like above image i run php bin/magento setup:upgrade php bin/magento setup:static-content:deploy -f then i cleared cache but it's not working ... ...
user avatar
  • 1,047
1 vote
1 answer
95 views

Magento 2: Media url issue url like "example.com/media/a.png" not working

I migrated my website from nginx to apache, my media url of nginx are not working now. For example below url used to work earlier example.com/pub/media/blog-banner.jpg example.com/media/blog-banner....
user avatar
0 votes
1 answer
984 views

Why we rewrite urls in magento 2?

When I deployed magento project from one server to another server css and js didn't loaded. So I google and got this answer which worked for me. <Directory /var/www/html> Options ...
user avatar
  • 828
0 votes
1 answer
65 views

Magento2 custom folder php scripts are not being executing 500 error

I have some PHP scripts for creating products using rest api. All the script are under products_create_factory folder and this folder is in magneto2 root. When I execute a script from that folder from ...
user avatar
0 votes
1 answer
67 views

Magento 2 permission issue

I installed Magento 2 via Composer and after I followed the steps and it was installed I received this on the frontend: Basically all URLs go to 404 (admin as well). I am using Ubuntu 18 and Apache ...
user avatar
  • 3,575
0 votes
1 answer
368 views

Magento 2 static files missing issue

i have setp up magento 2.2 on apache server , my static files url are like : <script type="text/javascript" src="http://example.com/pub/static/frontend/Magento/luma/en_US/requirejs/require.js"&...
user avatar
0 votes
1 answer
181 views

How can I redirect Document root to Magento root?

Ducument root is /var/www/html Magento root is /var/www/html/magento I tried the virtual directory like VirtualHost *:80> DocumentRoot /var/www/html/magento <Directory /var/www/html/...
user avatar
0 votes
1 answer
458 views

Are there any benefits of using Apache's mod_cache_disk with Magento 2?

I'm currently configuring a web hosting server (Ubuntu 16, Apache 2.4, 8GB RAM, 6 Core CPU) with about 20 Wordpress and Magento 1.9.X/2.2.X sites and would like to optimize it for speed with Apache's ...
user avatar
  • 2,707
1 vote
0 answers
220 views

Magento 2 - after upgrading EC2 instance Magento crashes during every product save with CPU at 100%

I have a site in development using Magento (2.2.5) on a EC2 instance with only one CPU and everything was working fine. I then upgraded the EC2 instance to 4 CPUs (standard instance upgrade on AWS) ...
user avatar
  • 316
0 votes
1 answer
51 views

Magento2 Admin, https loop

I would like my Magento 2 shop to be accessible only via HTTPS. So I added this line to the Apache2 config file: Redirect / https://www.domain.com/ The issue is that now the backend can't be ...
user avatar
4 votes
3 answers
3k views

Magento 2: 403 error after issuing setup:upgrade command

I have set 777 permissions for pub/ and var/ directories. I have run php bin/magento setup:upgrade. A 403 error is displayed when accessing any page on the website with the following message: ...
user avatar
0 votes
1 answer
140 views

Magento 1.8.1 Chrome Login not working

I am trying to figure out what is going wrong in my Magento 1.8.1 setup. My Magento 1.8.1 installation is all working fine if I access it from the server IP (e.g. XXX.XXX.XXX.XXX/magento). After I ...
user avatar
3 votes
4 answers
14k views

Magento 2 : Admin url 404 not found

I know there are many answers for this i tried all and not able to do it on my server hosted with godaddy magento latest version I tried this <Directory /var/www/> Options Indexes ...
user avatar
  • 181
0 votes
1 answer
274 views

File not found. After adding 301 redirect - Magento 2

I've added a permanent 301 redirect to my Magento 2 store to remove .html from my category and product urls by adding the following code to my website .conf file - I'm using Apache redirectMatch 301 ...
user avatar
  • 2,443
0 votes
1 answer
643 views

Http 500 error after disabiling Magento 2.2.3 dotmailer module from admin backend

Magento 2.2.3, Php 7, Ubuntu 16.04 x64 I'm getting following notice on website after disabling a magento module "This page isn’t working exampledomain.com is currently unable to handle this request....
user avatar
0 votes
2 answers
4k views

Cron causing high CPU

Our /var/log/messages is flooded with these records: Jan 25 13:17:04 885589-DB1 systemd: Starting Session 570175 of user apache. Which causes high CPU process: 1858 root 20 0 345084 315516 ...
user avatar
  • 146
3 votes
3 answers
11k views

Magento2 throws 500 internal server error

I installed Magento2.2. After installing when I visit the site, it shows 500 Internal Server Error The same for admin section as well. I removed my .htaccess from root folder and tried. This ...
user avatar
  • 1,397