Displaying 20 results from an estimated 3000 matches similar to: "How to use Webrick server"
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
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
2014 Feb 06
3
Virtual Hosts question
I am running Wordpress on a CentOS 6.5 server which is behind a router.
The private IP is 192.168.0.99, the public URL is X.com (name changed).
I have two virtual hosts in my httpd.conf file. The second one, listed
below, is for Wordpress and it is accessed with http://X.com/d4i or
http://www.X.com/d4i. They work fine.
Actually, not show, I have more Wordpress virtual hosts, and they are
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
2006 Jul 25
3
problem with *.foobar.com urls
I am using Apache2.2 + mod_proxy_balancer + mongrel setup and my
mongrel.conf file(for apache is like this)
2
3 <Proxy balancer://mongrel_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
2006 May 17
1
Apache config: Two different rails apps using same domain name (mod_rewrite issue)
The problem I''m solving here is that I have two different Rails applicatons
that uses the same domain name. One handles the www (e.g. www.mycoolapp.com)
and is used as the main site, and the other handles the user subdomains
(e.g.. someuser.mycoolapp.com). The DNS stuff and the Apache virtual hosts
were all set up, the two rails apps are in place in the file system, and the
proper
2005 Dec 08
3
lighttpd proxy w/ apache2
I''ve tried a bunch of things trying to get ruby/apache2 and php working
together. I looked over my earlier post and followed the instructions
on ezra''s website to install lighttpd on debian. I''ve gotten really far
but I think there is one bit missing:
1. I got apache2 and php working together
2. I got lighttpd working on port 3000 and my rails app launches ok
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}
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
2007 Sep 08
8
SVN and Rails problem
Hi guys,
I''ve finally managed to get my server up and running with
mongrel_cluster and all that 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---------------------------
2012 Mar 09
6
Puppet Dashboard - Directory Index Forbidden
Hello all
Puppet, puppetmaster, ruby, etc installed from standard Ubuntu 11.10 x86_64
APT repos
Dashboard 1.26 from .deb pulled from
http://apt.puppetlabs.com/pool/oneiric/main/p/puppet-dashboard/
Apache config pulled
from /usr/share/puppet-dashboard/ext/passenger/dashboard-vhost.conf
My simple test with webbrick worked a treat. So I installed Apache and
passenger mod (from Ubuntu APT
2017 Nov 13
2
Strrange behavior of VirtualHosts in Apache (CentOS6)
Hello,
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
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
2006 Oct 06
6
virtual host on latest centos 4.4
Good morning All,
I have a slight issue with apache virtual hosts not working on my newly
installed CentOS (4.4).
I am very new to Linux, however I have experience with apache etc on
'w1nd0ws'. I've been round and round in the apache conf file and to no
avail.
Basically if I setup a virtual host the default then looks at it. Also,
if I setup multiple virtual hosts they all look at
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
[...]
2006 Mar 22
5
Apache - Rails communication.
Please, if this question is not appropriate to this list please direct
me elsewhere. If it has been discussed in a previous thread, please
direct me there. An initial search of the archives did not appear to
show anything.
I am new to Rails but not to app servers having 4 years with J2EE.
The set up of a Rails app seams strait forward and I understand the
MVC model. Initial test code has
2007 Feb 07
8
Apache+Mongrel Redirection Problems
Hi folks,
Newbie issues...I''m prototying an Apache/Mongrel configuration setup
as follows:
* Two Mongrel servers each serving a Rails application.
* Apache front-end.
* Linux system (CentOS)
* The plan is to create two virtual 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
2009 Sep 20
2
SSL and virtual hosts?
Hi,
I successfully managed to use SSL on a local webserver for testing
purposes, following the section "Using SSL" in the Chapter "Using
Apache" of the "Definitive Guide to CentOS". 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
2007 Jan 25
6
NOT FOUND error
I''ve been hunting the web and reading the mailing lists all day but
I''m not finding any guidance on this problem. When I try to talk to my
mongrel it simply responds with NOT FOUND and nothing else. I can''t
find anything on google because this has to be the second most commond
phrase in existence.
Any help or guidance would be greatly appreciated.
Sincerely,
Chuck Vose
2007 Jun 03
3
mongrel cluster w/ apache
hi all,
i''m working on deploying my app w/ apache and a mongrel cluster. i''ve
started by copying the instructions and code from the agile rails book
and everything seems to be working fine but apache isn''t forwarding my
requests to mongrel the way i expect it should. there''s nothing in the
rewrite logs and nothing but 404 errors in the apache error logs.