Tag Info

New answers tagged

1

Once you define a first vhost on port *:80, all your port 80 traffic is handled by that vhost as opposed to the base webserver configuration. Usually the best way to proceed is to create two *:80 vhosts. The first one defined is the default will cover everything your base config used to handle -- the second specifies ServerName/ServerAlias to capture the ...


1

In ubuntu 14.04, The location of Apache configuration files is under /etc/apache2/ Put those virtual hosts inside the file called /etc/apache2/sites-enabled/default & the reload the configuration.


0

The proper way to start your Apache server is to use the init script by running /etc/init.d/httpd start. The command fails because the process started with /home/www/apps/httpd-2.2.26/bin/httpd -k start is already using port 80. If you want to start Apache with the init script you need to stop this process by using kill 18051. Then you should be able to ...


0

May be "Listen 80" is declared more than once in .conf files. check it using: $grep -ri listen /etc/apache2 or may be processes that are like /bin/bash /usr/share/apache2/ask-for-passphrase thesite.com:443 are waiting for pass. check it with ps


1

Check selinux. This looks like it might interfere. (This is in fact the problem, as discussed in the deleted comments).


0

Check the firewall (firewalld) on the F22 server and ensure that the ports are open. I would expect this to be part of the problem as by default these ports are unlikely to be opened. However, other things you may like to check Does routing need to be enable on the host and if so has it? Does the firewall on the host have to be opened and if so has it?


0

You'll want to have your proxy set a header like X-Forwarded-For (which might already be set, depending on what's doing the proxying), then use it for the access control check instead, as covered here. Something like this.. Require valid-user SetEnvIf X-Forwarded-For 10\.0\.\d+\.\d+$ proxy_env Order allow,deny Allow from env=proxy_env Satisfy any



Top 50 recent answers are included