New answers tagged apache-2.2
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, ...
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 ...
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 ...
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 ...
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
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
Top 50 recent answers are included
Related Tags
apache-2.2 × 17286php × 1923
linux × 1667
virtualhost × 1476
mod-rewrite × 1207
ubuntu × 1149
.htaccess × 1103
ssl × 1021
centos × 804
nginx × 721
httpd × 610
web-server × 545
reverse-proxy × 527
redirect × 469
mysql × 468
tomcat × 447
security × 433
debian × 420
mod-proxy × 407
rewrite × 392
httpd.conf × 368
proxy × 361
logging × 359
apache-2.4 × 355
configuration × 343