Questions tagged [apache-virtualhost]
The apache-virtualhost tag has no summary.
                192 questions
            
            
            0
            votes
        
        
            0
            answers
        
        
            60
            views
        
    Help needed with .htaccess
                I have a website which needs to be changed from Nginx to Apache webserver.
The index directory is nl.html but the HTML extension is removed from the address bar.
If I visit the website example.com it ...
            
        
       
    
            1
            vote
        
        
            0
            answers
        
        
            115
            views
        
    Getting Microsoft defender for cloud "Suspicious process executed by a network service" alerts for CentOS Linux
                I am an Azure Consultant and I am getting Microsoft Defender for cloud "Suspicious process executed by a network service" alerts for CentOS Linux.
Environment: Tomcat Apache running on ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            67
            views
        
    How am I not calling /index.cgi?
                root@technoluddites:/etc/apache2/sites-enabled# uname -a
Linux technoluddites.org 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) x86_64 GNU/Linux
root@technoluddites:/etc/apache2/sites-...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            2k
            views
        
    Disable TLSv1.0 and TLSv1.1 using httpd CentOS7
                I'm trying to disable TLS 1.0/1.1 for PCI Compliance, but having problems.
Running CentOS 7 / Apache 2.4.6
The Server is setup with multiple hosts.
All the documentation I've found is similar but ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            136
            views
        
    DNS record configuration to work with server blocks and virtual hosts
                What is the correct DNS configuration for multiple subdomain names, so that they will work with nginx server blocks and/or Apache virtual hosts?
Example:
Server IP Address: 192.0.2.0
Main/primary ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            845
            views
        
    Site does not exist for a2ensite
                During the koha installation process I told ubuntu to
sudo a2ensite library
and got the message
ERROR: Site library does not exist!
I looked it up and found here that I might have to rename the file....
            
        
       
    
            2
            votes
        
        
            0
            answers
        
        
            286
            views
        
    PHP-FPM + Apache2 security
                My question is almost identical to Luis Machuca's from 2 years ago (Apache + php-fpm: Proper permissions for per-pool, per-user projects?), but with some additional conditions.
I have also configured ...
            
        
       
    
            1
            vote
        
        
            1
            answer
        
        
            106
            views
        
    client denied by server configuration after reinstalling KDE Desktop and SDDM
                Systeminfos:
Ubuntu 22.04
KDE-Plasma-Version: 5.24.6
KDE-Frameworks-Version: 5.92.0
Qt-Version: 5.15.3
Kernel-Version: 5.15.0-10048-tuxedo (64-bit)
Apache 2.4.52
During a system cleanup, I seem to ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            1k
            views
        
    How to automatically create an apache virtual host with Bash?
                About five years ago I have created the following Bash script to automate creation of apache virtual hosts.
#!/bin/bash
read -p "Have you created db credentials already?" yn
case $yn in
[Yy]...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            5k
            views
        
    Is the private key included in the CA bundle?
                Below you can see my apache2 virtual host SSL config from one of our domains, which works fine:
    ...
    # Example SSL configuration
    SSLEngine on
    #SSLProtocol all -SSLv2
    #...
            
        
       
    
            -1
            votes
        
        
            1
            answer
        
        
            5k
            views
        
    Certbot gives an error for apache2
                I tried to configure SSL using this guide:
https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-22-04
But I get this error:
serv_ivan@964889-cd87180:~$ ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            530
            views
        
    How can I connect to my Apache 2 web site that sits on the Ubuntu Server through IP?
                Here's my virtual host configurations:
<VirtualHost *:80>
    ServerName abwebserver
    ServerAdmin <my e-mail>
    DocumentRoot /var/www/mediawiki
    AllowEncodedSlashes NoDecode
    ...
            
        
       
    
            0
            votes
        
        
            2
            answers
        
        
            761
            views
        
    Two virtual hosts in one config file
                Is it possible for me to have two virtual hosts (ports: 80 & 443) in one config file? i.e.
/etc/apache2/sites-available/example.test.conf
<VirtualHost *:443>
    ServerName example.test
    ...
            
        
       
    
            0
            votes
        
        
            1
            answer
        
        
            496
            views
        
    Apache Web Server port 433 and Tomcat port 8080, redirect not working
                I have a Java web application on CentOS on Google Cloud. I can access my web app with http://mydomain:8080. I wish https://mydomain (without 8080 in URL) to lead to application, but instead, I just ...
            
        
       
    
            0
            votes
        
        
            0
            answers
        
        
            377
            views
        
    apache2: where is the default virtual host config?
                I am install apache2 on Ubuntu 18.04 using following command:
apt install apache2
Then I am edit the file /etc/apache2/ports.conf to listen port 8090:
# If you just change the port or add more ports ...
            
        
       
     
         
         
         
        