Questions tagged [apache2]

The tag has no usage guidance.

49 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
10
votes
1answer
2k views

Magento 2.1.1 - Improve security with Content Security Policy

I have a store running fine with the latest version of Magento (currently 2.1.1) and I'm trying to improve security through Content Security Policy on Apache 2.4.7 (Ubuntu 14.04). I had removed all "&...
5
votes
0answers
306 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 ...
3
votes
0answers
665 views

Cron generating a lot of process causing the server to hang (Magento 2.0.2)

I have a VM running ubuntu with no problem: Tasks: 124 total, 1 running, 123 sleeping, 0 stopped, 0 zombie %Cpu0 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st ...
2
votes
1answer
674 views

Why doesn't Magento setHeader('application/json') when appropriate in OnePageCheckout?

I have a Magento environment that is tunneled through Apache via mod_proxy. During the one-page checkout process, Apache is erroneously wrapping JSON responses in HTML because the response header says ...
1
vote
0answers
22 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
547 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 ...
1
vote
1answer
475 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
76 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 ...
1
vote
1answer
46 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....
1
vote
0answers
174 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) ...
1
vote
0answers
39 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
55 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 ...
1
vote
0answers
102 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 ...
1
vote
0answers
443 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 ...
1
vote
1answer
434 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 ...
1
vote
0answers
307 views

Fixing an Internal Redirect Loop with Magento CE 1.8.0, Apache2 & CloudFront

We are having trouble resolving an internal redirect loop on our Magento server. Error messages look as follows in apache log and are abundant: Request exceeded the limit of 10 internal redirects ...
1
vote
1answer
467 views

Apache DocumentRoot in URL path. Why?

The skin folder on my site is showing the full document root. How do I prevent this? http://dev.cshardware.net/var/www/html/magento/skin/frontend/enterprise/wood/css/jqtransform.css
1
vote
0answers
155 views

Sub-domain Stores on Local Dev Server

I have a live Magento site with a main store and also white-label stores located on sub-domains, all running out of the same Magento website. I'm using .htaccess to direct sub-domains to the ...
1
vote
0answers
1k views

ERR_EMPTY_RESPONSE received for one specific configuration page. Caching Problem?

Background: As of today, I backed up my database, and was testing an unleashed integration with my magento installation. Randomly, I noticed that I was having the same JS errors across my entire ...
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
0answers
7 views

keep connexion closing / reopening the browser magento 1.9 front office

I got a task that "client want his customers to stay connected even if they close the browser or reboot their machine." I altered magento configuration : session cookie management => cookies ...
0
votes
0answers
6 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@...
0
votes
0answers
36 views

M2 Rest api returning bad request for Sku's with # symbol

I have an issue with the rest api. I'm correctly formatting the rest request using c# & restsharp but I am getting a bad request returned as a response. In swagger I can send a test request and ...
0
votes
1answer
167 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
0answers
24 views

linux file permissions on webroot for Magento-2 when 755 and 644 are not good enough

We want a better approach to filesystem permissions. I find no existing question that fully addresses this issue to my satisfaction. As background, I have consulted the usual references, including: ...
0
votes
0answers
253 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
218 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 ...
0
votes
0answers
70 views

Magento Compile Errors After upgrade from 2.2.2 to 2.3.2 PHP 7.2

Magento Compile Errors After upgrade from 2.2.2 to 2.3.2 PHP 7.2 I had a magento 2.2.2 site running PHP 7.1 which I am trying to upgrade to 2.3.2 after a few days I am getting issues when trying to ...
0
votes
0answers
108 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
333 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
1answer
98 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 ...
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
0answers
20 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 ... ...
0
votes
1answer
39 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
44 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
164 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
125 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
115 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
1answer
110 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
429 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 ...
0
votes
2answers
506 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
245 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
892 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\...
0
votes
1answer
411 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/...
0
votes
1answer
44 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
81 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 ...
0
votes
1answer
58 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 ...
-3
votes
1answer
3k views

Magento 2 installation step “Solving 403 Forbidden errors for Apache 2.4”

In this guideline from Magento2 there are talking about how to solve the 403 forbidden errors for Apache 2.4, and they are saying that I have to put this: <Directory /var/www/> Options ...