Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
.htaccess, passenger, apache
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
OmenKing  
View profile  
 More options Feb 1 2009, 12:00 am
From: OmenKing <omen.k...@gmail.com>
Date: Sat, 31 Jan 2009 21:00:45 -0800 (PST)
Local: Sun, Feb 1 2009 12:00 am
Subject: [deploy:web:disable] .htaccess, passenger, apache
I get not errors when I run deploy:web:disable. It appears to be
creating the maintenance.html page.
I've placed this .htaccess in my current/public

RewriteEngine On

RewriteCond %{REQUEST_URI} !\.(css|jpg|png)$
RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f
RewriteCond %{SCRIPT_FILENAME} !maintenance.html
RewriteRule ^.*$ /system/maintenance.html [L]

I have this for my virtual host.

<VirtualHost *:80>

  ServerName  markadee.com
  ServerAlias www.markadee.com

  DocumentRoot /home/monsterman/public_html/markadee/current/public

  <Directory "home/monsterman/public_html/markadee/current/public">
    Options FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
  </Directory>

</VirtualHost>

I've enabled mod rewrite. Any ideas for debugging? I tried throwing
random text in my .htaccess file to see if would turn up an error but
it didn't


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
OmenKing  
View profile  
 More options Feb 1 2009, 12:15 am
From: OmenKing <omen.k...@gmail.com>
Date: Sat, 31 Jan 2009 21:15:25 -0800 (PST)
Local: Sun, Feb 1 2009 12:15 am
Subject: Re: .htaccess, passenger, apache
Also some interesting things to note.
If I remove all the routes, than it will pull up the 404 page as
expected.
If I add an index.html than it will show the maintence page (over the
index.html)
So is there something about routes and .htaccess files I should know
about?

On Feb 1, 12:00 am, OmenKing <omen.k...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
RogEr  
View profile  
 More options Feb 1 2009, 3:14 pm
From: RogEr <webfo...@webfokus.no>
Date: Sun, 1 Feb 2009 12:14:08 -0800 (PST)
Local: Sun, Feb 1 2009 3:14 pm
Subject: Re: .htaccess, passenger, apache
Not sure about the details but I think you have to do some
configuration for  the .htaccess file to be used in newer versions of
apache. If its not a requirement for you to use the .htaccess file you
can put the rewrite instructions in the vhost file instead.

Regards
Roger

On Feb 1, 6:15 am, OmenKing <omen.k...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
OmenKing  
View profile  
 More options Feb 1 2009, 3:38 pm
From: OmenKing <omen.k...@gmail.com>
Date: Sun, 1 Feb 2009 12:38:33 -0800 (PST)
Local: Sun, Feb 1 2009 3:38 pm
Subject: Re: .htaccess, passenger, apache
I solved the problem, and your exactly right RogEr, I ended up placing
it in my vhost and that fixed the problem.
There's more about it here:

http://code.google.com/p/phusion-passenger/issues/detail?id=113
http://groups.google.com/group/phusion-passenger/browse_thread/thread...

On Feb 1, 3:14 pm, RogEr <webfo...@webfokus.no> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »