Questions tagged [apache2]
The apache2 tag has no usage guidance.
93
questions
1
vote
3answers
70 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 ...
0
votes
1answer
38 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 ...
0
votes
0answers
23 views
Rest api is not working in local server magento 1
Rest api is not working in local server magento 1,
I taken module from github, it's working fine in server, but in localhost it displays the html code of home page. how to configure apache2 to work ...
0
votes
0answers
34 views
Magento 2 Varnish URL mismatching
I have set up a Magento web server as per below
varnish (127.0.0.1:6081) -> magento 2.3 (192.168.1.250:8080)
The varnish is installed in the separate host and Magento is installed in another host.
...
0
votes
2answers
773 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 ...
0
votes
0answers
21 views
Why am i getting this page instead of magento installation console?
I'm trying to install magento2 in fedora.
I have downloaded magento2 zip and extracted in under /var/www/magento/
provided configuration in httpd.conf file
after restarting httpd i getting this in ...
0
votes
1answer
68 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 ...
0
votes
0answers
22 views
different robots.txt for Magento 2 multisite
I have 2 different sites setup using website code on apache2. Now I need to have 2 different robots.txt files for each domain.
This is first vhost file
<VirtualHost *:80>
ServerAdmin admin@...
1
vote
3answers
366 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, ...
0
votes
1answer
675 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 ...
0
votes
1answer
426 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.
...
0
votes
1answer
165 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 ...
1
vote
1answer
329 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 ...
1
vote
2answers
488 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 ...
1
vote
0answers
31 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....
1
vote
1answer
120 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.
0
votes
0answers
894 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 ...
0
votes
1answer
480 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 ...
2
votes
1answer
58 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 ...
0
votes
1answer
1k 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 ...
2
votes
3answers
3k 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 ...
0
votes
1answer
180 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 ...
1
vote
1answer
901 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 ...
6
votes
2answers
2k 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 ...
1
vote
1answer
809 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 ...
1
vote
0answers
151 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 ...
5
votes
0answers
410 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 ...
0
votes
1answer
34 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 ...
0
votes
2answers
317 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 ...
0
votes
0answers
23 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 ...
...
1
vote
1answer
56 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....
0
votes
1answer
650 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 ...
0
votes
1answer
50 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 ...
0
votes
1answer
53 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 ...
0
votes
1answer
263 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"&...
0
votes
1answer
155 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/...
0
votes
1answer
317 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 ...
1
vote
0answers
194 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) ...
0
votes
1answer
49 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 ...
4
votes
3answers
2k 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:
...
0
votes
1answer
134 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 ...
2
votes
4answers
11k 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 ...
0
votes
1answer
171 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 ...
0
votes
1answer
557 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....
0
votes
2answers
3k 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 ...
3
votes
3answers
9k 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 ...
1
vote
0answers
40 views
Web server very slow for serving images of Magento
I have a very strange issue with Apache and Magento.
Apache is very slow when serving images, but only for images in a particular folder of Magento theme.
Isn't an Apache issue because in the other ...
1
vote
1answer
61 views
Magento 2.1.9, Apache/2.4.10 (Debian) - The header “Cache-Control: private” is adding to all my static files and images
We have a Magento 2.1.9 installation on a Debian Jessie server. It is configured to be connected with Cloudfront CDN for media and static files. The problem is that all the files that are served to ...
0
votes
2answers
693 views
Magento 2 rest api - Client denied by server configuration
I am using magento rest api to manage cart. My frontend runs on reactjs.
Here is my apache virtual host looks like :
<VirtualHost *:80>
DocumentRoot /var/www/html/magento/pub
...
0
votes
2answers
279 views
Get an error when deploy magento2
When I generate static files in the deployment, I run
php bin/magento setup:static-content:deploy but it fails.
I have disabled the extension=php_intl.dll
in etc/php/7.0/cli/php.ini and restarted ...