Questions tagged [apache]

The Apache HTTP Server is an Open Source Web server, which originated from a series of patches to the NCSA HTTPd. Apache is the world's most popular Web server, which is run on 54.90% of all Web servers according to the Netcraft survey conducted July 2010.

95 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
2k views

Problem using mod_deflate with ProxyPass

Using Apache 2.0 (2.0.53) on a particular legacy system, enabling mod_deflate causes directly-served content to be gzip-encoded just fine. However, and this is my problem, content proxied from another ...
3
votes
0answers
65 views

How I give Apache access to users vhosts and keep it secure?

I have 2 RHEL 7 servers running Apache 2.4 behind a load-balancer. Both connect to an NFS data store where web pages are held and both servers run ssh to allow users to put web data on them. The users ...
3
votes
0answers
376 views

mod_ruid2 not working with apache 2.4.18

I thought I did good service to my server by upgrading everything to php 5.6, and apache 2.4.18 through the easyapache interface, but now, apache won't start. ! Executing custom hook '/usr/local/...
3
votes
1answer
62 views

How does cPanel's addon domain work?

So, I am new to the world of cPanel. How does cPanel's addon domain feature work? Does it utilise Apache Web server's VirtualHost feature? Or does it do something else?
2
votes
0answers
39 views

Prevent search engines from crawling and indexing all domains and subdomains set up under an Apache server

My company is renting a CentOS server, with one main domain and ~30 subdomains (the number varies, but it's usually around 30) hosted on it. The subdomains themselves are used for various purposes (...
2
votes
0answers
54 views

How can I keep WordPress files in sync on two servers behind a load balancer?

I have two Amazon Linux web servers with an Amazon Load Balancer, and I want to use WordPress to display content at the document root level only. The site has other subdirectories with PHP files that ...
2
votes
0answers
47 views

How to customize/change 3xx status pages in Apache?

How can I customize the 3xx status pages Apache? I am able to customize the 4xx and 5xx error pages using the ErrorDocument directive. I have tried the same for the 3xx status pages, but no good. I am ...
2
votes
0answers
34 views

Can I check for thumbnail existence with RewriteCond !-f and have my controller create files that don't exist?

My team have an application written in PHP. Most requests are rewritten to our index.php file using the condition below, in the Apache .conf RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ /...
2
votes
0answers
449 views

Change default index.html page of a subdomain in directadmin

When I create a new subdomain in direct admin panel it gets a default placeholder page saying something between the lines "welcome, the page is under construction" or whatever. I've looked online ...
2
votes
0answers
476 views

503 service unavailable error for ALL files except PHP files when using Apache virtual hosts

Apache 2.4/ PHP 7.0 Virtual hosts setup working correctly. There are no issues loading JPG files when pointing directly to the server using IP address. <VirtualHost *:80> ServerName example....
2
votes
0answers
809 views

Apache basic authentication without instant prompt for credentials

I'm looking for away to eliminate the intrusive instant prompt for credentials when basic authentication is used and instead serve a nice page that tells the user where he is and what credentials to ...
2
votes
0answers
51 views

Redirect requests fro fonts and icons to the main domain from a subdomain based on part of the URL path

I am having trouble loading fonts and icons hosted on main domain from subdomain. Example: I am on sub.domain.loc/some/weird/path/desired/url/resource/to/load.extension and I need to detect that /...
2
votes
0answers
1k views

Can I delete my tmp/webalizer folder?

I've got a shared hosting plan with multiple site on my plan and I want to delete unneeded files. I estimate tmp/webalizer has around 10,000 files. Can I delete them all without any adverse effects? ...
2
votes
0answers
492 views

Edit .htaccess so that homepage of Laravel site mirrors homepage blog

I have a Laravel site at example.com and a WordPress site at blog.example.com. Everything works well except that I'd love to have the root (index page) of example.com show (but not redirect to) the ...
2
votes
0answers
566 views

Apache VirtualHost setup for client / server on same AWS instance

I am trying to setup a ReactJS front end and Wordpress back end on the same AWS instance without a domain name. The AWS instance is running Amazon Linux. I am attempting to use an IP address and port ...
2
votes
0answers
640 views

How to start troubleshooting extremely high ttfb on large queried pages?

We have a dedicated server that feeds a very large wordpress site with a lot of advanced queries - large integrated CMS/Video-enabled with a ton of extra WP fields added on. The server is 32G memory, ...
2
votes
0answers
32 views

Point second domain at website when only CloudFlare IPs have been white listed for first domain

I blocked the IP address of my website because I'm using CloudFlare whose IPs I've white listed. I have another domain which I want to point to my site. Besides an IP address is there anyway I can ...
2
votes
0answers
85 views

Remote document root being overwritten with local

Today an interesting problem has arisen. A piece of code that relies on the Server Document Root suddenly stopped working on only my browsers. My machine is where I develop locally using xampp, and ...
2
votes
0answers
323 views

.htaccess on IIS. Helicon Ape Manager does not convert htaccess to web config

I want to use PHP and .htaccess on my IIS server. I already know that the .htaccess is not supported by IIS. I know that the .htaccess need to convert to the web config. I want to try with Helicon App ...
2
votes
0answers
57 views

Amazon EC2 and CA-signed certificate with LAMP stack

I have an EC2 server set up, using the free trial. I have installed my LAMP stack and the docs urge me to get SSL going. Using yum, I installed ssl with the mod24_ssl package. Currently I can put the ...
2
votes
0answers
87 views

How to host 2 webapps on the same server

I'm working on a VPS with Ubuntu and I configured a webapp called Pathfinder, it's a third party app for a game called EVE Online. Now I need to add another app to the server but I don't want to mix ...
2
votes
0answers
96 views

Usurance quoting system fails with error “No such file or directory: exec of /usr/lib/cgi-bin/cqsl.cgi”

I purchased a quoting engine but I am having a problem with the installation. I've followed instructions in the readme.html file (http://usurance.biz/readme.html), but I am getting an "Internal Error"....
2
votes
0answers
232 views

WHM - Apache Configuration Include Editor - Syntax Error

My server is running Cloudlinux 5 + EasyApache 3. PHP Handler = fcgi. I'm trying to set "FcgidOutputBufferSize" per request_uri. Here is what I put into WHM->Apache Configuration->Include Editor->...
2
votes
0answers
391 views

Change WAMP root directory for Apache so uses a shared folder from another virtual machine

I have installed Windows on a VMWare workstation and installed WAMP on it. Also I have installed WAMP on the main system. So I have shared c:/wamp/www folder from main system to that Virtual machine. ...
2
votes
0answers
304 views

What memory size per apache process is ridiculous?

(closetnoc, yes I come with interesting and maybe ridiculous questions, but...) I have a question. I'm trying to make my server run as wonderful as possible and I'm in the back-end. Ever since I ...
2
votes
0answers
551 views

Separate multiple domains with htaccess (solution works on one hosting, not on another)

I have two different domains on one VPS. It's Apache 2.4.7, I remember trying long to set up name based Virtualhosts on localhost to find out Apache Virtualhosts are not supported anymore. (I cannot ...
2
votes
0answers
640 views

Can Apache .htaccess convert the percent-encoding in encoded URIs from Win-1252 to UTF-8?

I want to add a directive in my .htaccess, such that if the browser is pointed at a URI containing %E4 (ä) - or any other special character - the .htaccess automatically rewrites %E4 (ä) as %C3%A4 (ä)....
2
votes
0answers
289 views

Set permissions for files uploaded to Apache's web directory via FTP on the Rapsberry Pi

I just set up an Apache web server on my Raspberry Pi, along with MySQL and PHP5. To upload files I set up vsftpd. The ftp connection sent me to my pi user home directory, instead of /var/www. So ...
2
votes
0answers
113 views

Apache mod_pagespeed ignores redirected pages

Using mod_pagespeed (https://developers.google.com/speed/pagespeed/module) with an Apache Server, I noticed that some pages were not being processed. The pages in question all had one similar ...
2
votes
0answers
260 views

Replacement for DirectoryIndexRedirect for older versions of Apache

DirectoryIndexRedirect is available in version 2.3.14 and later. (mod_dir) Is there an alternative method for older versions? I have different DirectoryIndex directive sets for a lot of directories ...
1
vote
0answers
47 views

SEO - Google select a another domain at canonical url

I have a problem with my domain for selected canonical url by google. I have a vps for my website with apache. I created a redirect for website ip, but some domains have my ip in DNS and redirect to ...
1
vote
0answers
24 views

Invalid command 'SSLEngine', with “--enable-ssl” configured Apache

I built an Apache 2.2.32 server on Ubuntu from sources, and if I test my phpinfo() I see: './configure' '--prefix=/usr/local/php_7.2.25' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysqli=/usr/...
1
vote
0answers
269 views

Certbot challenge error 404 in webroot mode

This web site runs under Apache on Windows. I installed Windows certbot client and ran it as suggested on its homepage, in webroot mode, since the web site cannot be stopped. This is what it reported: ...
1
vote
1answer
46 views

Flush cached selector in Adobe Experience Manager without flushing entire directory

How can I use selector based cache flushing in Adobe Experience Manager? http://example.com/content/myapp/us/en.child1.xml http://example.com/content/myapp/us/en.child2.xml Lets say,we have xml's ...
1
vote
0answers
24 views

mod_pagespeed & Virtualmin - mod_pagespeed only active on one virtualhost

I've installed mod_pagespeed on a server running Virtualmin. Mod_pagespeed is only active on the first virtualhost (Alphabetically). How do I enable mod_pagespeed for all virtualhosts in a Virtualmin ...
1
vote
0answers
30 views

Website was not redirect from non www to https+www

I'm currently doing www+https redirection where I hope that my website able to redirect from http://example.com to https://www.example.com but it does not work even I have added redirection in ....
1
vote
0answers
109 views

Which browsers handle client-side compression of requests such as POST'ed formdata?

Which browsers handle client-side compression of requests, such as "multipart/form-data" transmitted by the client to the server via HTTP POST ? The HTTP server I am trying to get this working with ...
1
vote
0answers
108 views

Wordpress Multisite with own domain, Webmin/Virtualmin

I am using CentOS 7.6, Webmin 1.930, Virtualmin 6.07 Pro. and Wordpress Multisite (5.2.3) and have it all working but can't work out how to setup a domain for each Multisite. I think I need to ...
1
vote
0answers
65 views

Hosting multiple websites using MAMP without exposing sensitive files?

So here's the thing, I've created 3 projects which I would like to somehow host simultaneously so that each of them can be viewed at any time. Currently, I am hosting them myself using MAMP, however, ...
1
vote
0answers
42 views

Apache: using %{DOCUMENT_ROOT} inside <Directory> section

My virtualhost configuration file sites-available/site.conf contains (some lines omitted): <VirtualHost *:443> <Directory /var/www/html/my_website> # set options </Directory>...
1
vote
0answers
761 views

How to fix .htaccess error? Keeps asking for authentication

I'm setting up basic http authentication for my subdomain dev Laravel site with .htaccess and .htpasswd. First, I created my .htpasswd user and password by command htpasswd -bc .htpasswd admin ...
1
vote
0answers
35 views

Subdomain for a different server

I have two servers running on different machines(say A and B), there is a middleware which i cannot access, which routes the traffic for website say xyz.com to machine A ip, now I want to route the ...
1
vote
0answers
36 views

Nginx / Apache Gateway Timeout

I am running a VPS Server under Apache with Nginx as reverse proxy, the main reason for the server is to host my Magento store. One module in Magento runs a command that imports data content, this ...
1
vote
0answers
275 views

Oracle HTTP server URL with no trailing slash causes redirect when HTTPS is used

My application is hosted in oracle weblogic 12c with OHS 12c and have SSL enabled at port 1234. URL as such HTTP : http://servername.example/webName HTTPS : https://servername.example:1234/webName ...
1
vote
0answers
78 views

Wordpress + Cloudflare SSL redirects to apache root?

We recently deployed our new website and when trying to use it over SSL with cloudflare, it redirects to the Apache root dir? I generated origin TLS certificates and downloaded those from cloudflare ...
1
vote
0answers
18 views

Allow our own systems to use an API and restrict it from the general internet without using authentication

I have an Apache server which is reverse proxy'd to some Java container. In Java container there is an API that we don't want internet to see but expect our own systems to use it without any ...
1
vote
0answers
734 views

Cannot figure out how my nodejs application run with apache

I need to push my node app updates to remote host which is really wired. It uses standard cPanel + apache bundle, but also has node installed. Root domain mywired.host hosts static files from ...
1
vote
0answers
999 views

How do I serve webp images from my WordPress site but exclude the WP backend/admin

For some reason that I cannot fathom, my Chrome installation does not show me webp images from my website. I can see webp images on other sites (I think - how can you tell if you are being served a ...
1
vote
0answers
220 views

What command will restart Apache from a PuTTY terminal to manage a cPanel server?

Once when we logged on to the server via putty terminal with authorised SSH credentials What is the command given to the putty terminal for restarting the Apache server after loading some extensions? ...
1
vote
0answers
141 views

Mod_Security false positive, how can I whitelist?

I am getting the following error while I am trying to create a web service. How can I white list this user agent? I am not really able to understand the following error message. [error] [client ...