On Thu, Mar 19, 2009 at 6:15 AM, Rex C. Eastbourne
wrote:
>
> Thanks for the replies. I am working on a Slicehost server with a static IP
> address; it looks something like 173.23.45.67. I'm able to navigate to this
> IP address from any computer as if it were any other domain name. What I was
> w
On Thu, Mar 19, 2009 at 6:52 AM, Jeff Sadowski wrote:
> On Wed, Mar 18, 2009 at 11:15 PM, Rex C. Eastbourne
>> Thanks for the replies. I am working on a Slicehost server with a static IP
>> address; it looks something like 173.23.45.67. I'm able to navigate to this
>> IP address from any compute
On Wed, Mar 18, 2009 at 11:15 PM, Rex C. Eastbourne
wrote:
> On Wed, Mar 18, 2009 at 8:31 AM, André Warnier wrote:
>>
>> Rex C. Eastbourne wrote:
>> [...]
>>
>> A short primer :
>>
>> The Internet in general works with IP addresses, not host names.
>> Host names are for humans.
>>
>> When in the
On Wed, Mar 18, 2009 at 8:31 AM, André Warnier wrote:
> Rex C. Eastbourne wrote:
> [...]
>
> A short primer :
>
> The Internet in general works with IP addresses, not host names.
> Host names are for humans.
>
> When in the browser of your workstation, you enter a URL like
> http://hostname.x.y.z
Hey all,
I'm searching for a way to do the following (build a proxy of sorts) and
wondering if apache or any of it's pieces would allow me to ...
- receives a request from a web-browser.
- allows me to grab the URL and build a web page.
- then forwards the request to the destination.
Thanks Tony,
will work on the suggestion and will let you know..
Kulbir
On Mon, Mar 16, 2009 at 5:58 PM, Anthony J. Biacco <
abia...@formatdynamics.com> wrote:
> Your math is still off. ServerLimit x ThreadsPerChild = 200 x 25 = 5000.
> This does not equal your MaxClients of 1000. Try a Serve
Campbell, Lance wrote:
RewriteCond %{QUERY_STRING} ^id=(.*) [NC]
RewriteRule ^/abc$ /efg/%1 [L]
I have tried the above but it still gives me a file not found for abc.
RewriteCond %{QUERY_STRING} ^id=(.*) [NC]
RewriteRule ^/abc /efg/%1 [L]
This also did not work.
R
Campbell, Lance wrote:
So now I have the following:
RewriteCond %{QUERY_STRING} ^abc?id=(.*) [NC]
RewriteRule ^abc /efg/%1 [L]
This is irrelevant for the second time, because the others gave you the
correct solution, but you are still making an error in your regexp :
^abc?id=
does not match
RewriteCond %{QUERY_STRING} ^id=(.*) [NC]
RewriteRule ^/abc$ /efg/%1 [L]
I have tried the above but it still gives me a file not found for abc.
RewriteCond %{QUERY_STRING} ^id=(.*) [NC]
RewriteRule ^/abc /efg/%1 [L]
This also did not work.
RewriteCond %{QUERY_STRING
> Also at a higher level, if your users type in /abc/def then you want
> to internally redirect to /abc?id=def, then you don't even want to
> match against a query string. You're implementing the opposite, where
> you identify /abc?id=def and react to it.
Reconsidering -- OP is a little ambiguous
On Wed, Mar 18, 2009 at 5:02 PM, Campbell, Lance wrote:
> So now I have the following:
>
> RewriteCond %{QUERY_STRING} ^abc?id=(.*) [NC]
"abc" isn't part of the query string in your example
> RewriteRule ^abc /efg/%1 [L]
This depends on http://wiki.apache.org/httpd/RewriteContext
Also at a h
abc isn't part of your query
Make it:
RewriteCond %{QUERY_STRING} ^id=(.*) [NC]
RewriteRule ^/abc$ /efg/%1 [L]
-Tony
---
Manager, IT Operations
Format Dynamics, Inc.
303-573-1800x27
abia...@formatdynamics.com
http://www.formatdynamics.com
-Original Message-
Fr
So now I have the following:
RewriteCond %{QUERY_STRING} ^abc?id=(.*) [NC]
RewriteRule ^abc /efg/%1 [L]
It still does not work.
I am still getting the file not found. I feel like I am closer.
Thanks,
Lance
-Original Message-
From: Eric Covener [mailto:cove...@gmail.com]
Sent:
Eric Covener wrote:
On Wed, Mar 18, 2009 at 4:38 PM, Campbell, Lance wrote:
RewriteRule ^/abc?id=(.*) /efg/$1
You need to deal with the query string in a RewriteCond.
http://wiki.apache.org/httpd/RewriteQueryString
Eric is of course right, above here.
But even if .. I wanted to point out
Rewriterule doesn't process query strings. He needs a "RewriteCond
%{QUERY_STRING}"-type directive.
-Tony
---
Manager, IT Operations
Format Dynamics, Inc.
303-573-1800x27
abia...@formatdynamics.com
http://www.formatdynamics.com
-Original Message-
From: André Warn
Campbell, Lance wrote:
I want to do convert the below dynamic url to a static url:
http://acme.com/abc?id=123
To:
http://acme.com/efg/123
I have tried the following:
RewriteRule ^/abc?id=(.*) /efg/$1
Try:
RewriteRule ^/abc\?id=(.*) /efg/$1
Well, actually maybe not
On Wed, Mar 18, 2009 at 4:38 PM, Campbell, Lance wrote:
> RewriteRule ^/abc?id=(.*) /efg/$1
You need to deal with the query string in a RewriteCond.
http://wiki.apache.org/httpd/RewriteQueryString
--
Eric Covener
cove...@gmail.com
--
I want to do convert the below dynamic url to a static url:
http://acme.com/abc?id=123
To:
http://acme.com/efg/123
I have tried the following:
RewriteRule ^/abc?id=(.*) /efg/$1
I get an error in my apache log:
File does not exist: /apacheDocs/http/acme.com/abc
I ha
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
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
I have a uri with cachebusting in it that looks like this:
/path?killCache=x¶meter1=y%parameter2=z
where x is a unix timestamp used to make sure the url isn't cached by
the browser.
Now though I want to use apache disk caching on this url. Obviously with
the killCache parameters always changing th
That seems to me like a question to ask the Weblogic people, no ?
Andreas Dahlén wrote:
Hi!
I've got a problem where I've got a Apache 2.2.9 acting as a proxy for a
application running on BEA Weblogic.
I'm using the plugin from BEA Weblogic as the proxy.
Everything works fine except when th
Rex C. Eastbourne wrote:
[...]
A short primer :
The Internet in general works with IP addresses, not host names.
Host names are for humans.
When in the browser of your workstation, you enter a URL like
http://hostname.x.y.z/something/something-else.html
the first thing the browser does is try t
Eric Covener wrote:
> If this is in .htaccess or , the RewriteBase is stripped
> from the URL before your rule compares to it -- it cannot start with
> a slash.
Oops, I didn't mention that the rule was in an .htaccess, sorry. Good guess!
Stripping the leading slash resolved the problem. Th
On Wed, Mar 18, 2009 at 8:04 AM, Florent Georges wrote:
>
> Hi,
>
> I moved one directory one level up in the hierarchy of web pages,
> let's say:
>
> from: http://www.example.com/parent/child/
> to: http://www.example.com/child/
>
> I try to use mod_rewrite to handle this move, and red
On Wed, Mar 18, 2009 at 8:04 AM, Florent Georges wrote:
>
> Hi,
>
> I moved one directory one level up in the hierarchy of web pages,
> let's say:
>
> from: http://www.example.com/parent/child/
> to: http://www.example.com/child/
>
> I try to use mod_rewrite to handle this move, and red
Hi!
I've got a problem where I've got a Apache 2.2.9 acting as a proxy for
a application running on BEA Weblogic.
I'm using the plugin from BEA Weblogic as the proxy.
Everything works fine except when the weblogicserver makes a redirect,
i.e. sends a Location-header. The Location header lo
Hi all
We use apache as a reverse proxy for managing our backend servers, and
serving static content, and we also use it for providing a more local
server in remote locations.
(excuse the made up domain names)
Eg, site www.foo.com is handled by reverse proxy proxy01.local, in which
we have foo-ba
Hi,
I moved one directory one level up in the hierarchy of web pages,
let's say:
from: http://www.example.com/parent/child/
to: http://www.example.com/child/
I try to use mod_rewrite to handle this move, and redirect users
for a while to the new location. I've read the URL Rewr
On Wed, Mar 18, 2009 at 3:56 AM, Anders Norrbring wrote:
> Wonderful!
> It works just as I wanted to. Thank you very much Brian.
>
> Anders.
Glad to hear.
-Brian
--
Feel free to contact me using PGP Encryption:
Key Id: 0x3AA70848
Available from: http://pgp.mit.edu/
---
On Wed, Mar 18, 2009 at 7:30 AM, Rex C. Eastbourne
wrote:
> Thanks again for the helpful replies. I followed those instructions. Now the
> error message is gone, and I can go to X.X.X.X (my IP address) and see
> what's sitting in /var/www/testing. However, going to either of the
> subdomains of m
> On Tue, Mar 17, 2009 at 12:44 PM, Anders Norrbring
> wrote:
> >> On Mon, Mar 16, 2009 at 2:15 PM, Anders Norrbring
>
> >> wrote:
> >> > Hi all.
> >> > I'm not really familiar with the redirects and regex's needed to
> use
> >> it, so I'd like to get some hints..
> >> >
> >> > I have a web serve
32 matches
Mail list logo