Comments (12)
From honglilai on May 01, 2008 09:52:48
There's not much we can do about that. You should disable mod_rewrite for Passenger
virtual hosts.
from passenger.
From fannar on May 01, 2008 11:48:02
How do you then suggest rewriting www.domain.com to domain.com ? Won't that be possible using mod_rails ?
from passenger.
From honglilai on May 01, 2008 12:00:32
You could setup www.domain.com as a separate virtual host. www.domain.com would send
a HTTP redirect to the same URI under domain.com. This also happens to be better for
your visitors and for Google, because now everybody will be forced to visit
domain.com, i.e. you don't have to worry about some sites linking to domain.com and
others to www.domain.com.
from passenger.
From fannar on May 01, 2008 12:16:45
Well. Doesn't seem to be the perfect solution. Should work. More lines of code.
I have been using mod_rewrite to do the 301 redirect.
What is strange about my problem is that the first time I installed Passenger with mod_rewrite enabled,
everything worked fined. But then I restarted the computer and the rails app didn't start. So I had to disable the
mod_rewrite module. Disabled Mod_rewrite for the virtual host wasn't enough. So I can't use mod_rewrite for
other virtual hosts.
from passenger.
From honglilai on May 01, 2008 12:21:48
Strange, what version of Passenger are you using?
from passenger.
From fannar on May 01, 2008 12:23:43
I'm using version 1.0.3
from passenger.
From honglilai on May 01, 2008 12:27:46
Did 1.0.1 work for you?
from passenger.
From fannar on May 01, 2008 13:27:40
Well this is my first install. Didn't try out the other versions. Maybe I will try that out if I give me some time soon.
from passenger.
From honglilai on May 08, 2008 01:23:03
Is anyone else experiencing this problem?
Labels: NeedsConfirmation
from passenger.
From fannar on May 08, 2008 03:06:54
Great am I the only one ? :D
from passenger.
From nateklaiber on December 04, 2008 13:16:46
I have the same issues. While I could redirect within the rails app, I will have caching enabled so I don't want to
rely on the app - I want this done at the server level.
from passenger.
From honglilai on February 21, 2009 05:44:11
2.1.0 should fix all mod_rewrite issues.
Status: Fixed
Labels: -NeedsConfirmation Milestone-2.1.0
from passenger.
Related Issues (20)
- Bitnami Discourse AWS, After trying to install plugin - passenger phusion fails. HOT 1
- b
- Integrated with gitlab, passenger reported can not find gems which were need by deveopment and test environment
- Issue running passenger on Ruby & Nginx HOT 9
- Web application could not be started by the Phusion Passenger(R) application server. HOT 1
- Install Passenger on Ubuntu 22.04
- How to remove multiple Passenger installs HOT 5
- I removed the gem file and kept the apt install, but then I get the following error: HOT 2
- Found a possible security concern HOT 1
- Centos package for mod_passenger rpm rather OLD 6.0.14 - support for centos 8 stream / fedora? HOT 2
- Ubuntu 18.04.02 LTS (Bionic) packages not found HOT 4
- passenger incompatible with global uncaught exception handling via at_exit HOT 6
- passenger_temp mkdir failed on nginx Version Issue HOT 1
- Cannot run PassengerAgent core -l unix:/tmp/s
- EL 8 / 9 cannot update passenger nginx module due to version conflict HOT 6
- `fork_tracker` active support module does not play nice with `passenger` and `zk` gems
- Yet Another Path Issue Based On Version HOT 5
- Debian 12 "bookworm" support HOT 24
- Passenger resets SIGPROF signal handlers causing profilers to crash application HOT 2
- Rake not found while compiling nginx dynamic module HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from passenger.