Re: [EMAIL PROTECTED] Help with mod_rewrite ..

2007-04-25 Thread Joseph Silverman
I should tell everyone what it turned out to be, namely, the behind the scenes apache delivery of the uri /error/ HTTP_UNAUTHORIZED.html.var to handle the Auth access rules - which would be rewritten as /dir/, ad infinitum. Changing the RewriteRule to: RewriteRule !^(/dir|/error/HTTP_U

Re: [EMAIL PROTECTED] Help with mod_rewrite ..

2007-04-24 Thread Joshua Slive
On 4/24/07, Joseph Silverman <[EMAIL PROTECTED]> wrote: In order to make a virtual domain ONLY serve up a single webapp, I am trying to use mod_rewrite in it, thus (I replaced all sensitive information in the stanza below): ServerName dir.com JkMount /dirtomcat JkMount /d

Fwd: [EMAIL PROTECTED] Help with mod_rewrite ..

2007-04-24 Thread Joseph Silverman
In order to make a virtual domain ONLY serve up a single webapp, I am trying to use mod_rewrite in it, thus (I replaced all sensitive information in the stanza below): ServerName dir.com JkMount /dirtomcat JkMount /dir/* tomcat RewriteEngine ON RewriteRule !^

[EMAIL PROTECTED] Help with mod_rewrite ..

2007-04-22 Thread Joseph Silverman
In order to make a virtual domain ONLY serve up a single webapp, I am trying to use mod_rewrite in it, thus (I replaced all sensitive information in the stanza below): ServerName dir.com JkMount /dirtomcat JkMount /dir/* tomcat RewriteEngine ON RewriteRule !^

Re: [EMAIL PROTECTED] Help with mod_rewrite

2007-02-11 Thread Bob
Frank Arensmeier wrote: The problem is when a user requests a URL like: http://myserver.com/en/about Apparently, Apache does an internal redirect because it is looking for the index.php file (which exists) in the folder "about". The thing I do not understand is why the user is being redirecte

[EMAIL PROTECTED] Help with mod_rewrite

2007-02-09 Thread Frank Arensmeier
Hello. I apologize if this has been asked before. Based on the requested url, I am trying to map those urls to my file system. I have come up with the following Rewrite rule (in my htaccess file)so far: RewriteRule ^(se|en|us)/(.+) /$2 [E=LANG_CODE:$1] As you can see, my site is been transl

Re: [EMAIL PROTECTED] Help with mod_rewrite rules

2006-08-10 Thread Bill Moseley
On Thu, Aug 10, 2006 at 08:38:32PM -0400, Joshua Slive wrote: > On 8/10/06, Bill Moseley <[EMAIL PROTECTED]> wrote: > >I suppose the simple way is the following: > > > >RewriteCond %{REQUEST_URI} \.(jpe?g|gif|png|txt|doc|ppt|pdf)$ > >RewriteCond %{REQUEST_URI} !/css/ > >Rewr

Re: [EMAIL PROTECTED] Help with mod_rewrite rules

2006-08-10 Thread Joshua Slive
On 8/10/06, Joshua Slive <[EMAIL PROTECTED]> wrote: RewriteConds apply only to the RewriteRule immediately following them. There are various ways to avoid having to write the same conds multiple times, for example: RewriteCond %{REQUEST_URI} !\.(jpe?g|gif|png|txt|doc|ppt|pdf)$ Should obviousl

Re: [EMAIL PROTECTED] Help with mod_rewrite rules

2006-08-10 Thread Joshua Slive
On 8/10/06, Bill Moseley <[EMAIL PROTECTED]> wrote: I suppose the simple way is the following: RewriteCond %{REQUEST_URI} \.(jpe?g|gif|png|txt|doc|ppt|pdf)$ RewriteCond %{REQUEST_URI} !/css/ RewriteCond %{REQUEST_URI} ^/Rural [nocase] RewriteRule

[EMAIL PROTECTED] Help with mod_rewrite rules

2006-08-10 Thread Bill Moseley
I'm trying to use a skip rule after a RewriteCond, but then the conditions are not checked. I've got these rewrite rules: RewriteCond %{REQUEST_URI} \.(jpe?g|gif|png|txt|doc|ppt|pdf)$ RewriteCond %{REQUEST_URI} !/css/ RewriteRule ^/(.+)$ /domains/default/$1 [la

Re: [EMAIL PROTECTED] Help with mod_rewrite

2006-06-06 Thread Robert Ionescu
Eric Lemes wrote: The problem here is that after the myrepos path, there mustn't be any changes in the case. So you need to fine tune the RegEx, RewriteRule ^/svn/([^/]+)/(.*) /svn/${lower:$1}/$2 [PT] -- Robert - The offici

Re: [EMAIL PROTECTED] Help with mod_rewrite

2006-06-06 Thread Eric Lemes
Thanks Robert. The problem here is that after the myrepos path, there mustn't be any changes in the case. Thanks anyway. []'s Eric LemesOn 6/6/06, Robert Ionescu <[EMAIL PROTECTED]> wrote: Eric Lemes wrote:> I need to rewrite a url, translating to lowercase only the repository dir,> in the exa

Re: [EMAIL PROTECTED] Help with mod_rewrite

2006-06-06 Thread Robert Ionescu
Eric Lemes wrote: I need to rewrite a url, translating to lowercase only the repository dir, in the example: http://myserver/svn/MyRepos/AnyDirWithAnyCase This should be translated to http://myserver/svn/myrepos/AnyDirWithAnyCase. I tried RewriteRule (\/.*\/.*) ${lowercase:{$1}} [L], but it d

[EMAIL PROTECTED] Help with mod_rewrite

2006-06-06 Thread Eric Lemes
Hello there, I'm using apache 2.0.58 to setup a Subversion server. It's running in Windows 2003 server (against my will), and I having troubles with SVN + case insensitive file system in some issues that I think I can solve with mod_rewrite. I read the manual and tutorials with mod_rewrite and