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
14
votes
5answers
38k views

Magento 1.9 multiple websites on different domains

I read and viewed all things related to multiple websites for Magento, but I still cannot setup properly to handle different domains with different Magento websites. Could somebody let me know step by ...
7
votes
1answer
2k views

What permissions schema should I use when deploying Magento securely?

We run what I feel is pretty standard Magento setup: Deployed via rsync (it should also be deployable with git pull and scp/SFTP for simpler server configurations and to make developers' lives easier....
6
votes
4answers
2k views

Fatal error: Cannot override final method Mage_Core_Model_Abstract::clearInstance()

I have a problem with one particular site that throws this error periodically Fatal error: Cannot override final method Mage_Core_Model_Abstract::clearInstance() in app/code/core/Mage/Catalog/Model/...
6
votes
2answers
6k views

Nginx or Apache for Magento 2.x [closed]

We are in the process of planning for a project, an eCommerce project. The client already has a working project, for some reason they decided to rebuild from scratch with some additional ...
6
votes
1answer
4k views

Web Server (Apache) Rewrites on NGINX

I'm planning to use NGINX rather than Apache as my webserver on my next Magento project and am wondering about the Use Web Server (Apache) Rewrites on the Magento installer wizard? What exactly do ...
5
votes
2answers
878 views

Apache Configuration. Magento Your web server is configured incorrectly

Right now I am facing some problems with my web server running Magento CE 1.9.2.1. In adminhtml I do get the security message, that says my web server seems to be configured incorrectly. I’ve done ...
4
votes
3answers
7k 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 setup:static-...
4
votes
3answers
15k views

php extension mcrypt/curl must be loaded

I was following a tutorial online about installing magento on ubuntu, but when I refresh the page at step 8/9/10(correct writable permissions on files) I get 2 errors: php extension mcrypt must be ...
4
votes
1answer
2k views

Magento 2: Server unable to read htaccess file, denying access to be safe

My Magento 2 development system started, at (seemingly) random, to display the following error for all my frontend JS files Server unable to read htaccess file, denying access to be safe This ...
4
votes
1answer
669 views

Case insensitive product urls

Does anyone have a good solution for making magento products' URLs case insensitive? Obviously I've looked into: <IfModule mod_speling.c> CheckCaseOnly on CheckSpelling on </...
3
votes
11answers
24k views

set always_populate_raw_post_data to -1 doesn't work

I got a big problem. When I first installed Magento I got the error set always_populate_raw_post_data to -1, which I did and it worked. Now I am trying to install some sample data into Magento and ...
3
votes
2answers
579 views

magento subfolder protect apache

I have some subfolders in my Magento DocumentRoot like /vendor/ and /media/ this folders are not protected and are reachable from the web for everyone. Now I want to protect these folders through ...
3
votes
3answers
2k views

Magento CDN on local server by subdomain

While reading up on some Magento I was again attracked to the following: How can I set-up a Magento CDN on local server by subdomain? [also see attached images] I am envisioning to set-up cdn....
3
votes
1answer
45 views

How do I properly debug the root cause of 503 errors produced by Varnish?

I'm using Magento 2.3.5 with Apache 2.4 and Varnish 6 and seeing constant 503 errors ("Backend Fetch Failed" or sometimes "Service Unavailable") in the browser's network panel when ...
3
votes
1answer
362 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 (...
3
votes
1answer
530 views

Move store from Apache to Nginx server [duplicate]

I'm planning on moving my Magento store from one server to another. The current server is an Apache server and I just got notified the new webserver will be an Nginx server. The hosting company noted ...
2
votes
4answers
8k 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 ...
2
votes
4answers
5k views

Magento2 with Varnish 4 and Nginx as SSL termination ends in mixed content

I have the following configuration on Debian based on 2 servers: On main server there are Apache2 and Magento 2 with Redis and Memcached. On 2nd server there is Varnish which listens on http://...
2
votes
1answer
5k views

Tuning Apache mpm_prefork_module for Magento

I currently run an AWS EC2 instance (c3.2xlarge) which has 8 CPUs and 16GB of RAM. The Apache version is 2.4.7 (Ubuntu) and my mpm_prefork.conf currently looks like: StartServers 40 ...
2
votes
3answers
1k 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 ...
2
votes
1answer
1k views

Apache proxy + Varnish + Magento (HTTPS not caching)

I succefully passed all my magento store in full HTTPS (on all pages). My server setup is as follow: Apache proxy as a SSL offloader (443) -> Varnish (80) -> Apache backend (8080). Using Magento CE ...
2
votes
2answers
495 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 ...
2
votes
2answers
5k 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
2
votes
2answers
1k views

Removing apache@localhost from my email header?

I hope someone might have an idea on this. I'm running a Magento website on an Amazon Linux server (basically CentOS) with an Apache webserver. I also use Google Apps for managing mydomain.com's ...
2
votes
1answer
1k views

AH00127: Cannot map HEAD… and Blank Page

I've a Magento 1.7 store in a dedicated Apache 2.4/Ubuntu host. My site is breaking down for some hours since last week. Site is not offline but showing blank pages. When I see the problem I restart ...
2
votes
1answer
825 views

Magento 1.9 local.xml security warning

I'm trying to setup Magento 1.9.0.1 under Apache 2.4.9 without the access_compat module. As of Apache 2.4 the old access control directives are deprecated [1] and should no longer be used. I'm now ...
2
votes
1answer
128 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
3k views

Magento 2 : Multiple website setup in localhost

I am trying to create multi websites in Magento 2 in local environment with XAMPP on Windows operating system 10. I followed this tutorial : http://devdocs.magento.com/guides/v2.0/config-guide/multi-...
2
votes
0answers
179 views

Mod_rewrite rule - [L] not working as expected [closed]

I am trying to create a mod_rewrite rule that will handle transparently rewriting a friendly URL to a query string redirect behind the browser. Every tutorial says to use the last flag [L] but this ...
2
votes
0answers
130 views

Magento and Maximum Server Request Server Setting [closed]

I am running Magento CE 1.9. and the configuration of my Group Product pages requires the page to generate 1,000s of request just for one page. That is not gong to change it is the nature of the type ...
1
vote
1answer
2k views

Magento setup directory cannot be accessed

I am trying to setup Magento on a Apache MacOS local system. I have uploaded the Magento Community Edition 2.0.12 from the official download source, unzipped them in my ~/myusername/Sites/magento ...
1
vote
1answer
781 views

Where does Magento 2 Generate Image URLs

I recently switched a Magento 2 system from serving public files out of /path/to/magento to serving files out of /path/to/magento/pub i.e. I wanted Apache to use the index.php file in the pub ...
1
vote
2answers
199 views

Moving two-store Magento to another server causes secondary site to show

Our company is moving it's in-development websites over to a new server on Rackspace using Ubuntu 12.04 LTS and NGINX. The transitions went smooth except for one particular Magento site. This ...
1
vote
3answers
3k views

Apache 2.4 + Ngnix ? For Magento CE 1.9

I have a magento 1.9 installation About 100k products on a dedicated server with the below specs. I am curious if installing Nginx with Apache 2.4 will give performance gains? If so how should it be ...
1
vote
2answers
2k views

Domain Issue and Varnish Extension

I ınstalled Nexcess Turpentine Varnish Cache extension and installed varnish 3. to my server. Configured files to listen port 8080. This is my Tcp check: tcp 0 0 0.0.0.0:80 ...
1
vote
2answers
2k views

Account Creation “/createpost/” Service Unavailable on production, works on local

I am currently having an issue with my server where creating a customer account gives this error, the account is created but it still shows this error instead of a confirmation page/redirect to ...
1
vote
2answers
1k views

Apache2 to Nginx migration failed (param?)

I'm trying to setup Nginx to evaluate its potential running Mangento on a multistore plateform. After disabling apache, and enabling Nginx (correctly installed and configured), running the website ...
1
vote
2answers
64 views

Magento 2 installation freeze at 0%

I am using windows 10 and xampp . Installation keep stuck at 0%. Some of the tables are created in database (30 or something). these are the errors that shown in the apache 2 error log [Sun Feb 16 13:...
1
vote
2answers
233 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 ...
1
vote
1answer
770 views

Client continually hitting Max Children Limits on PHP [closed]

I have a client who is with an un-named hosting company on a shared server. They are continually hitting a Max Children Limit on their PHP which causes their site to crash. Is there away in Apache ...
1
vote
3answers
128 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, ...
1
vote
1answer
945 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 ...
1
vote
1answer
518 views

Magento 2.1 Multiple Store Views Errors

I have one installation (2.1.4) running www.mysite.com - this site works fine In admin I have setup a second website www.mysecondsite.com - this site also works fine I have setup a third website (...
1
vote
1answer
169 views

Any reason why Magento has chosen not to compress images?

There is a particular line in htaccess where compressing images are disabled: # Don't compress images SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary I would like to turn image ...
1
vote
1answer
1k views

Too many redirects on one website

Magento EE v1.14.x, CentOS 7 We already have a website/store/view shop which works fine, listening on 'shop.mydomain.co.uk'. We just tried adding a new website/store/view by: Registering 'shop2....
1
vote
1answer
135 views

MySQL/PerconaDB & Apache/LiteSpeed Optimizations for Magento

I know it's very vague but this is more of a general question than anything as I cannot find a solid answer to my question. I just deployed a new dedicated server and had the hosting management ...
1
vote
1answer
1k views

500 Server Error - On checkout page - APC

I'm having crazy issues on checkout page - it kicks the client out of the checkout: 500 Server error on /checkout/onepage/progress/?toStep=shipping_method sometimes on billing too. The issue is ...
1
vote
1answer
80 views

httpdocs / public html permission issue

I was trying to install an extension to our magento store using 'Magento Downloader' but I got the following error message: Your Magento folder does not have sufficient write permissions, which ...
1
vote
0answers
19 views

Apache do not follow symlinks

Hosting - Amazon Mangeto 2.3.2 Apache In developer mode, Magento creates symlinks in pub static directory, but when Magento try include static files on a page it responds with 403 error. I have ...
1
vote
0answers
37 views

Product pages loading occasionally without product attributes

I am facing the following issue on an already-live site on Magento 2.3.2: product pages occasionally don't load completely, missing (amongst other) product attributes / swatches (clothe sizes in our ...