Displaying 20 results from an estimated 1000 matches similar to: "Help with NameVirtualHost"
2008 Oct 09
2
NameVirtualHost and CGI Problems
On: Centos 5.2, with httpd-2.2.3-11.el5_1.centos.3
I tried to bring up a web server using an
httpd.con that runs well
on: Fedora 8, with httpd-2.2.8-1.fc8
as well as several earlier versions, going
back to Fedora 4.
On the Centos version, I cannot successfully:
run a NameVirtualHost;
execute a CGI.
I can bring up a simple page if I avoid the
above.
Suggestions would be much
2006 Jan 06
3
fastcgi on apache
Running on Fedora Core
I have been playing with some of the tutorials and one of them had me
install lighttpd and lighttpd-fastcgi and that was much faster than
apache seems to be.
How do I get fastcgi stuff to work on apache...
I have this setup for my tutorial environment in httpd.conf
<VirtualHost *>
DocumentRoot /home/craig/cookbook/public
ServerName cookbook
<Directory
2003 Jul 29
1
Using print$ / timeouts to port 445...
Hi...
I have set up my smb.conf to use the print$ directive, and have shared
3 printers. I sucesfully added the printer drivers to the host, and can
use them. But - opening up the printer connection from the windows host
is slow, and causes the printer 'status' window to say 'initializing'.
While that happens, my samba.log shows :
2003/07/29 16:44:40, 2]
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
2006 Aug 13
1
Rewrite problem?
I''m not able to access anything in public, everything seems to be going
through the rails router. As a result, I can''t get to stylesheets or
javascript.
I''m not quite clear if this is a .htaccess problem, or a router problem.
I eliminated the "catchall" route, so the last route is
map.connect '':controller/:action/:id''
My .htaccess file
2009 Jun 17
2
Using a cgi perl program?
I have a cgi/perl program that I want to use on the same server as my
RoR app and I keep getting:
The page you were looking for doesn''t exist.
You may have mistyped the address or the page may have moved.
I load the program to the cgi-bin directory in its own folder /cgi-bin/
fump/
In the /public folder of my app I have the following .htaccess file:
# General Apache options
2007 Dec 21
2
config Rails .htaccess
Hello, newbie here please help
I have developed my Rails site under www.mydomain.com/home
Now I want to map it to use www.mydomain.com, what should i change to
this .htaccess file
=============== Content of my .htaccess file under public directory
============
# General Apache options
AddHandler fastcgi-script .fcgi
AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI
# If you
2006 Feb 14
2
apache virtual host
I don't ever do this...
Shouldn't this be enough to set up a virtual server in apache?
I did create an entry in /etc/hosts and in dns for this fqdn
it still gives me the contents of /var/www/html and
not /home/craig/ruby-db/th-db/public
<VirtualHost *>
DocumentRoot "/home/craig/ruby-db/th-db/public"
ServerName app-server.tobyhouse.com
<Directory
2005 Feb 13
6
Apache config help needed
Hi all,
I''m (STILL) plugging away trying to get rails to work under Apache2
Rails 0.9.5 Apache 2, OS Mandrake Linux 10.1
Apache is already running other stuff on /pluto/ and /localhost/ so I wish
to install a new virtual host for rails to avoid upsetting anything.
Added rails to my hosts file, and edited conf/Vhosts.conf to contain
NameVirtualHost 192.168.0.254
<VirtualHost
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
2007 Mar 18
1
Kerberos
Hey all new to this crack
Ok so i have setup kerosene on my server i run mutt and it goes off and
gets kerberos key from server I have added teh gssapi to config file but
when the key seams to want to authenticate off dovecot it fail anyone
help me?
Mutt is returning
No authentication available
Dovecot logs are returning:
Mar 18 01:34:31 bandicoot dovecot: auth(default):
2006 Jun 15
6
Error in dispatch.fcgi...
Yesterday, our of nothing my server went down...
Rails application failed to start properly
Imediately i started checking my logs and found quickly that something
was wrong with the dispatch.fcgi or its function.
I use FCGI, and it had been working perfectly with Apache 2.0.55, MySQL
5.0, Ruby 1.8.2 and Rails 1.1.2.
What really got me wondering was that I did nothing. One day it worked
2008 Apr 09
4
ssl and NameVirtualHost
I recently aquired a Verisign SSL certificate for my web server on
Centos 4, with apache 2.0.59 from centosplus.
It however doesn't seem to be working the way I've set it up,
browsers connect but are told the certiticate is not recognized.
Showing more info, the information looks correct.
I think it has probably to do with the fact that I'm using the
certificate on a virtual
2006 Dec 16
1
Big Newbie - FreeBSD Apache2 & Rails?
Hello:
I need some basic help. I have a server on which I want to run rails.
It''s a freeBSD server with a current port of rails and a lot of other
things. I''m a relative unix newbie too so there are some big barriers
to entry here: Here''s what I''ve done
1. gem installed ruby
2. gem installed rails
3. gem installed mongrel
I''ve also used
2003 Oct 07
3
file sharing over Internet
Hi,
I have setup a Samba in Local network and working perfect. I want to release
my share over Internet
so that my PC at home can access this share at the RUN \\MYIPADDRESS.
Is it possible?
Cris
2006 Jul 31
4
switching database dynamically based on incoming request
So I have this idea to reduce code replication in our rails setup.
Currently we have our rails app serving two distinct sites, soon to be
three. At the moment we check out a separate set of code for each site,
and configure it by adjusting the database setting and some config files
that pull in separate style sheets.
To remove this replication I''d like to have a single codebase, but
2006 Apr 14
3
Rails deployment
Hi all,
I''ve greated a rails application and i want to deploy it right now.
I have to use a windows 2003 server.. So i installed
i''ve used the following tutorial:
http://wiki.rubyonrails.com/rails/pages/RailsOnWindows
My application is running at : http://loc.iwsweb.nl
But everytime i connect it opens a ruby process but at the end it won''t
kill it.
As you can see
2006 Apr 12
13
Public Directory not accessible
Been trying to deploy my rails app on Redhat ES3, Apache2, FastCGI with
Plesk all day. Fun stuff. Basically, the issue that I can not solve has
to do with access to /public. None of my images, javascripts, etc. are
working in the app. Trying to access any of these results in a 404 (or
routing error if in developer mode). Oddly, the 404 file it displays is
-- you guessed it -- in fact *in*
2006 Jan 02
5
Can''t get fcgi working with Apache2 on Mac OS X
I have an application that works fine in development mode under plain
old CGI and I''m trying to get it running under FCGI with multiple hours
of frustration. Lately, I am running dispatch.fcgi standalone from the
command line. It gives me a not very helpful one line error message;
Status: 500 Internal Server Error
The log file produces a not very helpful 2 line message;
2006 Apr 13
4
apache permission problems
Well i finally got CentOS 4.3 booting, apache is installed, and im
trying to setup some virutal hosts, i want the main site to be my
default virtual host (which i had on my gentoo server) but i keep
getting permission denied errors:
Forbidden
You don't have permission to access / on this server.
Additionally, a 403 Forbidden error was encountered while trying to
use an ErrorDocument to