inas inassen wrote:
Hi all,
I have a web application running on tomcat with a context myapp
I access this webapp via apache using a proxypass and proxy balancer ==>
http://myserver.com/myapp
Now, I want to use the url http://myserver.com and apache will forward my
request to tomcat b
On Thu, Apr 16, 2009 at 12:30 AM, Aaron Turner wrote:
> Looks like I figured it out.
>
> OSX's internal name resolution API calls (gethostbyname?) apparently
> doesn't honor /etc/resolv.conf, but the 'host' command does.
This is also why "getent hosts" is a better tool to debug DNS issues
than th
Hi all,
I have a web application running on tomcat with a context myapp
I access this webapp via apache using a proxypass and proxy balancer ==>
http://myserver.com/myapp
Now, I want to use the url http://myserver.com and apache will forward my
request to tomcat by adding the URI /myapp
On Wed, Apr 15, 2009 at 9:24 PM, ravi kumar wrote:
> Hi Brian,
>
> Thanks for your help.
> I tried to resolve this issue on my own, but it didn't worked.
>
> For redirecting i used the below rule
> "RewriteRule ^/(.*) http://mywebsite.com/spaces/ [R]"
>
> After executing the site i.e "http://myweb
It doesn't work because is incorrect. It should be:
RewriteRule ^/(.*) http://mywebsite.com/spaces/$1 [R,L]
Notice the $1 expretion that's the key for the redirection
Igor
On Thu, Apr 16, 2009 at 11:24 AM, ravi kumar wrote:
> Hi Brian,
>
> Thanks for your help.
> I tried to resolve this issue
Hi Brian,
Thanks for your help.
I tried to resolve this issue on my own, but it didn't worked.
For redirecting i used the below rule
"RewriteRule ^/(.*) http://mywebsite.com/spaces/ [R]"
After executing the site i.e "http://mywebsite.com/";
it throws an exception like "The requested URL /xxx
On Wed, Apr 15, 2009 at 7:51 PM, Brian Mearns wrote:
> On Wed, Apr 15, 2009 at 7:41 PM, Igor Cicimov wrote:
>> RewriteEngine On
>> RewriteRule ^/(.*) /spaces/$1
>>
>> Igor
>
> Actually, since it was specified as needing to redirect, you need the
> [R] flag at the end, but that will end up redirec
On Wed, Apr 15, 2009 at 7:41 PM, Igor Cicimov wrote:
> RewriteEngine On
> RewriteRule ^/(.*) /spaces/$1
>
> Igor
Actually, since it was specified as needing to redirect, you need the
[R] flag at the end, but that will end up redirecting forever. You
need to either set up the rewrite to not match
RewriteEngine On
RewriteRule ^/(.*) /spaces/$1
Igor
On Thu, Apr 16, 2009 at 7:13 AM, ravi kuamar wrote:
> Hello friends,
>
> I have to write a rewrite rule, the condition is like..
>
> We have a website in windows i.e http://mywebsite.com
> now if somebody comes and type http://mywebsite.com/xx
I managed to get rid of the .htacces error. I had to add a
RedirectBase /cgi-bin directive to the .htacces and now it's working.
But another problem occured.
Now because mod_rewrite is rewriting my url, the nph prefix for my
script is ignored, so apache add his own header like this:
HTTP/1.1 200
Looks like I figured it out.
OSX's internal name resolution API calls (gethostbyname?) apparently
doesn't honor /etc/resolv.conf, but the 'host' command does.
Also, OSX doesn't like it if you've only configured 127.0.0.1 as your
only nameserver, even if you have a perfectly good local named runni
Hello friends,
I have to write a rewrite rule, the condition is like..
We have a website in windows i.e http://mywebsite.com
now if somebody comes and type http://mywebsite.com/x this should be
redirected to the http://mywebsite.com/spaces/x where x can be any
string.
can somebo
Thank you for the neat reply, Doug.
On Thu, Apr 16, 2009 at 2:17 AM, Doug Bell wrote:
> On Apr 15, 2009, at 3:13 PM, Jimmyboy wrote:
>
>
> Hi,
>
> I am following the Quickstart Guide for installing NAGIOS using
> http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html.
>
> One of the p
On Apr 15, 2009, at 3:13 PM, Jimmyboy wrote:
Hi,
I am following the Quickstart Guide for installing NAGIOS using http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html
.
One of the prerequisites is Apache2, which I installed, and was
successful in getting "It Works!!" for http://12
Okay, so ..
I made a little test. In the same directory with my cgi script I write
a .htaccess file containig this:
Allow from all
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^([^/\.]+)/?$ nph-main.cgi?lid=$1&header=%{HTTP:Range}
The problem now is that when I call the script like this:
On Wed, Apr 15, 2009 at 11:30 AM, Paul Puschmann
wrote:
> Do you have more than one ethernet-interface?
> Perhaps your Apache is bound to an interface that has no connections
> to the outside?
Excellent idea, but I have only one interface and apache is bound to
that. Apache is accessible via the
Hi,
I am following the Quickstart Guide for installing NAGIOS using
http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html.
One of the prerequisites is Apache2, which I installed, and was successful
in getting "*It Works!!*" for http://127.0.0.1.
However, I am unable to understand which o
On Wed, Apr 15, 2009 at 10:31:52AM -0700, Aaron Turner wrote:
> On Tue, Apr 14, 2009 at 11:34 PM, Krist van Besien
> wrote:
> > On Tue, Apr 14, 2009 at 5:32 PM, Aaron Turner wrote:
> >> Nobody has any ideas???
> >>
> >> On Sat, Apr 11, 2009 at 3:31 PM, Aaron Turner wrote:
> >>> At first I though
Eric Covener wrote:
On Wed, Apr 15, 2009 at 2:37 PM, André Warnier wrote:
If I need to be more clear : URL-to-URL is what mod_rewrite *does*, all the
time, in every single example shown in the pages on the Apache website. So
what else do you want ?
This is a bit of an over-simplification. O
Brian Mearns wrote:
[...]
Come on now, let's not completely rule out the possibility of there
being a woman on this mailing list. =J
Alright, I was being sexist there. Let's restate this in a more
politically correct way :
One thing most of these sapient beings have in common however, is th
On Wed, Apr 15, 2009 at 2:37 PM, André Warnier wrote:
> If I need to be more clear : URL-to-URL is what mod_rewrite *does*, all the
> time, in every single example shown in the pages on the Apache website. So
> what else do you want ?
This is a bit of an over-simplification. Outside of per-dir
On Wed, Apr 15, 2009 at 2:37 PM, André Warnier wrote:
[clip]
> One thing most of these people have in common however, is that there is some
> limit to the time they are prepared to spend answering questions, because
> they also have a life, a job, a girlfriend and/or a wife, a family, another
> ho
Thank you !!!
I'm reading Apache documentation and find what I want.
Ricardo
Brian Mearns-2 wrote:
>
> On Wed, Apr 15, 2009 at 1:21 PM, ricardo13
> wrote:
>>
>> Hi,
>>
>> Thank you
>>
>> I was reading this link. I will read again.
>>
>> But, where can I find an example URL-to-URL?
>>
>> Ple
ricardo13 wrote:
Hi,
Thank you
I was reading this link. I will read again.
But, where can I find an example URL-to-URL?
Ricardo,
A very general statement, as very general information :
the people who watch this list and try to help other people in using
Apache, have different motivations to
On Wed, Apr 15, 2009 at 1:21 PM, ricardo13 wrote:
>
> Hi,
>
> Thank you
>
> I was reading this link. I will read again.
>
> But, where can I find an example URL-to-URL?
>
> Please
>
> Ricardo
>
>
> awarnier wrote:
>>
>> ricardo13 wrote:
>>> hi all,
>>>
>>> Somebody has a example about "How rewrite
On Tue, Apr 14, 2009 at 11:34 PM, Krist van Besien
wrote:
> On Tue, Apr 14, 2009 at 5:32 PM, Aaron Turner wrote:
>> Nobody has any ideas???
>>
>> On Sat, Apr 11, 2009 at 3:31 PM, Aaron Turner wrote:
>>> At first I thought this was a problem with my python/fastcgi config,
>>> but now I've noticed
Greetings all.
I'm trying to enable suexec with a new apache2 installation. When I
compile and install, I don't get an enabled message with httpd -l:
Output of httpd -l
--
Compiled in modules:
core.c
mod_authn_file.c
mod_authn_default.c
mod_authz_host.c
mod_authz_gr
Hi,
Thank you
I was reading this link. I will read again.
But, where can I find an example URL-to-URL?
Please
Ricardo
awarnier wrote:
>
> ricardo13 wrote:
>> hi all,
>>
>> Somebody has a example about "How rewrite URL to URL ???" Or tutorial
>> about.
>> I achieved to run some example ab
great, thanks, than I'll stick to mod_rewrite and do some digging in the docs!
2009/4/15 André Warnier :
> Ruben Lihet wrote:
>>
>> OK, but can mod_rewrite read the http-header ?
>
> That's exactly what Eric suggested.
>
> mod_rewrite reads the http header, and copies its content to an environment
ricardo13 wrote:
hi all,
Somebody has a example about "How rewrite URL to URL ???" Or tutorial about.
I achieved to run some example about URL-to-filename
How about starting here ?
http://httpd.apache.org/docs/2.2/rewrite/
-
hi all,
Somebody has a example about "How rewrite URL to URL ???" Or tutorial about.
I achieved to run some example about URL-to-filename
Thank you
Ricardo
--
View this message in context:
http://www.nabble.com/Example-of-URL-to-URL-in-mod_rewrite-tp23061118p23061118.html
Sent from the Apache
On Wed, 2009-04-15 at 17:40 +0300, Ruben Lihet wrote:
> OK, but can mod_rewrite read the http-header ? I know mod_rewrite can
> read get parameters, but I don't know if it's capable of reading the
> http header.
>
http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritecond
Other th
Ruben Lihet wrote:
OK, but can mod_rewrite read the http-header ?
That's exactly what Eric suggested.
mod_rewrite reads the http header, and copies its content to an
environment value, which your cgi program can just obtain from its
running environment.
OK, but can mod_rewrite read the http-header ? I know mod_rewrite can
read get parameters, but I don't know if it's capable of reading the
http header.
2009/4/15 Eric Covener :
> On Wed, Apr 15, 2009 at 4:36 AM, Ruben Lihet wrote:
>> Hello,
>>
>> I am writing a nph cgi script in c++ and I'm runni
On Wed, Apr 15, 2009 at 4:36 AM, Ruben Lihet wrote:
> Hello,
>
> I am writing a nph cgi script in c++ and I'm running it through apache
> 2.2 on linux. I want to read a certain part of the request-header that
> is not available as an environment variable. That would be the Range:
> ... request. H
hi,
Is it a bug ?
This is scenarion for CentOS 5.3 (apache 2.2.3 + openssl-0.9.8e)
1. Simple httpd.conf (nothing special) + ssl part, selfsigned certs + CA:
SSLRandomSeed startup file:/dev/urandom 512
SSLRandomSeed connect file:/dev/urandom 512
SSLSessionCache shmcb:/var/cache/mod_ssl/ssl_scache
Hello,
I am writing a nph cgi script in c++ and I'm running it through apache
2.2 on linux. I want to read a certain part of the request-header that
is not available as an environment variable. That would be the Range:
... request. How can I read that ? To be clear: I'm sending the client
that I
37 matches
Mail list logo