On Mon, 3 Nov 2008 13:04:32 +1000
Stephen Brennan [EMAIL PROTECTED] wrote:
Hi all,
I am trying to figure out how to configure appache webserver to set
different UNIX environment variables depending on the url text
entered.
RewriteRule.
Capture the path component you want, and use it with
=Config:B
Cheers
Stephen
-Original Message-
From: Nick Kew [mailto:[EMAIL PROTECTED]
Sent: Monday, 3 November 2008 8:25 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Apache - URL based environment variables
On Mon, 3 Nov 2008 13:04:32 +1000
Stephen Brennan [EMAIL PROTECTED
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] Apache - URL based environment variables
Nick,
Thank you. Is this the best way to achieve this? Ie. I am sure that I
have managed to do this before with Location directives. Has this
changed?
Would this be the correct syntax for my example
On Fri, Sep 26, 2008 at 3:55 PM, Ryan Klein [EMAIL PROTECTED] wrote:
So we are running into a tricky URL rewriting situation and were not even
sure Apache can do it. We have jim.domain.com and we want it to pull from
www.otherdomain.com/users/jim without changing domain.com to
otherdomain.com,
Y wrote:
André,
thank you for pointing me in the right direction. The problem was that
my ip address is pointing to a different name on the local dns server of
my provider. The behaviour is correct when I use that name instead.
Would URL rewritting be the way to go to temporarly correct this
Luc Landreville wrote:
Greetings;
I host a website using apache on CentOS Linux. I am experiencing the fllowing
problem:
Any file name added after the domain name in the address field of a browser is
ignored and the site's home page is displayed:
If I type
André,
thank you for pointing me in the right direction. The problem was that my ip
address is pointing to a different name on the local dns server of my
provider. The behaviour is correct when I use that name instead. Would URL
rewritting be the way to go to temporarly correct this (before
I solved the problem.
I have in the .htaccess file in the root directory (../public_html/)
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domainA.comt$
RewriteRule ^(.*)$ /home/user/public_html/siteA/$1
but then in the /siteA subdirectory, I now have another .htaccess file with
only:
From: Hank [mailto:[EMAIL PROTECTED]
Sent: Monday, April 21, 2008 1:43 AM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] silent URL redirect/cloak with
mod_rewrite
Hello All,
I've
On Mon, Apr 21, 2008 at 1:42 AM, Hank [EMAIL PROTECTED] wrote:
I have found several ways to non-silently redirect http://domainA.com to
http://basedomain/siteA, but that's not good enough. It needs to be a
silent re-direct.
As someone else allready pointed out: There is no such thing as a
n Mon, Apr 21, 2008 at 3:04 AM, Boyle Owen [EMAIL PROTECTED] wrote:
--
understand you correctly, you have registered domainA and domainB and the
domain names point to your server's IP in DNS. You want to map domainA to
../siteA and domainB to ../siteB. You
On Mon, Apr 21, 2008 at 10:04 AM, Hank [EMAIL PROTECTED] wrote:
n Mon, Apr 21, 2008 at 3:04 AM, Boyle Owen [EMAIL PROTECTED] wrote:
understand you correctly, you have registered domainA and domainB and the
domain names point to your server's IP in DNS. You want to map domainA to
../siteA
If the content is living on the same server as domainA.com (which it
apparently is in this case), then you don't want to proxy. There is no
need to create an additional HTTP request. You just instruct apache to
grab the file directly. So you want something like
RewriteCond %{HTTP_HOST}
-Original Message-
From: Rocco Scappatura [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 01, 2007 10:38 PM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] Rewriting URL inside a 'proxyed' page
Hello,
I have a Tomcat webapp which is surfed from Internet using a
I have a Tomcat webapp which is surfed from Internet using
a reverse
proxy (or better, my idea is).
To be practical, say that:
http://www.exaple.com/site/ --
http://localhost:8081/webapp/app/site/
Unfortunately, when I get the home page
-Original Message-
From: Rocco Scappatura [mailto:[EMAIL PROTECTED]
Sent: Monday, December 03, 2007 12:38 PM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] Rewriting URL inside a 'proxyed'
page (SOLVED)
I have a Tomcat webapp which is surfed from Internet using
I have a Tomcat webapp which is surfed from Internet using
a reverse
proxy (or better, my idea is).
To be practical, say that:
http://www.exaple.com/site/ --
http://localhost:8081/webapp/app/site/
Unfortunately, when I get the home page
On Nov 7, 2007 6:49 AM, pinky goyal [EMAIL PROTECTED] wrote:
Hi All !
I have stuck up due my .htaccess file.
---here in my .htaccess file -
Options +FollowSymLinks
RewriteEngine On
# REDIRECTION FROM NONSECURE TO
You are right Krist;
our network administrator had made a mistake in configuring DNS settings
for our server.
Thanks.
Krist van Besien wrote:
On 5/6/07, akhayyami [EMAIL PROTECTED] wrote:
I have a problem with one of my servers; When I enter
http://www.myserver.com in address bar (IE
Thanks Scott,
That did the trick.
Best,
Harry
Harry Spier
371 Brickman Rd.
Hurleyville, New York
USA 12747
From: Scott Gifford [EMAIL PROTECTED]
Reply-To: users@httpd.apache.org
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Overriding url filename changing in Apache
Date
Harry Spier [EMAIL PROTECTED] writes:
I have a website on a shared hosting Apache Linux server.
[...]
I believe (but I'm not sure) that [...] mod-speling is enabled on
that Apache server. This is the default behaviior on the shared
hosting server and they wont change it.
I need to
On 5/6/07, akhayyami [EMAIL PROTECTED] wrote:
I have a problem with one of my servers; When I enter
http://www.myserver.com in address bar (IE Firefox), apache replaces the
server name (e.g. www.myserver.com) with an ip address. I tried with
without virtual hosts but no chance. I also tried
This may not help you, but NameVirtualHost 1.2.3.4 says that you want
to use that IP for name based virtual hosts. However, you've got a
Serveralias 1.2.3.4 which means that you want this IP also respond to
your VirtualHost (i.g. you are really trying to do a IP based
virtualhost). You don't
On 4/17/07, Joshua Slive [EMAIL PROTECTED] wrote:
On 4/17/07, detlev von davidson [EMAIL PROTECTED] wrote:
sharath reddy wrote:
Hi all,
How can i map URL to a file system on remote box?
.. if my apache is running as www.example.com
http://www.example.com/test , then if i want to
On 4/18/07, sharath reddy [EMAIL PROTECTED] wrote:
I went through reverse proxy documentation, can i use this reverse proxy
solution, if i want to map URLs to remote file system which is not a
webserver
No.
Obviously there is no way to access a remote file system unless it is
somehow shared
On 4/17/07, detlev von davidson [EMAIL PROTECTED] wrote:
sharath reddy wrote:
Hi all,
How can i map URL to a file system on remote box?
.. if my apache is running as www.example.com
http://www.example.com/test , then if i want to serve content for
www.example.com/test
On Mon, 27 Nov 2006 17:17:22 +0800
Jacky [EMAIL PROTECTED] wrote:
VirtualHost *:
ServerName testwww.hkdnr.hk
/VirtualHost
I'm wondering why it does not rewrite to http://testwww.hkdnr.hk when
i browse to http://xn--eqrt2guv0afw3b.hk:/
It's a virtual host for something else.
-Original Message-
From: Dougie [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 16, 2006 7:11 PM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] Redirecting URL
Hi all,
Fairly new to Apache. Trying to do something pretty simple, but
have no clue what to do.
Thanks Boyle!
A proxy is exactly what I want to do! I'll try it and see what I can
come up with (is there any good examples of doing this?).
Dougie
Boyle Owen wrote:
-Original Message-
From: Dougie [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 16, 2006 7:11 PM
To:
-Original Message-
From: Dougie [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 17, 2006 12:10 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Redirecting URL
Thanks Boyle!
A proxy is exactly what I want to do! I'll try it and
see what I can
come up
@httpd.apache.org
A
users@httpd.apache.org
cc
Objet
Re: [EMAIL PROTECTED] redirection url
On 7/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Hi,
i try to precise the descriptiopn
It's not for internet accessibility but only on the enterprise, so
:
i've a reporting intranet
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 24, 2006 9:05 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] redirection url
I test
ProxyPass / http://serveur1:8085/uri/
ProxyPassReverse / http://serveur1:8085/uri
cc
Objet
RE: [EMAIL PROTECTED] redirection url
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 24, 2006 9:05 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] redirection url
I test
ProxyPass / http://serveur1:8085
1:8085/uri//VirtualHostthanks "Boyle Owen" [EMAIL PROTECTED] 24/07/2006 09:19Veuillez répondre à users@httpd.apache.orgA users@httpd.apache.org cc Objet RE: [EMAIL PROTECTED] redirection url
-
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 24, 2006 1:31 PM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] redirection url
Hi owen,
Thanks for information but i had already configure a DNS entry :
create an alias
Veuillez répondre à
users@httpd.apache.org
A
users@httpd.apache.org
cc
Objet
Re: [EMAIL PROTECTED] redirection url
On 7/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
Hi,
I've an accesisble url :
http://serveur.domain.com:port/uri/
I would like to know how can i redirect
On 7/21/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi,
i try to precise the descriptiopn
It's not for internet accessibility but only on the enterprise, so :
i've a reporting intranet, accessible by the url :
http://serveur1:8085/uri/ (accessibly only on the enterprise)
I would like
You can try a neg. lookahead with Apache 2.x
RedirectMatch ^/(?!cgi-bin)(.*)$ http://www.somedomain.com/us/company/en/$1
--
Robert
-
The official User-To-User support forum of the Apache HTTP Server Project.
See
On 2/7/06, Ricardo Gamero [EMAIL PROTECTED] wrote:
Hello everyone!
here's my problem (a very simple one ;); I've been trying to redirect my
home page (http://168.243.x.x/index.html) to a secure one in the same server
ip: https://168.243.x.x/apps/servlets/IndexServlet
both URL works fine
Jacob Eshed wrote:
Hi,
A plus sign (+) in a url is converted to space (%20).
Yup, that's what the HTTP/1.0 (and 1.1) rules are for URI's.
'sub_cat=Art + Design' is converted to 'sub_cat=Art%20+%20Design' by
the browser but the apache output received is 'sub_cat=Art%20%20%20Design'
That's
Title: RE: [EMAIL PROTECTED] + in URL
Hi Bill,
Thanks for your prompt answer.
The 'sub_cat=Art + Design' was entered as parameter in Microsoft Internet Browser 6. as a url address:
http://server.name:port/V/?func=some_functionmode=categorycategory=Category Namesub_cat=Art + Designrestricted
Jacob Eshed wrote:
Hi Bill,
Thanks for your prompt answer.
The 'sub_cat=Art + Design' was entered as parameter in Microsoft
Internet Browser 6. as a url address:
_http://server.name:port/V/?func=some_functionmode=categorycategory=Category
Namesub_cat=Art + Designrestricted=all_
Title: RE: [EMAIL PROTECTED] + in URL
Hi Bill,
Thank you very much for your brief and helpful explanation.
Sincerely,
Jacob Eshed
-Original Message-
From: William A. Rowe, Jr. [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 21, 2005 6:35 AM
To: users@httpd.apache.org
Subject
-Original Message-
From: bryan rasmussen [mailto:[EMAIL PROTECTED]
Sent: Montag, 10. Oktober 2005 10:55
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] requested url not found on server,
Apache/2.0.54
(Win32) Server at localhost Port 3080?
Hi, I'm getting some 404s the
Well some relevant fragments of the error.log
C:/Programmer/Apache Group/Apache2/htdocs/favicon.ico
[Mon Oct 10 10:25:51 2005] [error] [client 127.0.0.1] File does not
exist: C:/Programmer/Apache Group/Apache2/htdocs/favicon.ico
[Mon Oct 10 10:25:58 2005] [error] [client 127.0.0.1] (OS 2)Den
Is it a good idea to fork a sed for each request?
The RewriteRule condition will accept any URL path _containing_ /exchange/...
and proxy it to what host?
There are built-in functions available for RewriteMap, including functions for
encoding and decoding URLs. I suggest that you use them
Thanks ascs,
This works perfectly:
#OWA % character in email subject fix
RewriteEngine On
RewriteMap percentsubject int:escape
RewriteCond $1 ^/exchange/.*\%.*$
RewriteRule (/exchange/.*) ${percentsubject:$1} [P]
I've added it to:
http://www-personal.umich.edu/~malth/gaptuning/apache/
---
47 matches
Mail list logo