RE: [us...@httpd] mod rewrite issue

2009-03-19 Thread Johnny Edge
Thanks Krist, moving out the rewrite statements from and before other rewrites solved the problem. J. -Original Message- From: Krist van Besien [mailto:krist.vanbes...@gmail.com] Sent: 19 March 2009 13:07 To: users@httpd.apache.org Subject: Re: [us...@httpd] mod rewrite issue On Wed

Re: [us...@httpd] mod rewrite issue

2009-03-19 Thread Brian Mearns
On Thu, Mar 19, 2009 at 9:51 AM, Johnny Edge wrote: > > Custom 404 page breaks php SESSION vars (only GET/POST/REQUEST are > available), or so the development department claims. Hmm, that doesn't seem write, but I can't say for sure. I don't see any reason cookies wouldn't be available...can onl

Re: [us...@httpd] mod rewrite issue

2009-03-19 Thread Brian Mearns
> On Wed, Mar 18, 2009 at 9:05 PM, Johnny Edge wrote: >> >> Hello, >> >> I have a Virtual host that utilizes mod rewrite in the following manner >> >> >> >> ... >> >> RewriteEngine On >> RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f >> RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d >>

Re: [us...@httpd] mod rewrite issue

2009-03-19 Thread Krist van Besien
On Wed, Mar 18, 2009 at 9:05 PM, Johnny Edge wrote: > > Hello, > > I have a Virtual host that utilizes mod rewrite in the following manner > > > > ... > > RewriteEngine On > RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f > RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d > RewriteRule ^(.

Re: [us...@httpd] mod rewrite issue

2009-03-18 Thread Eric Covener
On Wed, Mar 18, 2009 at 4:05 PM, Johnny Edge wrote: > > > RewriteRule ^admin/(.*) /admin/index.php?%{QUERY_STRING} [L] The "admin" part of the URL is already stripped away for you, including it in your pattern is making this fail to match. Assuming you don't have a .../admin/admin/. RewriteLo

[us...@httpd] mod rewrite issue

2009-03-18 Thread Johnny Edge
Hello, I have a Virtual host that utilizes mod rewrite in the following manner ... RewriteEngine On RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d RewriteRule ^(.*) /notfound.php?%{QUERY_STRING} i.e. missing documents are passe