Welcome to WebmasterWorld Guest from 184.108.40.206 , register , free tools , login , search , subscribe , help , library , announcements , recent posts , open posts Pubcon Website
Tricky proxy redirect to localhost webserver It appears it's trying to load two URLs moheybee msg:4259265 2:38 am on Jan 28, 2011 (gmt 0) I'm trying to redirect requests for dev.[domain].com to a localhost Django development web server that's not accessible directly on the internet. It's a long story. It's loading the page and I can see the request coming into the Django development web server, but runs into problems beyond just the root directory. The rewrite rule is: RewriteRule (.*) http://localhost:29766/$1 [P] It seemed to work fine for a request to because it would load the page: http://dev.[domain].com/ But when I tried to load the /admin/ directory I realized there was a problem: http://dev.[domain].com/admin/ The request is: dev.[domain].com%2C%20dev.[domain].com/admin/ Yes, that's a comma and a space. So it's requesting two URLs? Anyone have any ideas?
jdMorgan msg:4260823 9:57 pm on Jan 31, 2011 (gmt 0)
You have some other Alias, Redirect, RedirectMatch, or RewriteRule somewhere that is also rewriting this requested URL -- commas and spaces don't appear by magic, so this should be a good clue as to where to look. Jim