New answers tagged

0 votes

NameVirtualHost has no effect

So 10 years later, it still complains about this, but it's essential in order to have virtual hosts working with a shared IP. I'd have no problem assigning a free ipv6 address to each virtual host, ...
Mr Incredible's user avatar
0 votes

Cannot restart apache2 on Debian server - "Cannot load /usr/local/apache2/modules/libphp5.so into server"

I had your problem in FreeBSD. version of your libidn isn't camptiable with your PHP. You need to apt-get update, Then remove your php modules ,php itself and remove mod_php, Then install php, mod_php ...
PersianGulf's user avatar
0 votes

Can't telnet Apache2 Web Server from WAN on port 80

So let's do this in steps. First, on machineName. If you can telnet 127.0.0.1 80 and get a response, your Apache is configured properly; if you can telnet machineName 80 from that machine, it's also ...
tsc_chazz's user avatar
  • 1,001
0 votes

Redirect ip to domain on apachi (wordpress by bitnami)

Create a default VirtualHost (see https://httpd.apache.org/docs/2.4/vhosts/details.html) that responds to any unqualified host name (and the bare IP address) and a second VirtualHost that can only be ...
HBruijn's user avatar
  • 77.5k
0 votes

.htaccess is ignored even though VirtualHost has "AllowOverride All"

In my case, the .htaccess file wasn't readable by the apache user. I solved it with chown ubuntu:www-data .htaccess chmod 750 .htaccess
Francesco Manicardi's user avatar
0 votes
Accepted

SSL Certificate Renewal Broke Payment Gateway - Modulus Mismatch

Lots of words here, what you seem to be saying is: HTTPS site was working certificate renewed new certificate does not match existing key hence HTTPS no longer working This should not happen. If you ...
symcbean's user avatar
  • 21.6k
0 votes

Unable to Connect To Repo Server On Local Network

After checking the error logs, I could see Permission Denied message. The issue was that I didn't have the correct file context on my test_repos directory. It should have been httpd_sys_content_t ...
hixavier's user avatar
0 votes

Using a non-root to deploy a git repo to the web root

After some time digging in this issue I found that by default the /var/www/* is created owned by root, that's why trying to modify anything from other than su will fail, so based on this answer I ...
Alejandro Cortes's user avatar
0 votes

How to grep httpd error_log within a time range?

If anybody wants to get the logs within the particular time rage, maybe you want to get the logs within 5 min you can do like the below For dynamic time range (eg you dont know the time range but ...
jayaprakash R's user avatar
0 votes

wordpress directory file ownership changes everytime after uploading files/plugins

Your description of how this is provisioned is not helpful. Lets start from scratch. Users: apache - the uid your PHP runtime executes as dev1, dev2, dev2 - developers backup - for creating backups ...
symcbean's user avatar
  • 21.6k
0 votes

wordpress directory file ownership changes everytime after uploading files/plugins

The web server (or the PHP process, depending on your setup) needs write access to the directory. The only feasable way is to run said process as the user websitename. Principally another option would ...
Gerald Schneider's user avatar
0 votes

Apache VirtualHost Same domain for Front and API

In the first virtualhost you have: ServerName localhost ServerAlias *.localhost Which basically matches localhost and any immediate subdomain, thus the second Virtualhost is not going to receive any ...
Daniel Ferradal's user avatar

Top 50 recent answers are included