Displaying 20 results from an estimated 4000 matches similar to: "httpd/sites-available directory"
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
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!
2017 Mar 14
0
httpd/sites-available directory
Hello,
a2ensite and co is Debian/ubuntu specific. On CentOS there is no such thing.
It's not clear to me what you are trying to achieve. Can you rephrase so we can help?
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
----- Original Message -----
> From: "Robert Moskowitz" <rgm at htt-consult.com>
> To: "CentOS mailing list"
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
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---------------------------
2008 Jan 23
7
Apache, Mongrel, Authentication
A question about mongrel, apache and authentication.
I''ve got a Rails site with I think a very typical setup: a mongrel
cluster behind an Apache proxy. So Apache''s handling the static stuff
and it hands off dynamic content to mongrel. I want to put the site
temporarily behind Apache''s basic authentication. What I get when I
do this is that is a password prompt which
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.
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
[...]
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
2009 Sep 17
1
[PATCH server] oVirt server single network installer
Updates the installer to handle the scenario in which the guest and
admin networks are the same by using an alternative httpd conf.
Verified to work (eg oVirt managed vms are bootable) on the
oVirt appliance so far.
---
conf/ovirt-server.conf | 88 --------------------
installer/bin/ovirt-installer | 11 +--
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
2006 Nov 08
2
Apache 2.2.3 setup woes
Good morning everyone,
I am running apache 2.2.3 compiled from source and proxy load balancer as
described on the mongrel site.
I have a total of three sites, this setup works really well for two of them
but for one of them, I keep getting "Forbidden" errors and this error in the
apache logs:
[warn] proxy: No protocol handler was valid for the URL /. If you are using
a DSO version of
2007 Mar 25
3
Can''t seem to get rewrite rules to work with Apache
Hi,
I''m struggling to get an Apache rewrite rule to work. I have a
simple rule that for a request to "a.html" will be sent to "b.html".
However the requests for "a.html" are always sent to my Rails apps.
Here is my Apache configuration:
<VirtualHost 216.154.219.19:80>
<Directory /u/apps/simplelog_2.0.2/public/>
Options FollowSymLinks
2011 Dec 14
30
How can I get RVM/Passenger/Apache2 to play nicely together
Hello all,
Can anyone point me to any solid documentation on how to set up a
production server using RVM, Passenger, and Apache2? I have been at
this for a week with absolutely no luck at all so I thought I would
post here to see if anyone has managed to get this to work and written
down the steps they used.
Right now with my current implementation, I am getting a 404 error
when I attempt to
2006 Sep 26
5
Expert feedback needed
Hello list,
Some time ago I was looking for apache (as non balanced proxy) +
mongrel configurations. Almost everybody seemed to use similar
approaches (one of these could be found @ mongrel.rubygorge.org docs)
with mod_rewrite. I don''t use proxy_balancer because I don''t need it
at the moment (my site has pretty low traffic). This is apache
configuration that I''m using
2015 Aug 27
7
apache mysterious 404 error
Hey guys,
Just have a question about apache. Hoping to get an opinion on this.
I've just setup a site under apache 2.4.
And made sure that the document root setup in the vhost for the site I'm
serving has permissions for the apache user. Yet some of the files are
throwing a 404 error in a browser even tho they are clearly present and
accounted for on the file system.
For example,
2010 Apr 24
5
About your application's environment URL not found
Hi
I am a newbie (which you probably guessed from the subject) and have
just installed ruby 1.8.7, rails 2.3.5 and apache 2.2.12 on ubuntu 9.10.
I have created a rails app and edited my apache config as shown below.
The Rails "Welcome aboard" page displays, but when I click on "About
your application''s environment" I get
"Not Found
The requested URL
2006 Jun 22
9
Again on Apache 2
Hello everybody.
I know, I know, another post about Apache 2, but I have looked a lot on
the internet and I haven''t found the answer to my problem.
I have a Linux Fedora Core 5 box, with Apache 2.2.2 (compiled and
installed), Ruby 1.8.4 (compiled and installed), RubyGems 0.8.11
(compiled and installed) and Rails... I don''t know what version as this
one I haven installed
2007 May 29
4
undefined method `define_a_column' for class `OCI8::Cursor'
Hi,
Environment: Solaris 10, Orale 10g, Apache 2.2, Ruby 1.8.4, Rails
1.2.3, Ruby OCI8 1.0.0-rc2
As soon as I compiled and installed the Ruby/OCI8 interface, I got the
following error from my application:
=========================
[notice] mod_fcgid: call /export/home/invido/invido/portal2/public/
dispatch.fcgi with wrapper /usr/local/bin/ruby /export/home/invido/
2006 Dec 16
5
trying to add another app
hey all,
I have an app working great with apache2 and mongrel_cluster.
However, I''m trying to run another application and now when I go to
app1.comit falls to
app2.com and the opposite. That''s probably because I messed up somewhere
with the cluster.
this is the content of my conf.d/app1.proxy_cluster.conf:
<Proxy balancer://mongrel_cluster>
BalancerMember