Displaying 20 results from an estimated 401 matches for "virtualhost".
2017 Mar 14
2
httpd/sites-available directory
The goal is to have access to a specific virtual host on port 80, to be
routed to port 443. Any other port 80 access is left as is.
So let us assume a server foo.bar.com and the specific virtual host is
webmail.bar.com
So I have tried:
<VirtualHost *:80>
ServerName webmail.bar.com
ServerAlias webmail
RewriteEngine On
ReWriteCond %{HTTP_HOST} =webmail.bar.com [NC]
RewriteCond %{SERVER_PORT} !=443
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
ExpiresDefault...
2006 Jun 09
2
Virtualhost, Alias & Subdomains
I am having a problem with subdomains, alias & virtual hosts
Centos 4.3, Apache 2.0.52 & PHP 5.04
I can get the primary to work, but not the aliased servers.
http.conf extract
*********
NameVirtualHost *
<VirtualHost *>
ServerName www.domain.com
DocumentRoot /var/www/html/domain/
ServerAlias www.altdomain.com <http://www.altdomain.com>
</VirtualHost>
<VirtualHost *>
ServerName subdomain.domain.com
DocumentRoot /var/www/html/subdomain/
ServerAlias www.subdomain.alt...
2017 Nov 13
2
Strrange behavior of VirtualHosts in Apache (CentOS6)
...there is a short explanation about virtual hosts in Apache ...
https://wiki.centos.org/TipsAndTricks/ApacheVhostDefault
the `hostname` gives a different donmain name than what should be hosted ...
e.g. `hostname` is host.example.org and the domain to be hosted is
example.com, so I did this:
<VirtualHost 1.2.3.4:80>
ServerName host.example.org
DocumentRoot /var/www/default
</VirtualHost>
# used to get let's encrypt for the mail server
<VirtualHost 1.2.3.4:80>
ServerName mail.example.org
ServerAlias smtp.example.org
DocumentRoot /var/www/mail
</VirtualHost>
<VirtualHost...
2007 Feb 07
8
Apache+Mongrel Redirection Problems
...irtual hosts.
/ETC/HOSTS LOOKS LIKE THIS:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost egovm04
10.4.1.84 rss
10.4.1.84 railstest
HTTPD.CONF LOOKS LIKE THIS:
[snip]
NameVirtualHost 10.4.1.84
<VirtualHost rss>
ServerName rss
ServerAlias rss
RewriteEngine on
RewriteRule ^/rss(.*) http://10.4.1.84:5432$1 <http://10.4.1.84:5432/>[P]
ProxyPass / http://10.4.1.84:5432/
ProxyPassReverse / http://10.4.1.84:5432/
</VirtualHost>
<Virtua...
2016 Jun 24
1
haproxy + Apache + virtual hosts -> wrong host is displayed
...r:
reqadd X-Forwarded-Proto:\ https if { ssl_fc }
option forwardfor
default_backend apache
backend apache
server domain 127.0.0.1:8080
The /etc/httpd/conf/httpd.conf binds Apache
to port 8080 and serves several Wordpress sites:
Listen 127.0.0.1:8080
ServerName 144.76.184.151
<VirtualHost 127.0.0.1:8080>
DocumentRoot /var/www/html/afarber.de
ServerName afarber.de
ErrorLog logs/afarber.de/error_log
CustomLog logs/afarber.de/access_log common
</VirtualHost>
<VirtualHost 127.0.0.1:8080>
DocumentRoot /var/www/html/ruhrgebietsingle.de
ServerName ru...
2014 Feb 06
3
Virtual Hosts question
...ml file.
Unfortunately it doesn't work. The error is "Directory index forbidden
by Options directive: /var/www/wordpress/" and googling didn't help.
I have my httpd.conf and error.log below.
Thank you, Joe
============== httpd.conf ==============
ServerName 192.168.0.99
NameVirtualHost *:80
<VirtualHost *:80>
ServerName IDoNotExist.com
DocumentRoot /var/www/html
DirectoryIndex Index.html index.html
</VirtualHost>
<VirtualHost *:80>
ServerName X.com
ServerAlias www.X.com
DocumentRoot /var/www/wordpress
DirectoryIndex Index.html index.html index.ph...
2017 Mar 14
2
httpd/sites-available directory
I just received some advice from a colleague of a colleague over at
openssl.org. But they use debian. Please look at this and help me out
on how Centos7 handles this:
Note the comment of the location of virtualhost config files. Centos7
does not have a "man a2ensite".
thanks
Rewriterules and https. Actually, looking at what you have doesn't
really tell me why it gets applied to everything and not just the
webmail. However, I'd say that your roundcubemail.conf is much
overworked. We use...
2007 Feb 22
1
OT(?): ReverseProxy and URLs
...this case, it''s looking for the style sheet in the Apache
webroot and failing.
I''m fairly sure this is a ReverseProxy problem and also suspect it''s not
uncommon. Before investigating too deeply, I wonder if some of you have
already found solutions.
The Apache httpd.conf VirtualHost directives are these:
NameVirtualHost 10.4.1.84
<VirtualHost 10.4.1.84>
RewriteEngine on
RewriteRule ^/rss(.*) http://10.4.1.84:5222$1 [P]
RewriteRule ^/railstest(.*) http://10.4.1.84:8223$1 [P]
</VirtualHost>
<VirtualHost 10.4.1.84>
ServerName rss
ProxyP...
2016 Nov 20
3
CentOS 6, Apache 2.2.15 and SNI?
Hello,
is Apache 2.2 which is part of the CentOS distribution capable of SNI?
I have troubles that are coming from server side (CentOS 6.8, Apache 2.2.15)
just did 'yum update'
in
/etc/httpd/conf/httpd.conf
I've the following
NameVirtualHost ipaddr:443
Include /etc/httpd/conf/vhosts/vhost-ssldom1-box.conf
Include /etc/httpd/conf/vhosts/vhost-ssldom2-box.conf
both 'vhost'-files are like this:
<VirtualHost ipaddr:443>
ServerAdmin webmaster at domain#.com
ServerName vhost.domain#.com:443
ServerAlias box.domain#.com:443
S...
2009 Jun 05
17
passenger on localhost
I installed passenger at home. How should I configure apache to make it
usable?
This was my last guess:
<VirtualHost localhost:3121>
ServerName 127.0.0.1
DocumentRoot /var/www/html/docsearch/public
</VirtualHost>
This gets by "apachectl start" without complaint, but I really haven''t a
clue what I''m doing ;)
Do I need to access it via a different port? Or could I jus...
2017 May 05
6
tabs ignored in here document
...ant file is all flush left, as if I had used
the +EOF option:
Thing is, I thought I tested this previously, so it is possible that
there is now something wrong in my environment causing the problem?
cat <<EOF>00-init.conf || exit 1
ServerAdmin $admin_email
ServerName $your_host_tld
<VirtualHost *:80>
<Directory "/var/www/html">
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:443>
SSLEngine On
SSLCertificateFile /etc/pki/tls/certs/$your_host_t...
2005 Dec 08
3
lighttpd proxy w/ apache2
...s app launches ok
there
So at this stage, both PHP and Ruby are on the same server except that
ruby is on port 3000 while the rest is going on port 80.
3. I copied/pasted this vhost section into my apache2/sites-enabled
folder in order to pass the sites that will be using ruby to lighttpd
<VirtualHost *:80>
ServerName example.com
ServerAlias www.example.com
#ProxyPreserveHost on #<-apache2 only
ProxyPass / http://example.com:8000/
ProxyPassReverse / http://example.com:8000/
</VirtualHost>
changing the example.com to my URL.
4. I got an error so I used a2enm...
2007 Sep 08
8
SVN and Rails problem
...jazz. My rails app works fine, but when I
try to access my svn repos as I was doing before everything was setup
rail is giving me a 404.
What can I add to my httpd.conf to prevent this? Here''s a snip from my
httpd.conf relating to the domain:
---HTTPD.CONF---------------------------
<VirtualHost 75.126.60.178:80>
ServerName fapbox.com
ServerAlias www.fapbox.com
DocumentRoot /home/fapbox/current/public
ServerAdmin admin-oXF/OrpwZ1rQT0dZR+AlfA@public.gmane.org
UseCanonicalName Off
CustomLog /usr/local/apache/domlogs/fapbox.com combined
CustomLog /usr/local/apac...
2006 Apr 15
1
problem apache proxy reverse
hello:
i have centos 4.0 whits apache httpd-2.0.52-22.ent.centos4, this is configured like a reverse proxy, but i have a problem only the first site name on the httpd.conf work when i do a peticion from internet for all the rest servers only respond the firts.
<VirtualHost *>
ServerName dir_ip
ProxyPass / http://ejemplo1.test.com/
ProxyPassReverse / http://ejemplo1.test.com/
</VirtualHost>
<VirtualHost *>
ServerName dir_ip2
ProxyPass / http://ejemplo2.test.com/
ProxyPassReverse / http://ejemplo2.test.com/
</VirtualHost>
<VirtualHost *>
S...
2017 Mar 14
0
httpd/sites-available directory
If all you want is a really fast redirect, then indeed what those people advised should work.
NameVirtualHost IP:80 (you only need this on apache 2.2 and lower, not needed on CentOS7 which comes with apache 2.4)
<VirtualHost IP:80>
ServerName webmail.bar.com
Redirect permanent / https://webmail.bar.com/
</virtualHost>
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
--...
2009 Sep 17
1
[PATCH server] oVirt server single network installer
...rt/templates/ovirt-httpd-seperate.conf.erb
create mode 100644 installer/modules/ovirt/templates/ovirt-httpd-single.conf.erb
diff --git a/conf/ovirt-server.conf b/conf/ovirt-server.conf
deleted file mode 100644
index e4ebd5b..0000000
--- a/conf/ovirt-server.conf
+++ /dev/null
@@ -1,88 +0,0 @@
-NameVirtualHost GuestNetIpAddress:80
-<VirtualHost GuestNetIpAddress:80>
- <Location /ovirt>
- RewriteEngine on
- RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
- </Location>
-</VirtualHost>
-
-NameVirtualHost GuestNetIpAddress:443
-NameVirtualHost AdminNetIpAddress:80...
2011 Mar 31
2
multiple vhosts running off of one passenger/rails app
Hi,
I''ve been googling quite a bit - but up until now to no use :(
My problem is how to configure Apache conf (and perhaps Passenger) for
this setup to work:
<VirtualHost *:80>
ServerName oxen.company_A.com
DocumentRoot /var/www/html/oxen/sites/company_A/public
PassengerAppRoot /var/www/html/oxen
SetEnv OXID 23
</VirtualHost>
<VirtualHost *:80>
ServerName oxen.company_B.com
DocumentRoot /var/www/html/oxen/sites/company_B/publi...
2007 Jun 21
0
problem with redirect_to() and VirtualHost
I''m running into a problem with redirect_to() and Apache''s
VirtualHost facility. I have probably have something set up
wrong, but I''m not even sure how to approach the problem.
Background:
We have DNS set up to return the domain''s address for all
sub-domains. So, "dig xyz.cfcl.com" returns the same IP
address as "dig cfcl.co...
2012 Mar 09
6
Puppet Dashboard - Directory Index Forbidden
...t /usr/lib/phusion_passenger
> PassengerRuby /usr/bin/ruby
> # you may want to tune these settings
> PassengerHighPerformance on
> PassengerMaxPoolSize 12
> PassengerPoolIdleTime 1500
> # PassengerMaxRequests 1000
> PassengerStatThrottleRate 120
> RailsAutoDetect On
> <VirtualHost *:3000>
> ServerName pm1.lon6.telecity.net
>
ServerAlias X.X.X.X
DocumentRoot /usr/share/puppet-dashboard/public/
> <Directory /usr/share/puppet-dashboard/public/>
> Options None
> Order allow,deny
>...
2013 Mar 12
4
PuppetDB http web interface user access
Hi All,
Has anyone figured out a nice way to restrict user access to puppetdb''s
http web interface? Such as a .htaccess method or something similar? I
would prefer something along
those lines instead of setting up firewall rules.
-Zane
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and