[users@httpd] Rewriting issue

2020-01-21 Thread Moreno Andreo
Hi, working on Apache 2.4 on Debian 10. I need to achieve this /path/to/uri   ->> http://localhost:333/path/to/another/uri Why is it         ProxyPass http://localhost:333/path/to/another/uri     ProxyPassReverse http://localhost:333/path/to/another/uri     no

Re: [users@httpd] Rewriting

2019-06-27 Thread Ghalem Ouadjed
That s an idea Frank thank you. I try it and come right back. Membre-Fondateur et Trésorier de l'ANEÏST {Association Nationale des Entreprises Innovantes Industrielles Scientifiques et Technologiques} Le jeu. 27 juin 2019 à 13:55, Frank a écrit : > I would use the rewrite log to debug, as a

Re: [users@httpd] Rewriting

2019-06-27 Thread Frank
I would use the rewrite log to debug, as a starting point. There are many external factors that could influence (or derail) this scenario. On 27/06/19 04:45 AM, Ghalem Ouadjed wrote: > Hello, at this day i didn t find the answer to the following question : > > RewriteRule ^that-and-that$ talent\

[users@httpd] Rewriting

2019-06-27 Thread Ghalem Ouadjed
Hello, at this day i didn t find the answer to the following question : RewriteRule ^that-and-that$ talent\.php\?id=(.+)[E=BREAK:1,L] RewriteCond %{ENV:REDIRECT_BREAK} !^1$ RewriteCond %{QUERY_STRING} ^id=([0-9]+)$ [NC] RewriteRule ^this\.php$ /that-and-that [QSD,R=301,L] This cod

[users@httpd] Rewriting SSI URLs

2018-03-15 Thread Jim Albert
Is anyone aware of a method of rewriting a URL within a Server Side Include (SSI)? So for example, I would like the web server to actually run the following /abc/def/test.cgi Changing is not a reasonable solution for me. I understand that with SSIs the requests are all pre-output to the c

Re: [users@httpd] Rewriting urls with mod_rewrite works on the root page but not on userdir

2013-03-21 Thread Jack Mcslay
Em 21-03-2013 08:18, Eric Covener escreveu: On Thu, Mar 21, 2013 at 5:42 AM, Jack Mcslay wrote: I have the following .htaccess on /var/www: RewriteEngine on RewriteRule ^(.*)\.html$ site.php/$1 [L] Use RewriteBase, or a non-relative substitution.

Re: [users@httpd] Rewriting urls with mod_rewrite works on the root page but not on userdir

2013-03-21 Thread Eric Covener
On Thu, Mar 21, 2013 at 5:42 AM, Jack Mcslay wrote: > I have the following .htaccess on /var/www: > > RewriteEngine on > > RewriteRule ^(.*)\.html$ site.php/$1 [L] Use RewriteBase, or a non-relative substitution. - To unsubscrib

[users@httpd] Rewriting urls with mod_rewrite works on the root page but not on userdir

2013-03-21 Thread Jack Mcslay
I have the following .htaccess on /var/www: RewriteEngine on RewriteRule ^(.*)\.html$ site.php/$1 [L] But the same .htaccess doesn't work when I put on an userdir, it keeps giving a 404 error even if the same site.php file that worked on the root site is there Worth noting, the path given b

Re: [users@httpd] rewriting url after routing

2013-01-08 Thread Igor Cicimov
On 09/01/2013 1:36 AM, "Kiran Doshi" wrote: > > Hi, > > I am not an Apache expert & this is my first question to the form. I hope I am clear, if not please let me know. > > I have the following requirement : > I have Pentaho and JBoss servers which sit behind an Apache server. I use mod_jk in Apac

[users@httpd] rewriting url after routing

2013-01-08 Thread Kiran Doshi
Hi, I am not an Apache expert & this is my first question to the form. I hope I am clear, if not please let me know. I have the following requirement : I have Pentaho and JBoss servers which sit behind an Apache server. I use mod_jk in Apache which decides the load balancer based on the appl

[users@httpd] Rewriting again

2005-05-31 Thread Jan Eden
Hi, I am still struggling with the setup described in my earlier post. It almost works now. RewriteCond %{HTTP_HOST} (first|second|third) RewriteRule ^(.+)$ %1/$1 [NC] RewriteRule ^first/site/?$ cgi-bin/show.pl?id=2657 [L,NC] # Index für 'Breskens' RewriteRule ^first/site/page/?$ cgi-bin/show.p

Re: Antw: Re: [users@httpd] Rewriting headers

2005-05-24 Thread Alexander Mueller
Thanks again Brian, this was a great help. On a related issue, I need to do the reverse proxying in connection with SSL. Are there any pitfalls I should pay attention to or would you have any general comments? Alexander >>> [EMAIL PROTECTED] 23.05.2005 15:35:17 >>> I'd say you have it almost

Re: Antw: Re: [users@httpd] Rewriting headers

2005-05-23 Thread Brian Hughes '89
I'd say you have it almost 100% correct. The portion that's off is your step 2. In my reverse-proxy set-ups, I never use mod_proxy's directives. I always use mod_rewrite, since I'm almost always in a situation where I need to pass additional information from the front-side to the back-side of

Antw: Re: [users@httpd] Rewriting headers

2005-05-23 Thread Alexander Mueller
Good morning Brian, thanks for your reply. Did I understand your explanation correctly? 1. Request comes in 2. Request is not considered as proxy request and hence initially not handled by mod_proxy 3. Request is caught by mod_rewrite 4. mod_rewrite parses the headers, retrieves the val

Re: [users@httpd] Rewriting headers

2005-05-20 Thread Brian Hughes '89
On May 20, 2005, at 06:04 AM, Alexander Mueller wrote: I am looking for a way to rewrite HTTP headers of requests passing through in proxy mode (mod_proxy). This works in connection with mod_headers, however it only allows basic manipulation (adding, removing, changing). I would need a way to us

[users@httpd] Rewriting headers

2005-05-20 Thread Alexander Mueller
Hi, I am looking for a way to rewrite HTTP headers of requests passing through in proxy mode (mod_proxy). This works in connection with mod_headers, however it only allows basic manipulation (adding, removing, changing). I would need a way to use values of existing headers and incorporate them