similar to: public/.htaccess missing from Rails 2.1?

Displaying 20 results from an estimated 20000 matches similar to: "public/.htaccess missing from Rails 2.1?"

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
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
2006 Sep 06
2
.htaccess in public and adding password protection
While my site is in development I wish to add basic password protection. At the moment my .htaccess looks like this: AuthName "Restricted Area" AuthType Basic AuthUserFile /home/httpd/mydomain.co.uk/.htpasswd AuthGroupFile /dev/null require valid-user .htpasswd exists and has an entry, yet I do not get a password prompt? Does Apache Auth work for dynamic resources or only static
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
2006 Feb 01
3
Configure Apache 2.0.55 and FastCGI
I''m installing a Rails App under Apache 2.0.55 with FastCGI. I have this config under httpd.conf ------------------------ LoadModule fastcgi_module modules/mod_fastcgi.dll ... Alias /fatturails/ "C:/Programmi/Apache Group/Apache2/htdocs/fatturails/public/" <Directory "C:/Programmi/Apache Group/Apache2/htdocs/fatturails/public"> AddHandler fastcgi-script .fcgi
2007 Feb 18
1
FastCGI without ScriptAlias
Hi, I made some experiments with the sample blog application, my index.fcgi file contains the following: require ''camping/fastcgi'' Camping::Models::Base.establish_connection( :adapter => ''sqlite3'', :database => ''database/camping.db'' ) Camping::FastCGI.serve(''blog.rb'') Without ScriptAlias the application works fine,
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
2007 Sep 27
3
FastCGI in Shared Hosting - What To Do?
Hello Campers! I am working on Site5, trying to get a working Camping application running. Unfortunately, my sole option in terms of deployment is FastCGI. I have no access to sudo so I cannot create ScriptAliases. I''ve taken the Camping Short Short Example and uploaded it, along with a dispatch.fcgi and an .htaccess file. My question is - given the state of Camping development right
2006 Feb 14
5
problem with apache
Hi! I don''t know much about linux and apache configuration, so we''re using cpanel on our server to manage accounts etc. I was trying to install ror (according to this page: http://wiki.rubyonrails.org/rails/pages/HowtoInstallAndRunRubyOnRailsOnCpanel) on our server, but it didn''t worked. If i enter "server.com/rails" i get "/testapp/index.html was not
2006 Mar 04
6
Can''t get Fast CGI working.
Well, after many hours of tinkering and internet browsing I just can''t get Fast CGI to work with Rails and Apache 1.3 on FreeBSD 5.4 Normal CGI works fine, but as soon as I enable FastCGI in .htaccess I get the message: Application error Rails application failed to start properly Here''s what I''ve done so far: - I''ve installed all the necessary software for
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
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
2006 May 13
7
Recognition Failure
I keep getting a Recognition failed for "/dispatch.fcgi" error. I search for a solution and the closest I came to finding one was someone saying "look at the Rewrite in .htaccess and you''ll be able to figure it out." Well, I can''t! If anyone could help, I would appreciate it. Thanks! Floyd -------------- next part -------------- An HTML attachment
2007 Jul 17
3
.htaccess problems..... Using Drupal
Hi All; I am trying out the web software from www.drupal.org and I have it Installed to a point ok in my www.werren.net domains. Every time I try to use the .htaccess file in the root directory With even one command showing I get a server mis-config error on the site. The default .htaccess is shown below I use Cent OS 4.7 using the Blue Quartz installer from Nuonce Networks
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
2005 Jul 23
2
CentOS 4 snag with htaccess
I'm hitting a snag with htaccess. Have created .htaccess and .htpasswd files, set up apache directory options just like always... the exact same setup works fine on CentOS 3, but I can't seem to get it to authenticate on CentOS 4? Am I just being blind stupid (as in not seeing something 'exactly the same') or is there something different I'm missing? I have selinux running
2007 Mar 28
3
Camping on Dreamhost - Please Help!
Dan did you get camping running on dreamhost already?? i?m trying to run it also but i haven''t succeed yet. it runs on command line but when i add the rewrite rules on .htaccess i get a internal server error. I emailed support to ask about ScriptAlias and they say they cannot change or add that to apache conf. -- Andr? G. Cardozo
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
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*
2010 Sep 03
1
Getting the 'hidden' .htaccess file.
I am trying to use rsync to synchronize our pre-release staging site to our production site. When I run the following command, it will get the other 19258 files, but it will ignore the three .htaccess files in our site. I have searched the internet and can see that it is apparently somewhat tricky to get rsync to capture dot hidden files. I have tried every solution I have found that I