Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [apache2]

The tag has no usage guidance.

0
votes
2answers
43 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
21 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
27 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
202 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
24 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
21 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
24 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
10 views

After protected-directories got error

Hello i have problem with my store when im in protected-directories mode one my stores Working 100% Loading all images and my color options from backend when i turn off protected-directories for ...
0
votes
0answers
21 views

Issue with base URL Magento 1

I have a Project with an issue and I still haven't found the solution, maybe someone can help me. The same issue happens in Linux and Mac, the layout is broken and inspecting the code is possible to ...
0
votes
0answers
60 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
71 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
0answers
26 views

How to safely allow PUT requests for Magento 2 on Apache 2.4

Entering a discount code does not work on the checkout page fails "501 (Not Implemented)". However the discount code section does work in the shopping cart page. The difference seems to be that the ...
0
votes
1answer
23 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
118 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
36 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 ...
0
votes
0answers
18 views

How do set multi domain for multi store view in Magento 2?

I have 1 website - 1 store - 2 store view; how to set two domain for 2 store view; I'm try best but not success. in virtual how I set <VirtualHost *:80> ServerName storea.test ...
0
votes
1answer
61 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 ...
0
votes
3answers
2k views

Magento 2 : Admin url 404 not found

Hello 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 ...
0
votes
0answers
37 views

Magento 1.9 multistore and infinite 301 and “No input file specified. ”

this is surely a configuration of Apache vhost and maybe htaccess problem. The main site is accessible but secondary sites are returning 404 for the http version and infinite 301 redirect for the ...
0
votes
1answer
30 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
0answers
26 views

How to set configuration value in .htaccess in M2? SetEnv only changes $_SERVER, not $_ENV

As per Magento documentation, we can set config values using system variables. i.e.: CONFIG__DEFAULT__TRANS_EMAIL__IDENT_GENERAL__NAME to set the value for trans_email/ident_general/name config ...
0
votes
1answer
187 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
0answers
104 views

Built-in Cache problem with Full Page Caching Headers

I am running Magento 2.2.3, apache 2.4, and have it set in the settings to use the built-in cache system. Varnish is not installed. Full page cache is activated. There are no blocks which are set to ...
0
votes
0answers
20 views

Apache2 switch domain to subdomain not working

I switched back in the backend Add Store Code to Urls and they show in the set-up of the URL now. I want to switch the .co.uk now in the base url and secure base url back to .com but when I do that it ...
0
votes
0answers
31 views

Switch back to subdirectory domain extensions crash apache2

At the moment we use .com, .co.uk and .de domains. We want to switch back our stores to .com/nl/, .com/en/, .com/de/ but I don't know which steps I need to think of. I switched back in the backend ...
0
votes
2answers
823 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 ...
2
votes
2answers
3k 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
34 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
46 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
1answer
196 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
153 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
520 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
81 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
355 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
332 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
33 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
186 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/...
4
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 ...
0
votes
0answers
140 views

Error while installing magento2 inside Docker

I am trying to install magento2.1.6 on alpine3.5. Dockerfile https://pastebin.com/raw/bfk3vKdw I am getting below errors while running readiness check for magento2 PHP Version Check Server failed ...
1
vote
0answers
356 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
0answers
284 views

Magento 2 Installation Cache Permission Issue

I am tring to install a magento 2 theme. As required I gave 777 permission to var, app/etc & pub folders. I had to delete .htaccess of root, to enter the web installer setup (with .htaccess I got ...
0
votes
2answers
738 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
202 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
63 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
38 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
74 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 ...
1
vote
1answer
49 views

Magento2 httpd apache tools

I am trying to install Magento2.x I've already installed percona and nginx the problem I am having is everytime I try to install the following packages it install httpd apache, not sure why how can I ...
0
votes
1answer
41 views

Magento layout and blockcode as plain text in template?

I have setting up a linux machine based on ubuntu server and deployed an existing magento shop for locale testing purposes. Now I cleared cache /var/cache, change DB and url path settings and when I ...
2
votes
1answer
92 views

Magento2.0.7 Js and CSS gives error? [duplicate]

I have following error in apache2 error log Symbolic link not allowed or link target not accessible: /var/www/magento2/pub/static/frontend/Smartwave/porto_child/en_GB/fonts/opensans/regular/...