Re: [EMAIL PROTECTED] Apache - URL based environment variables

2008-11-03 Thread Nick Kew
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

RE: [EMAIL PROTECTED] Apache - URL based environment variables

2008-11-03 Thread Stephen Brennan
=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

RE: [EMAIL PROTECTED] Apache - URL based environment variables

2008-11-03 Thread Stephen Brennan
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

Re: [EMAIL PROTECTED] Tricky URL rewriting question

2008-09-26 Thread Eric Covener
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,

Re: [EMAIL PROTECTED] Any url will revert to the document root

2008-08-21 Thread André Warnier
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

Re: [EMAIL PROTECTED] Any url will revert to the document root

2008-08-20 Thread André Warnier
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

Re: [EMAIL PROTECTED] Any url will revert to the document root

2008-08-20 Thread Y
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

Re: [EMAIL PROTECTED] silent URL redirect/cloak with mod_rewrite

2008-04-22 Thread Hank
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:

RE: [EMAIL PROTECTED] silent URL redirect/cloak with mod_rewrite

2008-04-21 Thread Boyle Owen
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

Re: [EMAIL PROTECTED] silent URL redirect/cloak with mod_rewrite

2008-04-21 Thread Krist van Besien
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

Re: [EMAIL PROTECTED] silent URL redirect/cloak with mod_rewrite

2008-04-21 Thread Hank
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

Re: [EMAIL PROTECTED] silent URL redirect/cloak with mod_rewrite

2008-04-21 Thread Joshua Slive
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

Re: [EMAIL PROTECTED] silent URL redirect/cloak with mod_rewrite

2008-04-21 Thread Hank
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}

RE: [EMAIL PROTECTED] Rewriting URL inside a 'proxyed' page

2007-12-03 Thread Boyle Owen
-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

RE: [EMAIL PROTECTED] Rewriting URL inside a 'proxyed' page (SOLVED)

2007-12-03 Thread Rocco Scappatura
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

RE: [EMAIL PROTECTED] Rewriting URL inside a 'proxyed' page (SOLVED)

2007-12-03 Thread Boyle Owen
-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

RE: [EMAIL PROTECTED] Rewriting URL inside a 'proxyed' page (SOLVED)

2007-12-03 Thread Rocco Scappatura
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

Re: [EMAIL PROTECTED] htaccess url redirect problem

2007-11-07 Thread Joshua Slive
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

Re: [EMAIL PROTECTED] Unwanted URL rewriting - apache replaces server name with ip in address bar

2007-06-29 Thread akhayyami
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

Re: [EMAIL PROTECTED] Overriding url filename changing in Apache

2007-05-17 Thread Harry Spier
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

Re: [EMAIL PROTECTED] Overriding url filename changing in Apache

2007-05-16 Thread Scott Gifford
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

Re: [EMAIL PROTECTED] Unwanted URL rewriting - apache replaces server name with ip in address bar

2007-05-08 Thread Krist van Besien
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

Re: [EMAIL PROTECTED] Unwanted URL rewriting - apache replaces server name with ip in address bar

2007-05-07 Thread Victor Trac
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

Re: [EMAIL PROTECTED] Mapping URL to remote file system

2007-04-18 Thread sharath reddy
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

Re: [EMAIL PROTECTED] Mapping URL to remote file system

2007-04-18 Thread Joshua Slive
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

Re: [EMAIL PROTECTED] Mapping URL to remote file system

2007-04-17 Thread Joshua Slive
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

Re: [EMAIL PROTECTED] i18n url rewriting

2006-11-27 Thread Nick Kew
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.

RE: [EMAIL PROTECTED] Redirecting URL

2006-08-17 Thread Boyle Owen
-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.

Re: [EMAIL PROTECTED] Redirecting URL

2006-08-17 Thread Dougie
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:

RE: [EMAIL PROTECTED] Redirecting URL

2006-08-17 Thread Boyle Owen
-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

Re: [EMAIL PROTECTED] redirection url

2006-07-24 Thread d . martineau
@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

RE: [EMAIL PROTECTED] redirection url

2006-07-24 Thread Boyle Owen
-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

RE: [EMAIL PROTECTED] redirection url

2006-07-24 Thread d . martineau
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

RE: [EMAIL PROTECTED] redirection url

2006-07-24 Thread Dave Henderson
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 -

RE: [EMAIL PROTECTED] redirection url

2006-07-24 Thread Boyle Owen
-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

Re: [EMAIL PROTECTED] redirection url

2006-07-21 Thread d . martineau
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

Re: [EMAIL PROTECTED] redirection url

2006-07-21 Thread Joshua Slive
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

Re: [EMAIL PROTECTED] Redirecting url with except cgi-bin

2006-06-08 Thread Robert Ionescu
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

Re: [EMAIL PROTECTED] Redirecting URL

2006-02-07 Thread Joshua Slive
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

Re: [EMAIL PROTECTED] + in URL

2005-11-20 Thread William A. Rowe, Jr.
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

RE: [EMAIL PROTECTED] + in URL

2005-11-20 Thread Jacob Eshed
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

Re: [EMAIL PROTECTED] + in URL

2005-11-20 Thread William A. Rowe, Jr.
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_

RE: [EMAIL PROTECTED] + in URL

2005-11-20 Thread Jacob Eshed
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

RE: [EMAIL PROTECTED] requested url not found on server, Apache/2.0.54 (Win32) Server at localhost Port 3080?

2005-10-10 Thread Boyle Owen
-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

Re: [EMAIL PROTECTED] requested url not found on server, Apache/2.0.54 (Win32) Server at localhost Port 3080?

2005-10-10 Thread bryan rasmussen
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

RE: [EMAIL PROTECTED] % mod_proxy URL issue

2005-09-30 Thread Axel-Stéphane SMORGRAV
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

Re: [EMAIL PROTECTED] % mod_proxy URL issue

2005-09-30 Thread Covington, Chris
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/ ---