Displaying 20 results from an estimated 4000 matches similar to: "Deployment on Virtual Host"
2006 Jun 17
2
ROR deployment on Apache - DocRoot set to /
I am trying to get a ROR app running on a linux box running Apache 1.3
at my hosting comapny, but cannot get it running.
There is a fresh/clean ROR app in the base directory /
.htaccess, dispatch.cgi, dispatch.fcgi and dispatch.rb are all in /
All dispatch files have been set to 755.
ROR docs say to point doc root at /public/ and to put .htaccess,
dispatch.cgi, dispatch.fcgi and dispatch.rb
2008 Apr 13
0
Anyone with experience using Typo for blogs?
I have a Typo blog, everything works great locally as always. When I
push it up to my shared host, which supports typo and has all
requirements, I am getting the 500 error from my htaccess file. I
believe that the issue is from redirects, but I am new to RoR and not
too familiar with the htaccess file. Can anyone tell me how I would
need to have it set up if my blog is using the symlink I set up
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
2007 Jan 22
5
rails helpers are adding extra folders
i have a new rails site that i am setting up just like i normally do with
all of the other sites. i created a subdomain which is pointed to a
subfolder in my public_html.
i can view the site both at test.mywebsite.com and mywebsite.com/test/ but
when i view it by the subdomain, rails helpers are adding the /test/ to all
of my resources, so none of my images or style sheets are found.
this
2007 Jan 19
2
Rails Deploy Files - Remove?
So, now that we''re using Mongrel and not the horrid FCGI, do I really
need these files in my Rails apps:
dispatch.fcgi
dispatch.cgi
.htaccess
??
The .htaccess file has rules for rewriting that look FCGI based. For
Mongrel, I do my Apache re-writing in my config file, right?
is there a reason to include these files at this point?
Hunter
2007 Feb 07
0
Trailing Slash Problems with Deployment on Shared Hosting Using SymLinks
Hi,
I''ve been trying to deploy a simple Rails app for a friend on a shared
hosting account. I was able to get the Rails application running, but
the URL need to end in a slash or else it would result in a 400 Bad
Request error. After searching through the Rails I wiki found a page
on the exact same error (http://wiki.rubyonrails.com/rails/show/Non
+VHost+Installation, it''s
2010 Apr 03
0
Deployment problem with apache + fastcgi
Hi! I''m from Russia. It''s my first post in this forum. Execuse for my
bad language, but i hope you''re help me!
I try to deploy rails app on apache + fastcgi hosting.
.htaccess file contents:
AddHandler fcgid-script .fcgi
AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI
RewriteEngine On
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
2016 Aug 28
0
.htaccess file
On 2016-08-28, TE Dukes <tdukes at palmettoshopper.com> wrote:
>
> I'm just not following or understanding. The .htaccess file works but on a
> slow DSL, I don't want the hits.
What exactly is slow when you receive requests from remote clients that
you don't want? Are you actually seeing problems when clients make
requests and Apache has to read in your 2MB .htaccess
2010 Mar 21
4
Deploying my rails app to GoDaddy
So I''ve written my first real-world RoR app and I''m now getting ready
to deploy it. Unfortunately, my client decided to use GoDaddy as the
hosting provider and based on what I''ve seen so far from the web, it''s
not really the smoothest or ideal hosting for RoR apps. There were
several posts here that I tried to follow but they were kinda old
(2008, 2007). Most of
2007 Nov 23
3
CopyHandler and hidden files?
Hello,
I was wondering whether the CopyHandler plugin works with hidden files
like .htaccess? I have an .htaccess under src/ and another one under
src/code/, but they won''t be copied to output/. My config.yaml is:
File/CopyHandler:
paths: [''**/*.css'', ''**/*.js'', ''**/*.jpg'', ''**/*.png'',
2005 Jul 14
0
htaccess authentication asks for MySQL table test.user_info
Hello.
For users interested in the MySQL authentication problem for SSL pages,
there is another way
to prevent mod_auth_mysql to do this mySQL authentication. This has been
reported by Brent:
In the /etc/httpd/conf/httpd.conf file, add the directive:
<Directory xxxxxx/
AuthMySQLEnable off
AllowOverride All
</Directory>
You can also add it to your .htaccess file.
Thanks
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
2016 Aug 28
5
.htaccess file
> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf Of Keith Keller
> Sent: Sunday, August 28, 2016 4:23 PM
> To: centos at centos.org
> Subject: Re: [CentOS] .htaccess file
>
> On 2016-08-28, TE Dukes <tdukes at palmettoshopper.com> wrote:
> >
> > I'm just not following or understanding.
2008 Apr 24
0
.htaccess for script aliased directories
With the great assistance I got here I was able to get .htaccess to work on a centos 5.1 box running Apache 2.2.3 a few days ago.
One other question. I am trying to protect a sub dir within the web space of a domain that is serving site statistics of awstats generated pages. The path to the dir is /home/user1/www/awstats. When testing, I am able to get a username and password prompt for the
2006 Oct 03
0
Some help needed in Romania with some settings
Hi,
My name is Monenci Nicolae. I'm from Romania, an i have a problem that i
could not find any answer on net.
I have an "Samba version 3.013" instaled.
I have atach-ed the smb.conf that i have configured my self.
So my problem is:
I have a network of 10 PC. (5 windows XP, 2 windows 2000,
3 windows NT)
I have installed 1 new PC with windows XP.
After i installed
2016 Aug 28
6
.htaccess file
Hello,
My home system on a DSL line is getting worn out by bad behavior robots.
Awhile back, I created a .htaccess file that block countries by IP blocks.
Its 2MB in size.
I have been running Linux since Slackware 1.0 and moved to Redhat around
2.0. I started after running a BBS using a doorway for newsgroups. Been
hooked ever since.
So, today, I tried following the directions for
2006 Feb 14
9
Deploying in Dreamhost
What pain. I am ready to switch hosts. I have this app in Dreamhost
where I load the static pages just fine. The location of my rails app
is /home/username/webaddress.com Under that resides the app/, public/
and so on. Like I said I can see my static pages that I have under
public since I have in the Managed host panel the following:
Web Directory: /home/username/[ webaddress.com/public
2008 Sep 07
0
iphone connection problem]
Sorry, bounced this the first time ;( Darren
I'd happily switched to a real cert if I knew that this was the
problem. Are you using the cert actually on the phone to validate its
identity? I have the org unit set slightly differently on my fake CA
and the phone to make netscape derived browsers happy. The trouble is
that I'm not getting a useful enough error message from anyone
2005 May 16
1
htaccess authentication asks for MySQL table test.user_info
Hello.
I tried to create an access file with 'htpasswd -c
/etc/httpd/conf/myfile.htaccess testuser'.
In the SSL directory I have put a .htaccess file containing the followings:
AuthUserFile /etc/httpd/conf/myfile.htaccess
AuthName "Mydomain"
AuthType Basic
require valid-user
This worked with CentOS 3.
Now with CentOS 4, apache version 2.0.52, the access to the page is
2011 Sep 30
1
Apache security , Was: Running Apache sites as separate users
On Thu, Sep 29, 2011 at 9:35 PM, Lucian <lucian at lastdot.org> wrote:
> On Fri, Sep 30, 2011 at 2:22 AM, Trey Dockendorf <treydock at gmail.com>
> wrote:
> > I had a recent request to improve security on my web servers by having
> each
> > website use a different user to run the hosting service. So
> > example1.comhas it's own Apache instance running