Questions tagged [apache]

Use this tag for programming questions relating to the Apache HTTP Server. Do not use this tag for questions about other Apache Foundation products. Note that server configuration questions are usually a better fit on https://serverfault.com

Filter by
Sorted by
Tagged with
0
votes
1answer
10 views

New/Modified files won't inherit group ownership

This is happening for the first time after months of developing. I don't know what changed. We set file permissions and then We run in Magento2 root folder: sudo chown -R user:apache . But, every ...
1
vote
0answers
15 views

Magento 2.2.6 reindex not finishing Catalog Search CLI Putty crashing

Apache 2.4 Linux Centos The Store having 25,000 SKU I am trying to reindex Magento 2.2.6 site with elastic search 5.1 running. when I try to run full reindex it takes a long time when it reaches ...
1
vote
2answers
47 views

“ERR_TOO_MANY_REDIRECTS” when turn on Cloudflare CDN possible .htaccess file issue

When I tried to turn on Cloudflare CDN, my site will get "ERR_TOO_MANY_REDIRECTS" error page (the site loads fine if I don't turn on Cloudflare CDN). I checked with the hosting provider, seems like ...
0
votes
0answers
20 views

Magento 1.9 Customer Login Stopped Working

Server: Dedicated, Apache 2.4, Nginx, Redis, CPanel/WHM, Site using FPC extension Mirasvit We have an Magento 1.9 site with the above setup - since last week all of sudden customers are no longer to ...
0
votes
1answer
38 views

Magento 2 Invalid block type Magento\Catalog\Block\Crosssellproduct

Magento 2.2.6 - Apache - Nginx I am getting this error when trying to open product pages on my site 2 exception(s): Exception #0 (Magento\Framework\Exception\LocalizedException): Invalid block ...
0
votes
1answer
35 views

Magento 2 : Assets with specifc string in file name 404 in admin

Got a strange scenario on magento install A couple of assets in the backend 404 which means you can't edit products /pub/static/adminhtml/Magento/backend/en_GB/Magento_ConfigurableProduct/js/...
1
vote
0answers
26 views

EAV load collection issue (High Load Time)

We have an eCommerce platform. The issue is that when we increased the products to ~3000, the EAV:load_collection is taking a lot of time(~20 sec) and eventually slowing the site. If I remove the ...
1
vote
1answer
73 views

Site loading speed very slow Magento 2.3

as per our architecture, we have a web server(Apache) running on one machine and my database(MySQL) running on different machine. The communication between these two machines in over internal network (...
0
votes
1answer
92 views

CORS error on Magento 2 with cloudfront

We are running magento 2 on below setup Apache > Varnish > NGinx SSL termination On initial setup we were getting the below error for all assets in pub/static Failed to load xxx: Request header ...
0
votes
2answers
57 views

Magento 2.3 is extremely slow?

We are using magneto 2.3 as well as using Control S server but our website very slow response time apex 30 seconds. we have same website upload on AWS server its take 10 second maximum. we have ...
0
votes
0answers
55 views

Magento 2 All Products pages Redirect to catalog search

I am facing an issue which is I am not able to access any products pages. Either trying to access them directly via product url or product page Or via Search Results Or via Site Navigation every ...
0
votes
0answers
15 views

Magento 2 URL Rewrites Very Slow

Setup Dedicated Server Intel Xeon E3-1230 v2 2 Core 16 GB RAM Linux Centos PHP 7.1 APACHE 2.4 I have a site in Magento 2.2.6 which I am trying to do a full URL rewrite of category and products for 1 ...
0
votes
0answers
19 views

Searchbox Stays Open After Upgrade to 2.2.9

Extensions Amasty Advance Search Amasty Elastic Search Elasticsearch 5.1 Apache 2.4 PHP 7.1 The search box in my theme stays opened after I upgraded to Magento Community Edit 2.2.9 and has become ...
0
votes
0answers
48 views

Need to create custom error pages (500, 503) for Magento 2

I want to create custom error pages for HTTP Responses of 500, 503, etc. in a Magento 2 project. After turning on "ProxyErrorOverride" from the virtual host, I found that we can use the below code in ...
0
votes
1answer
27 views

Magento 2.2.2 Upgrade to 2.2.6 Not Latest

I want to upgrade a magento 2.2.2 site to 2.2.6 mainly to fix issues with very slow reindex esp for Catalog Search index when Elasticsearch is being used I dont want to upgrade to the latest 2.3.2 ...
0
votes
1answer
26 views

Magento 2 redirects url to https but not admin panel

I know this question is more about apache config, but it involves Magento too. Currently i have configured my Magento with 2 different URLs, for port 443 or https I have an url like this: https://...
0
votes
0answers
27 views

Magento 2.2.2 catalogsearch_fulltext Reindex + Elasticsearch

Dedicate Server 16GB RAM 4 Core Processor Centos Magento 2.2.2 Elastiscearch 6.4 I am trying to run reindex from command-line ssh putty php bin/magento indexer:reindex ...
0
votes
1answer
38 views

Apache Nginx Varnish listening port Magento 2

Centos 6 Already using Apache + Nginx on my Magento 1 sites on a dedicated server For a Magento 2.2 site I want to run varnish However after installing varnish - i saw in the instructions need to ...
0
votes
1answer
24 views

Varnish Latest Version Centos 6.1 Magento 2.2

Please can someone clarify this for me I'm very confused. I want to install Varnish for Magento 2.2 Store - Linux CENTOS 6.10 [server] v80.0.22 Im using these instructions to install For CentOS ...
0
votes
0answers
38 views

Magento 2 reindex error

Magento 2.2. Please can anyone help with this I am trying to run this in CLI php bin/magento indexer:reindex catalogsearch_fulltext Notice: getimagesize(): Read error! in /home/redjohnco/...
0
votes
0answers
34 views

Magento 2.2 Enable ImageMagick Linux Centos 7

I am trying to change image adapter in my Magento 2.2.2 store from GD2 to I am doing this Run this is CLI /opt/cpanel/ea-php71/root/usr/bin/pecl install imagick Run this in CLI change to and ...
0
votes
0answers
85 views

Magento CE 2.2.2 Elastic Search No Products Front End Category / Listing Pages

Magento CE 2.2.2 ElasticSearch 6.4 PHP 7.1 Apache 2.4 Magento CE 2.2.2 Elastic Search No Products Front End Category / Listing Pages We have installed Amasty Layered Navigation Amasty ...
0
votes
1answer
53 views

Magento 2 GD Reindex Error gd.jpeg_ignore_warning

I am trying to run reindex in Magento 2.2 apache 2.4 PHP 7.1 Elastic Search installed v 6.4 Search Engine (Amasty ElasticSearch) Tested and Successful. For this reindex catalogsearch_fulltext php ...
0
votes
0answers
39 views

New Website 301 Moved Permanently to /default url

Trying to setup a new website on existing Magento installation on Apache server on a subdomain like website2.mysite.com. Have done the following steps: 1) Created Website, Store and StoreViews in ...
0
votes
1answer
27 views

Magento 2 + Varnish + Apache + Nginx SSL - Nginx.conf error

Have just had a developer implement Varnish cache with SSL termination. http:s// --> nginx(443) --> varnish(port 8081) --> apache(8080) All pages on our site are working fine except the home page ...
0
votes
3answers
363 views

How to change my url from www.xxx.com/Magento to www.xxx.com

I am running Magento 2.2.7 and my current URL for my store is https://shop.xyz.ca/Magneto and I would like to change it to be https://shop.xyz.ca/ I am set up on Windows Server and using Xampp 3.2.2 ...
0
votes
1answer
106 views

Magento 2: wrong url causing css problems

I'm running centos 7, mysql and apache vps. Magento web wizard setup was located at example.com/magento The installer asked me where I want to install magento, I said example.com The installation ...
2
votes
3answers
214 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 ...
1
vote
0answers
90 views

How to redirect default store view to en?

I've got a store with 2 stores, one with 2 languages and the other just 1. So: Website > Store1 > English (www.site.com/en) Website > Store1 > French (www.site.com/fr) Website > Store2 >...
1
vote
0answers
27 views

Memory problems in Apache with Magento

We are having problems with httpd memory usage with Magento. The httpd fills up to more than 40GB in minutes and then the httpd has to be restarted. I have this configuration. What do you think, can ...
1
vote
0answers
47 views

How to run CLI command in docker Magento 2

I am stuck with docket installed by my client. Whenever i'm running command it says not available and when i tried to run external php file from Magento root its throwing following error PHP Warning: ...
1
vote
3answers
26 views

Magento2.1.14: Css not loaded after upgrading apache 2.34 to 2.37

I have upgrade apache 2.34 to 2.37. Then I have the problem that all css and js files are only throwing a 500 error and are not loaded. I have got this error on error log: option followsymlinks not ...
2
votes
1answer
56 views

Remove '.php' from url redirect [closed]

I have an URL like: base_url/cloths/mens.php now when we click on this above URL then it should redirect to: base_url/wp/cloths/mens/ here we want to remove .php extension from URL after ...
2
votes
2answers
227 views

Magento 2 query url rewrite

If I have URL like this - mainpage.com/products?test_category=99 and want it to be rewritten to this mainpage.com/testproducts Since magento2 URL rewrite won't take query how can this be ...
1
vote
0answers
38 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 ...
0
votes
0answers
52 views

How to remove /magento2/ parameter from URL?

Current URL : http://localhost/magento2/rest/V1/products/options/types I want to use without /magento2/ i.e. http://localhost/rest/V1/products/options/types I am using XAMPP server with ...
0
votes
1answer
27 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 ...
1
vote
2answers
828 views

Admin page not working

I setup Magento, however, my admin page is not accessible on the website. Every time I go to the admin page it pops up with 'This site can’t be reached' Current URL: 77.68.94.254 Any help with this? ...
0
votes
1answer
188 views

Apache 404 Error for url redirect for files in pub static folder

I am having problem with my setup in local and live, when I try to hit a url that dd not exist in : pub/static/frontend/XXX/default/ folder it gives me apache 404 error. I have my alias or domain ...
0
votes
0answers
93 views

Virtual host for magento2 under lampp service for Ubuntu

I tried to set virtual host for Magento2(2.2.5) Project in Ubuntu system under Lampp service. I added this piece of code under opt/lampp/etc/extra/httpd-vhosts.conf <VirtualHost *.:80> ...
0
votes
2answers
134 views

Magento2 Error 404 Admin after install

I just manually installed Magento2 CE on Ubuntu server 18.04 with LAMP via composer, the install went ok and all checks were on green however the link given after installation to access the magento ...
0
votes
2answers
429 views

Error 500 after magento migration

The magento was installed in a testing environment. 1 - I copied all files from the folder and uploaded it to the production server folder. 2 - I exported the database and imported it into the ...
2
votes
2answers
2k views

SOLVED: Magento 2 GET 500 (Internal Server Error)

I have apache mode enabled, permissions given but im still getting the GET 500 Server error: SOLUTION AT: Magento CSS Not Loading Error
1
vote
4answers
5k 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 ...
1
vote
1answer
625 views

Apache reverse-proxy to serve SSL to Varnish on magento 2 - results in 503 Backend Fetch Failed

magento 2 install on a centos 7 server. with a LAMP stack (php 7) we have installed magento 2.2.3 with the virtual hosts only using SSL through port 443 and have now come to installing and ...
0
votes
1answer
2k views

Fatal error: Allowed memory size of 805306368 bytes exhausted

I installed Magento on WAMP Server and I have PHP Fatal error: Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 262144 bytes) I tried to increase memory_limit to 1G ...
0
votes
1answer
23 views

Error on magento installation

I need to set a magento website on local computer. While loading the website on local computer the page is not loading. This is the apache log. [Tue Dec 26 23:25:23.551700 2017] [negotiation:error] [...
4
votes
2answers
4k views

Magento 2: Static files are present but shows 404

I installed Magento 2 in my local environment and executed each command: php bin/magento cache:clean php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento ...
1
vote
1answer
108 views

How does Magento determine the route / getting 404 behind proxy

I have the following constellation: NGINX in front of two apache vhosts One Vhost running Magento (port 8181) Proxy pass of https://example.de.testing.abc.de/en/shop/ -> http://127.0.0.1:8181 No ...
0
votes
1answer
145 views

Only index.php shows up through proxy pass

<Directory "/Users/pathto/Sites/"> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory> <VirtualHost *:80> ServerName developersite.dev ...