search for: serveralias

Displaying 20 results from an estimated 95 matches for "serveralias".

2016 Nov 20
3
CentOS 6, Apache 2.2.15 and SNI?
...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 ServerAlias calcbox.domain#.com:443 ServerAlias proxybox.domain#.com:443 ... SSLEngine on SSLStrictSNIVHostCheck on SSLCertificateFile /etc/httpd/conf/ssl.crt/domain#-host.crt SSLCertificateKeyFile /etc/httpd/conf/ssl.key/domain#-host.key SSLCertificateChainFile /etc/httpd/co...
2013 May 13
2
Creating defined resources based on array of parameters.
...rently being worked on ("self?"). Here''s the code to make it clear: ##### Configuration arguments $sites = [{ sitedomain => ''site1.domain.dev'', repo => ''git@repo.address/Repo'', branch => ''develop'', serveralias => "", priority => ''010'' },{ sitedomain => ''site2.domain.dev'', repo => ''git@repo.address/Repo'', branch => ''develop'', serveralias => "", priority => ''02...
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.altdomain.com <http://www.subdomain.altdomain.com> </VirtualHost> ********** dave -----...
2007 Nov 22
4
reg vhost in apache
Hi all, I am facing one problem in configuration of httpd-vhosts. my requirment is if url comes from servername (i.e http://sutra) it should redirect to my home page.if url comes from serverAlias(i.e http://sutrateam) it should go to advance search page....if any one knows how to do pls help me below file is my vhost file <VirtualHost *:80> ServerName sutra ServerAlias srishtisutra ServerAlias sutrateam ServerAlias sutrasrishti DocumentRoot D:/project/s...
2006 Jul 25
3
problem with *.foobar.com urls
...l_cluster> 4 BalancerMember http://127.0.0.1:9000 5 BalancerMember http://127.0.0.1:9001 6 BalancerMember http://127.0.0.1:9002 7 </Proxy> 8 9 <VirtualHost *> 10 ServerAdmin rags at fasia.com 11 ServerName *.foobar.com 12 ServerAlias foobar.com 13 ProxyPass / balancer://mongrel_cluster/ 14 # ProxyPassReverse / balancer://mongrel_cluster/ 15 # ErrorLog /usr/local/apache2/logs/mon.log 16 # CustomLog /var/log/apache/apache_access_log combined 17 </VirtualHost> 18 19 <Location /balan...
2003 Feb 13
0
Some clients not connecting...
...nes and this fixed the problem on all of them except one win 2k machine and one win 95 machine. My own machine is also not able to connect to the samba share and defining it in my /etc/hosts file did not help. When I try to connect using LinNeighborhood, I get this error: etSMBShare:smbclient -L serveralias -U% -W EDM -d3 added interface ip=10.10.10.79 bcast=10.10.255.255 nmask=255.255.0.0 Client started (version 2.999+3.0.alpha20-4 for Debian). resolve_wins: Attempting wins lookup for name serveralias<0x20> resolve_wins: using WINS server 10.10.1.11 and tag '*' Negative name query respo...
2006 May 17
1
Apache config: Two different rails apps using same domain name (mod_rewrite issue)
...ain application (www.mycoolapp.com) at /home/user/apps/mainsite User application (someuser.mycoolapp.com) at /home/user/apps/usersite Apache Configuration: NameVirtualHost *:80 ...[other stuff here (e.g FastCgi directives, and etc.)].. <VirtualHost *:80> ServerName mycoolapp.com ServerAlias *.mycoolapp.com DocumentRoot /home/user/apps/mainsite/public RewriteEngine On # If the host requested doesn''t begin with www (or no subdomain), rewrite to usersite directory RewriteCond %{HTTP_HOST} !^(www\.)?mycoolapp\.com? [NC] RewriteRule ^(.*)$ /home/user/apps/user...
2016 Nov 20
0
CentOS 6, Apache 2.2.15 and SNI?
It doesn't appear you have a ServerName or ServerAlias for the naked domains (sans subdomain), so they're both being answered by the first VirtualHost entry? > On Nov 20, 2016, at 9:24 AM, Walter H. <Walter.H at mathemainzel.info> wrote: > > Hello, > > is Apache 2.2 which is part of the CentOS distribution capable of SNI? &...
2014 Feb 06
3
Virtual Hosts question
...low. 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.php Index.php CustomLog logs/access_log_custom common </VirtualHost> ============== httpd.conf ============== ========Tail of error.log ================== [Thu Feb 06 10:25:48 2014] [notice] suEXEC mec...
2006 Apr 16
11
Multiple domain name, One Rails application, is this possible?
Hello folks, I''m new to the Rails framework and don''t know where to look to find my answer. Here is the question, Is there a way to set multiple domain name for *a* rails application, and base on the URL do the work in the app. Imagine I have a user based document management system, each user want to access to her docs using her domain, but I don''t like to have many
2017 Nov 13
2
Strrange behavior of VirtualHosts in Apache (CentOS6)
...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 1.2.3.4:80> ServerName www.example.com DocumentRoot /var/www/domain </VirtualHost> <VirtualHost 1.2.3.4:80> ServerAlias *.example.com DocumentRoot /var/www/catchall </VirtualHost> the DocumentRo...
2005 Dec 08
3
lighttpd proxy w/ apache2
...nd 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 a2enmod proxy. Stopped and restarted apache2 5. After doing...
2017 Mar 14
2
httpd/sites-available directory
...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 "access plus 10 years" AddOutputFilterByType DEF...
2017 Mar 14
2
httpd/sites-available directory
...not just the webmail. However, I'd say that your roundcubemail.conf is much overworked. We use something like that on openssl.org, but it generally looks like this: <VirtualHost *:80> ServerAdmin webmaster at localhost ServerName ${HOSTNAME} ServerAlias ${HOSTALIASES} Redirect permanent /https://${HOSTNAME}/ </VirtualHost> Since you already know that the host is correct and that's the port 80 virtualhost, there's no point testing that with those RewriteCond you have. Also, Redirect is faster and preferable t...
2007 Sep 08
8
SVN and Rails problem
...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/apache/domlogs/fapbox.com-bytes_log "%{%s}t %I .\n%{%s}t %O .&...
2006 Apr 24
12
setup a staging site?
Hi, i''m wondering how to setup a staging site for my RoR app. Right now i run webrick on my laptop to develop, then i svn commit my changes to the production server. However i need to make my development environment available to others and not just for me on my laptop. I have RoR setup on a hosted vps server which runs in production environment. Its on apache 1.3 and mysql. How can i
2009 Sep 20
2
SSL and virtual hosts?
...entOS". Now I wonder: how can I use SSL with virtual hosts? I have several virtual hosts defined. Let's say I want to use SSL with this one: <VirtualHost *:80> ServerAdmin info at microlinux.fr DocumentRoot /var/www/html/microlinux ServerName buildbox.presbytere.local ServerAlias microlinux.buildbox.presbytere.local ServerAlias microlinux.buildbox ErrorLog logs/microlinux-error_log CustomLog logs/microlinux-access_log common </VirtualHost> The key and certificate files are located in /etc/certs: # ls -lh /etc/certs total 12K -rw-r--r-- 1 root root 981 sep 2...
2012 Mar 09
6
Puppet Dashboard - Directory Index Forbidden
...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 > allow from all > </Directory> > #ErrorLog /var/log...
2005 May 04
3
Dual ethernet server on the same LAN
Hello, I have Fedora Core 3 linux and Samba 3.0.14a on a server that has 2 ethernet interfaces connected to the same LAN. The purpose to have such a server with 2 network cards is to serve 2 network shares with high traffic. I want the first share to be accessed trough the first network card (named drone.domain.com) and the second share trough the second card (named probe.domain.com). My DNS
2006 Dec 21
4
my apache 2.2 conf
I just finished updating our internal site, which hosts multiple Rails apps, to Apache 2.2.3. It also has a TWiki rewritten into the root, ViewVC mounted on /cvs, and /server-status and /server-info. <VirtualHost *:80> ServerName int.example.com ServerAlias int CustomLog /var/www/logs/int.example.com/access.log combined ErrorLog /var/www/logs/int.example.com/error.log [...] ## Application Server # APP1 <Proxy balancer://app1> BalancerMember http://127.0.0.1:11001 </Proxy> Alias /app1 /production/app1/public <...