Sorry this should have been like this actually
RewriteEngine On
RewriteCond %{QUERY_STRING} ^filename=(myfile.txt)$
RewriteRule .* - [E=FILENAME:%1]
to set the FILENAME variable to myfile.txt value.
Igor
On Wed, Feb 17, 2010 at 10:30 AM, Igor Cicimov wrote:
> RewriteRule doesn't work with
RewriteRule doesn't work with the query part or the URI thus will not work
in your case. You need to try RewriteCond directive combined with
RewriteRule. Something like this maybe?
RewriteEngine On
RewriteCond %{QUERY_STRING} ^(filename=myfile.txt)$
RewriteRule .* - [E=FILENAME:%1]
Header set "
Hi All,
I would need some help with mod_rewrite :-( .
What I would need is to add an header to the response if the request
contains a URL parameter and the value of that parameter should be used
in that header.
Just to clarify, if the url is:
/download/files/1ytreefecsw?filename=myfile.txt
On 16.02.2010 19:25, Matthew Smith wrote:
I don't think it is the router. If I set the root to a local directory,
I can get apache to start and serve pages fine. It fails if I use a
mapped drive.
I don't know much about running Apache on Windows, but I wonder what user
Apache is being run a
I don't think it is the router. If I set the root to a local directory, I
can get apache to start and serve pages fine. It fails if I use a mapped
drive.
The mapped drive has permissions set to everyone full control.
A side question, any way I can add a windows xp account to a windows 7
machine
The server is windows xp pro.
On Mon, Feb 15, 2010 at 2:58 PM, Daniel Reinhardt
wrote:
>
> --
> From: "Matthew Smith"
> Sent: 15 February, 2010 18:42
> To:
> Subject: Re: [us...@httpd] can't start apache
>
>
> Ok, I figured it out. I was using a
Eric,
Thank you for the reply?
I am sorry I don't understand it, sorry. I don't want to protect the directory,
I want to have a redirect of the 403 error to a warning page.
Do you mean for me to remove the
directive?
Thank you very much
Best regards
Renato
Renato Oliveira
Systems Administ
Hi,
I have following rule
RewriteMap urlspm txt:/usr/local/etc/manual_redirects.txt
RewriteCond ${urlspm:%{REQUEST_URI}} ^(/.*)$
RewriteRule ^.*$ %1 [P,L]
and in manual_redir
n Tue, Feb 16, 2010 at 9:50 AM, Renato Oliveira
wrote:
> Dear all,
>
>
>
> I am using Apache Server version: Apache/2.2.3 on Centos 5.4 (Test
> environment)
>
> On Production Redhat 4 Server version: Apache/2.0.52
>
>
>
> I have been looking for a way of:
>
> 1 – Prevent browsers with lower encryp
Dear all,
I am using Apache Server version: Apache/2.2.3 on Centos 5.4 (Test environment)
On Production Redhat 4 Server version: Apache/2.0.52
I have been looking for a way of:
1 - Prevent browsers with lower encryption to use my site, which I can do with
the two directives below
SSLProtocol all
> > On 07.02.10 01:09, fulan Peng wrote:
> >> I am trying to set up a reverse proxy for facebook by using Apache
> >> mod_proxy and mod_proxy_html.
> On Sun, Feb 7, 2010 at 9:54 PM, Matus UHLAR - fantomas
> wrote:
> > reverse proxy for facebook? Are you running facebook servers so you can run
> >
Hello,
is there a possibility to pass a SSL client certificate via mod_proxy_ajp
to Tomcat, ideally the same way mod_jk did so Tomcat is able to extract
the certificate and add it as attribute to the request?
Thanks,
Chris
12 matches
Mail list logo