Personal tools
You are here: Home Lists ZPUG DC List Archives 2005 2005-08 Re: [ZPUGDC] Redirects / Matthew T.Kromer <MATTHEW.T.KROMER@saic.com>
Navigation
Log in


Forgot your password?
New user?
Mailing Lists
You can read our ZPUGDC mailing list archives online.
You can subscribe to our mailing list:
Book Review

The Definitive Guide to Plone

Reviewer: joel
 

Re: [ZPUGDC] Redirects / Matthew T.Kromer <MATTHEW.T.KROMER@saic.com>

Re: [ZPUGDC] Redirects
Matthew T.Kromer <MATTHEW.T.KROMER(at)saic.com>
2005-08-03 10:12:24 [ FULL ]
It occurs to me that I'd try setting up rewrite rules to catch the PHP  
urls which prevent subsequent rules from triggering, ie.

RewriteRule ^/usrs(.*) /usrs$1 [L]

before the other rule.  The caveat is that I'd have to play with it a  
bit to make sure it didn't cause a redirect cycle (it shouldn't) or an  
access control problem (it might).


On Aug 3, 2005, at 11:07 AM, Lisa Jeter wrote:
[...]

Re: [ZPUGDC] Redirects / Michael Johnson <michael_joshua_johnson@yahoo.com>

Re: [ZPUGDC] Redirects
Michael Johnson <michael_joshua_johnson(at)yahoo.com>
2005-08-03 10:24:29 [ FULL ]
You need to setup other rewrite rules for your php pages. match the extension
and put the location.  Another way to do this would be to put all php files in
another directory and put a rewrite rule like
 
RewriteRule ^/php - [L]
 
Make sure this rule or the match for extension is first, as Apache processes
rules in order.  Google for examples of how to match by extension using rewrite
rules if you choose the former.
 
 
  

Lisa Jeter <lisa.jeter(at)gmail.com> wrote:
I have a site, http://www.domain.org/.

This is the rewrite rule for it:

RewriteRule ^/(.*)
http://localhost:8080/VirtualHostBase/http/www.domain.org:80/nasconet/VirtualHostRoot/$1
[L,P]

The way it's currently set up, I can't access any non-plone pages. I
need to access some PHP pages at http://www.domain.org/usrs/.

The client isn't going to want their main URL to be
http://www.domain.org/some_dir/,
they want, naturally,
http://www.domain.org/.

How do I get my cake and eat it too?

Thanks.

Lisa

--
To unsubscribe send an email with subject 'unsubscribe' to
zpugdc(at)lists.zpugdc.org.
Please contact zpugdc-owner(at)lists.zpugdc.org for questions.
http://zpugdc.org/lists/zpugdc/archive/2005/2005-08/1123081539079

		
---------------------------------
Do you Yahoo!?
 Yahoo! Mail - Find what you need with new enhanced search. Learn more.
Attachments: 
text.html text/html - 1723 Bytes

Re: [ZPUGDC] Redirects / Alex Clark <aclark@aclark.net>

Re: [ZPUGDC] Redirects
Alex Clark <aclark(at)aclark.net>
2005-08-03 10:27:50 [ FULL ]
RewriteRule ^/usrs(.*) /usrs/$1 [L]
RewriteRule ^(.*) http://localhost:8080/VirtualHostBase/http/www.domain.org:80/nasconet/VirtualHostRoot/$1
[L,P]

On Wed, Aug 03, 2005 at 11:07:59AM -0400, Lisa Jeter wrote:[...]
[...]

Re: [ZPUGDC] Redirects / Lisa Jeter <lisa.jeter@gmail.com>

Re: [ZPUGDC] Redirects
Lisa Jeter <lisa.jeter(at)gmail.com>
2005-08-03 11:57:42 [ FULL ]
Thanks, everyone! I'll get on this. 

Lisa

Re: [ZPUGDC] Plone 2.1? / merrillr@mac.com

Re: [ZPUGDC] Plone 2.1?
merrillr(at)mac.com
2005-08-24 05:51:55 [ FULL ]
Hey all,

I am trying to get a sense for the new ETA for 2.1, as it appears that it will
not be released according to the published schedule.  :)

  I have couple of projects that I am delaying pending the 2.1 release and need
to set some expectations - do you think we are looking at days, weeks or
months?

Thanks for any insights!

Robert Merrill
merrillr(at)mac.com

Powered by Plone, the Open Source Content Management System

This site conforms to the following standards: