The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
17 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
14 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
20 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
40 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
24 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
23 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
19 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
27 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
31 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
58 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
68 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
25 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
63 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
32 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
53 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
52 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
42 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
53 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
42 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
56 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 (...
0
votes
1answer
156 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
62 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
416 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
79 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
421 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
9 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
126 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
55 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
85 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
247 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
43 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
62 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 ...
1
vote
3answers
4k 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
245 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
351 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
131 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
280 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
36 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 ...
0
votes
1answer
659 views

Apache giving me 403 on Virtual Host

I have been trying to get to grips with Apache in CentOS 7. I have set up two virtual hosts and created basic index.html pages as follows: /var/www/domainA/public_html/index.html /var/www/domainB/...
0
votes
1answer
284 views

How to host server on local PC(ubuntu) and set up virtual hosts

I am new to Ubuntu and I wanted to host a server on it. I googled a bit and read something about Apache and IIS and I couldn't get much out of it. Right now I am confused about how to proceed. What ...
0
votes
1answer
322 views

why my subdomain is not accessible from the Internet?

I am using virtualhost in Centos 6.6. This is my conf file: <VirtualHost *:80> ServerName test.mydomain.ca ServerAlias test.mydomain.ca DocumentRoot /var/www/test_mydomain/...
-1
votes
2answers
704 views

Cannot disable SSLv3. Followed guides and forum posts

I am having no luck disabling SSL3 on CentOS 6. I have followed guides and forum posts to no avail. grep -Ri SSLProtocol /etc/httpd Binary file /etc/httpd/modules/mod_ssl.so matches /etc/httpd/conf.d/...
0
votes
1answer
53 views

Should virtual host files contain two <directory> directives? [closed]

We've heard that a good security practice is to reset everything in the virtual host to allow nothing, then have another directive to allow specific access - something like this: <VirtualHost *:80&...
1
vote
0answers
58 views

Hosting Multiple Websites on Webmin

I set up a couple of Virtual Servers (websites). The problem is, does not matter what URL I use, I will always be redirected to the first one Virtual server I created. Here is the redirective text ...
1
vote
2answers
11k views

How can I set up Virtual Hosts in Centos7?

I am trying to set up virtual hosts in Centos7. I followed this guide: http://twohlix.com/2011/05/setting-up-apache-virtual-hosts-on-centos/ however I keep getting the following error: Job for ...
2
votes
1answer
944 views

Can <Location /> be for multiple virtual hosts in httpd.conf?

I have 5 virtual hosts in httpd.conf. All of them have the configuration below except for one. <Location /> Order Deny,Allow Deny from all Allow from IP.ADDRESS.GOES.HERE </...
3
votes
2answers
734 views

Subdomain for Nagios

I have a subdomain forwarding at ip xxx.xxx.xxx.xxx (domain.com) Lets call it nagios.domain.com Nagios worked at xxx.xxx.xxx.xxx/nagios but now it's not working due to a fact that app.domain.com took ...