The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
11 views

Problem with Apache VirtualHost to run Laravel

I am trying to work with my Laravel installation by using a VirtualHost on my computer which is using apache2 web server under debian jessie 8.5. To do this, I first created a virtual host file named ...
3
votes
1answer
56 views

Basic Apache2 vhost configuration doesn't work

I have a litle problem with my virtual host configuration on Apache2. Context : I have a Raspberry Pi with Apache2 installed. I want to access to my test directory in : "/var/www/html/test". So I ...
0
votes
0answers
25 views

Make SOGo reachable for only one subdomain with Apache

My setup is pretty much straight forward. I have SOGo running with Apache2 and everything regarding SOGo works just fine. What I don't understand is, why my SOGo instance is reachable through all ...
4
votes
1answer
36 views

Why is apache reporting “client denied by server configuration”?

I'm running Fedora 23 with Apache 2.4 and PHP 5.6.27. Both Apache and PHP are installed from the standard Fedora repo. My problem is that despite setting Require all granted in my site's virtual host ...
0
votes
0answers
15 views

httpd.conf and two rules: order and chaining of (domain->site) and (http->https) redirect/rewrite?

We have read Server Fault's Redirect, Change URLs or Redirect HTTP to HTTPS in Apache - Everything You Ever Wanted to Know About Mod_Rewrite Rules but Were Afraid to Ask. We have also read Apache's ...
0
votes
0answers
22 views

apache2 shows IP, not domain name

If I type on my browser shop.xxx.it it correctly open the website, however it shows the IP address instead of the correct domain name. I configured my apache2 website as such: <VirtualHost *:80&...
0
votes
2answers
23 views

In which file can we modify what is logged / non logged by apache?

I have a Debian 8 with Apache. My /etc/apache2/sites-available/000-default.conf is like the follwing. How, and in which config file, can I ask Apache to not log in /var/log/apache2/other_vhosts_access....
1
vote
0answers
16 views

Apache analytics with virtual hosts

I've found various open-source tools (such as goaccess.io) that can turn an access.log or other_vhosts_access.log into a unique visitors analytics: 739 visits 16/Oct/2016 804 visits 15/Oct/2016 ...
0
votes
1answer
22 views

Other site served on a multisite Apache server when 2nd SSL certificate introduced

I have an Apache service running on an Ubuntu server with two completely different websites i.e. different domains. They each have a separate VirtualHost configuration and, until recently, only one ...
0
votes
0answers
39 views

Linux Apache2 site viewable on localhost but not from outside router

I have a site I've set up and configured via apache conf file. I can see the site via localhost, but not when I view it via external methods (I remoted in to a server that I've set up via hosting ...
0
votes
1answer
21 views

Best way to give a user some root privileges in particular apach files and command

I wrote a shell script (this one) to init a new website project. It have to be executed by a user (it isn’t a mater if he got root privileges because this user is me). As you see, the user have to be ...
1
vote
2answers
36 views

Redirect subdomain to https site

I'm trying to redirect bot.domain.tld to https://domain.tld:8087, but it only redirect the domain to http://domain.tld:8087. The port is only reachable with https so it doesn't work if it doesn't ...
0
votes
0answers
121 views

Apache fails to start, no obvious errors

I'm on a clean install of Centos 7, and after setting up a VirtualHost for Apache, it fails to start. There are no obvious errors in journalctl -xe but here is the output regardless. -- Unit httpd....
0
votes
1answer
46 views

How to add Virtual host web-site for apache2 service in Ubuntu

I have never set up such setting in before but I need to add new Virtual host web-site for apache2 web-server in Ubuntu 12.04. **I need to create a new conf file like /etc/apache2/sites-available/...
0
votes
0answers
58 views

You don't have permission to access /cgi-new/printenv on this server

I am running Apache2.2.15. I created a separate directory called cgi-new under same directory as cgi-bin. I also edited my httpd.conf file and created an alias for cgi-new and also created a new ...
0
votes
1answer
34 views

can i configure an apache VirtualHost Proxy BalancerMember as failover-only (e.g. hot/warm)?

i currently have a VirtualHost configured to load balance between 2 servers. however, to avoid race conditions that occur when both instances are active, i would like to switch to a hot/warm ...
0
votes
0answers
37 views

Apache 2.4 name based virtualhosts goes to the wrong site

I am hosting multiple sites on the same server with the same ip. I followed the documentation of apache 2.4 (I have apache 2.4.7) hosted on ubuntu 14.04.4 Two of the sites work just fine, the other ...
0
votes
1answer
45 views

How to configure local virtual host in apache2 in Ubuntu 16.04

I have this in my sites-available/aiki.conf <VirtualHost *:80> ServerName aiki DocumentRoot /home/kuba/projects/jcubic/aikiframework </VirtualHost> The apache is running on user ...
0
votes
2answers
79 views

How to access home directories via server IP address

I am trying to set my server up to access accounts such as: 192.169.200.88/~dirname where dirname is the account's home directory. I set the accounts up via WHM, and I can access the Cpanel. But ...
0
votes
1answer
97 views

Apache2 connections issues

Having issues with some website I want to host. One is an owncloud server that is hosted on my physical machine (port 443) and I have another on a virtualbox guest (port 80). I have successfully ...
0
votes
1answer
26 views

Apache virtual host assigned folders

$ httpd -S gives only the names of hosts, and the DocumentRoot is not seen. How can I see the assigned folders also? I need like this: NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot /...
0
votes
1answer
89 views

apache 404 error

I installed Fedora 24 and I am trying to set up Apache for virtual host. I get a "404 Not found" when trying to access via browser. Below are my config files and error outputs from httpd -S (files ...
0
votes
1answer
55 views

Apache <LocationMatch> using x-forwared-for

Is is possible to 'LocationMatch' and have Apache 2.4 use the x-forwarded-for IP address? I'm unable to use 'mod_rpaf' or 'mod_remoteip for this. I have configured the 'apache.conf' LogFormat to use ...
0
votes
1answer
65 views

On Ubuntu Linux 16.04, what file is the Apache2 AcceptMutex directive currently set in?

On Ubuntu Linux 16.04, what file is the Apache2 AcceptMutex directive currently set in? The reason we need to know this is to create the LockFile necessary to create additional VirtualHosts such as ...
-1
votes
1answer
54 views

Change Apache Directory [closed]

I am trying to change the /var/www/html default directory to /var/www/domain.com I have changed this in the httpd config file but it doesn't seem to work. I am running Centos 7 and Apache2
2
votes
1answer
54 views

How do I configure Apache to serve https?

After many hours I finally managed to configure Apache to use my SSL certificate but i just found out that there is something wrong in my configuration. If I try to reach my domain from Google Chrome ...
0
votes
1answer
78 views

virtualhost problem with apache

I'm setting up a server with centos 7 and I have already installed Apache and php. I have tried to set-up a virtual-host to avoid "localhost/xxx.xxx", but now I cannot access to local-host any more. ...
1
vote
0answers
53 views

How to configure apache with suPHP and VirtualHosts to avoid DocumentRoot problem?

I am currently configuring an apache web server, and have Apache 2.2 with SSL, svn at https://myhost/svn/repos/myrepo1 and https://myhost/awebsite with suPHP ready. https://myotherhost/ also exists ...
1
vote
1answer
74 views

HTTP 403 forbidden error when setting up virtual host for the first time in El Capitan 10.11

I am setting up a site on my Mac OS El Capitan 10.11.4 (15E65) host machine for the first time, however I get a HTTP 403 forbidden error when accessing crmpicco.dev. Forbidden You don't have ...
0
votes
1answer
20 views

Where to put shared Apache vhost configuration in Debian?

I have several vhosts that share some lines of configuration and I would like to put this common configuration in a separate file and include it in these vhosts. I am not sure what would be the best (...
-1
votes
1answer
203 views

How do I use php-fpm on RHEL 7.2?

I've already asked this on Stack Overflow but received no response, so I'm trying my luck here. I'm new to configuring Apache and I'm trying to optimize my Apache server. Reading through the ...
0
votes
0answers
12 views

Serving two hosts from a single port [duplicate]

I have the following situation, not sure if the headline corresponds to the issue at all. I have two physical servers with Apache running on them, serving two small test websites behind a router. ...
0
votes
1answer
69 views

apache configuration problems, last vhost loaded becomes wildcard domain

I have 2 virtual hosts loaded from 2 separate conf files in /etc/httpd/conf.d/ when I point my browser to vhost1.test.com it loads the proper index.html as does vhost2.test.com. However the web server ...
0
votes
1answer
642 views

Creating virtual hosts on Apache in Linux Mint 17.3

I am working Linux Mint 17.3, and trying to create virtual hosts on Apache 2.4. I have followed the following procedure, but I still can't browse the site. Create two new virtual hosts. sudo cp /etc/...
0
votes
1answer
98 views

Directory Listing disabled despite Options +Indexes in configuration

I have 3 vhosts on a server, I want one of them to have directory listing enabled. This is the configuration file for it: <VirtualHost *:80> ServerName me ServerAdmin me ...
1
vote
1answer
597 views

apache2 no listening sockets available, but nothing listening on the port

I'm trying to setup SSL on an ubuntu server. I've generated a key and certificate with the following commands openssl genrsa -out mydomain.key 1024 and openssl req -new -key mydomain.key -x509 -out ...
0
votes
0answers
11 views

Running lampp at boot not working

I had a lampp installation working fine, but after some mistakes I decided to reinstall it, but now when I reboot it still starts but I have 2 websites: the first one has no domain - I call it by the ...
0
votes
1answer
142 views

no iptables, no selinux, port 81 in virtualhost still not working

I try to open port 81 as a virtualhost. after setting apache, I can CURL localhost:81 from local machine and get response(yes it was listening port 81). However, when visit the same address from ...
1
vote
2answers
63 views

Configuring Apache virtual hosts in extra file

I have access to a machine running linux. Apache2 is installed on it. I need to add 3 virtual hosts. In /etc/apache2/sites-available, there is a set of about 15 files displayed with ls -la. I was ...
0
votes
1answer
88 views

Cannot disable SSLv3 on Amazon Linux Instance

I am using SSL Certificate issued by Go Daddy. On my Linux Instance following are the software details :- Apache Version - Apache/2.4.16 (Amazon) Openssl Version - OpenSSL 1.0.2c 12 Jun 2015 ...
0
votes
0answers
316 views

Apache httpd starts but enters failed state on CentOS 7

I'm new to Linux and i have some problems with restarting httpd after creating Virutal hosts. The service is running but i am unable to restart it. [webmaster@erichermansson conf.d]$ sudo systemctl ...
1
vote
2answers
44 views

How does Apache resolves the requested virtual host?

I am running several virtual hosts on a VPS running Apache 2.4. I registered a domain at my VPS provider OVH: 55eastmonroe.software. I want the subdomain www.55eastmonroe.software to point to the ...
0
votes
1answer
66 views

Ubuntu & Plesk - How to exclude a sub-url from password protection?

I have website which is password protected where runs a php app on it. Now I have to unprotect a sub-url of that website but without disablng the protection of the main site which is configured ...
2
votes
4answers
5k views

Apache won't restart after configuring Virtual Hosts

I am trying to make a web server, but after adding the virtual hosts config, apache won't restart. It had several errors but I've managed to fix most of them. Now I don't know what is happening ...
0
votes
1answer
275 views

Apache VirtualHost redirect 302 (cyclic link)

I seek some wisdom, so please help... I have one VM acting as router/web server/dnsmasq server on IP: 192.168.100.1. And I have other machine acting as client. Server has IPTables rule to redirect ...
1
vote
0answers
385 views

Vagrant + CentOS 7 - Apache fails to start, I don't see an error

I'm spending some time trying to provision a Vagrant box running from a CentOS 7 base box. After a fresh install of Apache, I am able to hit the server over http and restart the server, but as soon ...
0
votes
1answer
154 views

Routing server requests using Apache Vhosts?

I have a multiple server setup that I am having difficulty figuring out the best way to solve a problem. I have several domain names that are accessed via a single IP address and served from one ...
1
vote
2answers
1k views

Use Apache's Name Based Virtual Host to Redirect to Internal IP

I'm toying with a new setup at home, and not sure if what I'm trying to do is possible or not. I've got my domain's DNS pointed to my WAN IP and being answered by Apache on an Ubuntu 14.04 server ...
1
vote
0answers
312 views

Apache Virtual Host Not Working

I'm trying to set up Apache virtual hosts on my Raspberry Pi so I can host 2 different websites with 2 different domains. I've done it before with no problems, but now I'm having no luck. Since ...
0
votes
1answer
38 views

Connections without Virtualhost

I saw tons of connections on port 80. But no requests from these IP addresses were logged in Apache access/error logs. I deleted all the virtual hosts, stopped Apache, and restarted it after there are ...