Questions tagged [apache2]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
21 views

AH01797: client denied by server configuration <directory > referer: in magento 2 project

how I can solve this AH01797: client denied by server configuration <directory > referer: Does anyone have an idea??? I already tried this answer: 1)https://magento.stackexchange.com/a/...
0
votes
1answer
48 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 ...
0
votes
0answers
12 views

Magento 2 connection reset error when processing large datas

I am using Magento 2.3 in ubuntu 16.4 with apache server. I am syncing data from Dropbox csv into Magento 2 attributes. Everything working fine, but I have more than 17,000 SKU's and need to process ...
2
votes
3answers
71 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 ...
0
votes
1answer
29 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
188 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 ...
3
votes
2answers
187 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
0answers
94 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
33 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 ...
4
votes
0answers
105 views

Magento2 : Too much apache processes running and consume memory

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 the memory ...
0
votes
1answer
26 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
0answers
63 views

Remove Duplicate admin URL in Magento 2

Hi I have stuck using magento 2 where I want remove duplicate admin in the URL,this my url : https://example.com/admin/admin/system_config/edit/section/web/key/a986525f4db93c0abcda3b1d1cbb3/ and I ...
0
votes
0answers
27 views

ERR_CONNECTION_REFUSED after Magento2 Migration to Google Cloud

I am new here. You can say I am new with servers and their configurations. I have moved my magento2 site to google cloud VM. Merged theme, media files and Database. everything is working fine on ...
0
votes
2answers
58 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
11 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
34 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
121 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
0answers
542 views

Response to preflight request doesn't pass access control check

There are many questions about "Access-Control-Allow-Origin" which I applied in htaccess as follows Header set Access-Control-Allow-Origin "*" After applying that I am facing following error: ...
0
votes
1answer
28 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
30 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
66 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
0answers
87 views

Rewrite on .htaccess stop working

I have a magento 1.9 multisite over Apache 2.4.6 on ISPConfig 3 After a problem with my server, htaccess stop working. VPS restored wuth snapshot older, and after up VPS, restore only files web and ...
0
votes
1answer
95 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
84 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
134 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
44 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
584 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
87 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 ...
1
vote
4answers
4k 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
65 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
270 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
1k 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
4k 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
37 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
49 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
354 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
208 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 ...
0
votes
1answer
681 views

how to import .csv file in defined table in command line?

I need to import.csv file throught windwos command line terminal in defined table. I trying this command : C:\xampp\mysql\bin\mysql -u root -p dbname dbtablename < C:\xampp\htdocs\site\csvfolder\...
1
vote
0answers
98 views

magento 2 installation on ubuntu 16.04

I have a small problem. I have installed the new magento 2 on a ubuntu 16-04 server with php 7.0. I installed everything OK, now errors.. The i whant to install extension.. and i got this: So i test ...
0
votes
4answers
618 views

404 on every page, fresh install

I'll start off with saying that I am new to Magento. After installing Magento I only receive 404's. There is no styling either. I can't access the admin panel or anything, I just see "whoops, our bad.....
2
votes
1answer
413 views

Magento 2 websites : BLOCK access from ALL & ALLOW access only from some countries?

There are many options and many articles, but I want some advice for my particular setup from Pros who have more experience than I do. On my VPS I have tree magento websites. All websites have the ...
1
vote
1answer
43 views

Very slow loading upon locale change [closed]

I changed my Magento 2 store locale to Russian using the etws/magento-language-ru_ru plugin and the site loading speed significantly increased. Chrome shows that the waiting time (TTFB) is 12-15 ...
0
votes
1answer
269 views

PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/zip.so'

I am trying to install Magento 2. In Readiness check , PHP Extension zip is missing. I am getting below error message - PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/...
3
votes
1answer
2k views

How to setup AWS Cloudfront for Magento 2

I have been looking everywhere for a solution, and I was following the following documents to achieve this task. https://absolutecommerce.co.uk/magento2-aws-cloudfront-cdn Here they mention ...
1
vote
0answers
393 views

Configure Apache Solr 6.5.0 into Magento 2.1.3 Community Edition

How to configure Apache Solr 6.5.0 into Magento-2.1.3 Community Edition. I have followed this official Documentation but it is only for Magento EE. Please provide some documentation or steps where ...
0
votes
2answers
847 views

Problem using Nginx and Apache both for Magento 2

I am trying to use nginx as static web server front and apache processing the back end for Magento. but magento is showing me this error: Your web server is set up incorrectly and allows unauthorized ...
1
vote
1answer
273 views

Unable to display images in .thumbs directory with Apache 2.4, Magento 2

Not necessarily a Magento question but using Apache 2.4 and Magento 2, the HTML editor image uploader creates a directory pub/media/wysiwyg/.thumbs Which our server can't display. Error is [Thu ...
0
votes
1answer
77 views

Apache2 server security and magento

I want to use this in my pre conf for the server Header unset Content-Security-Policy Header add Content-Security-Policy "default-src 'self'" Header unset X-Content-Security-Policy Header add X-...
0
votes
1answer
42 views

Category, product and admin pages won't work without index.php in link

In order to enter in category, product or admin i need to specify index.php. So linsk look like this site.dev/index.php/category_name. I m using apache server.
0
votes
1answer
76 views

Problems moving magento2 from shared cpanel to dedicated Centos 6 LAMP server

I am having some problems with moving my magento 2.1.3 site from a shared cpanel server to a dedicated Centos 6.8 server with PHP 7.0.14, MySQL 5.6 & Apache 2.2 Here's what I did: I basically ...