You can try this for the first part of the question:
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/some/directory/path/(.*)$
RewriteRule .* some/other/path/%1 [R,L]
I would also suggest you read through mod_rewrite page
http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html
Igor
On Thu, Apr 2
It looks like the Content-Disposition header is set to attachment for your
.php and .html files and I don't know why. You can try putting following in
your apache config file:
ForceType text/html
and see if it works.
Igor
On Fri, Apr 23, 2010 at 1:50 PM, Duane A. Garner wrote:
>
> I ins
I installed Apache 2.2 and PHP 5, I got it all working and all of a sudden I
try to open WordPress index.php and it wants to download the file instead of
display it, then Apache crashes. I restarted, still doing so, then I
uninstalled and even restored PC and it still wants to download the
index.h
Jason,
You are so right. The problem was the DNS server didn't map to the correct
hostname (it was pointing to another host that was running Apache 1.3.27).
Now, I can relax a bit.
Thanks
Mary
-Original Message-
From: Jason Nunnelley [mailto:ja...@jasonn.com]
Sent: Thursday, April 22,
In Apache, does the question equal to impersonate current user to a
specific user account?
Thanks
Mo
-Original Message-
From: Xiaojun Mo
Sent: Wednesday, April 21, 2010 5:12 PM
To: 'users@httpd.apache.org'
Subject: How to enable anonymous access to use a specified Windows user
account?
Hi, all
I have two reverse proxy servers, one is v2.2.15 (mpm=worker) and the other is
v2.2.14 (prefork). They both run on Solaris 10.
Now I have a request to redirct traffic for an additional web site which is
outsourced by another party.
What I have done on a reverse proxy (httpd-vhosts.conf
I'm using 1.3.41, and I have an httpd.conf that looks like:
...
# "Global" 404 error document
ErrorDocument 404 /something.cgi
...
SetHandler perl-script
PerlHandler Some::Module
ErrorDocument 404 default
Basically if the handler for /xyz returns a 404 error, I want the
Apache's default e
On 4/22/10 1:29 PM, Wang, Mary Y wrote:
...
Apache/1.3.27 "
Apache doesn't typically misrepresent itself. I'd look into this first.
Trace the IPs and the domain and make absolutely sure your domain is
pointing the right server.
You can also go to the machine (host) and do so
Hi,
I'm encountering some problems here and hope someone can help me to solve them.
I've researched many blogs and lists and couldn't find an answer.
I have declare a virtual host for download-example2.com which has the same IP
as example2.com.
(1) I also declared an Alias (see below) so that
On 2010-04-22 16:56, Mauri wrote:
[quote]Do you want the connection between the proxy and the server to be
kept alive rather than closed after each reqest?[quote]
yes.
just this?
KeepAlive Off
in the
No. That turns off keepalive between the browser and the proxy.
In order to turn on keepaliv
[quote]Do you want the connection between the proxy and the server to be
kept alive rather than closed after each reqest?[quote]
yes.
just this?
KeepAlive Off
in the
thanks for the suggest.
cheers,
Mauri
2010/4/22 Jonas Eckerman
> On 2010-04-21 15:28, Mauri wrote:
>
> a question about my pr
Hello,
our global config of Apache defines:
HostnameLookups Off
So we expected, that the REMOTE_ADDR part (%h) in our logfiles are only
IP-addresses. Now we noticed, that a customer is using a Deny rule with
a hostname rather than an IP-address in his .htaccess file which causes
Apache to re
On Thu, Apr 22, 2010 at 9:59 AM, alin vasile wrote:
>>
>> ProxyPassReverse https://10.173.90.167:8443/
>>
> Shouldn't be ProxyPassReverse / https://10.173.90.167:8443/ ?
The other arg is inferred from the context (location container), the
two arg form is only required in virtualhost
sorry i made a mistake when I wrote the URL's before
basically
this is what the client gets after the POST
http://mydomain.com/lsw/clientele/ses/pagePersonnelle.jsp?Mouftah=VXV744A9SVZMU9P
rather then getting
https://mydomain.com/lsw/clientele/ses/pagePersonnelle.jsp?Mouftah=VXV744A9SVZMU9P
I
I dont know why, but when I copy paste my virtualhost info from
httpd.conf and put in ssl.conf like you it works??!!
thx
On Thu, Apr 22, 2010 at 9:01 AM, Mauri wrote:
>
> u can investigate on the version. I have this: httpd-2.2.3-31
>
> Please see at ssl.conf top:
> =
On 2010-04-21 15:28, Mauri wrote:
a question about my previous problem.
What previous problem? And what on earth does this have to do with
enabling ActiveX?
Scenario A)
All request from my i.e. to web server go troughput this 2 sessions. I
don't see any other connection.
Scenario B)
All
Shouldn't be ProxyPassReverse / https://10.173.90.167:8443/ ?
From: GB GB
To: users@httpd.apache.org
Sent: Thu, April 22, 2010 3:56:36 PM
Subject: Re: [us...@httpd] Reverse Proxy https to http
The version I am using is
Server version: Apache/2.0.54
Server b
On Thu, Apr 22, 2010 at 2:50 PM, Mark H. Wood wrote:
> Consider that Google and Yahoo! receive traffic many orders of
> magnitude greater than perhaps 99.9% of the rest of the Web. What is a
> performance problem for them may not be a performance problem for you.
> I run a number of web servers a
Consider that Google and Yahoo! receive traffic many orders of
magnitude greater than perhaps 99.9% of the rest of the Web. What is a
performance problem for them may not be a performance problem for you.
I run a number of web servers and I don't think I could buy a computer
so slow that TLS overh
On Thu, Apr 22, 2010 at 2:04 PM, Krist van Besien
wrote:
> There is in my opinion no good reason not to have https for the whole
> session. The "performance" argument doesn't really apply anymore in a
> time that you can buy several webservers for the cost of employing one
> webserver specialist f
On Thu, Apr 22, 2010 at 1:38 PM, Nicholas Sherlock wrote:
> On 22/04/2010 5:29 p.m., Krist van Besien wrote:
>>
>> Just consider the following:
>> - You direct a user to a login form. He enters username and password,
>> gets authenticated and receives a session cookie from the server.
>> - This se
On Thu, Apr 22, 2010 at 2:21 PM, GB GB wrote:
> and in the browser I get the following: The connection has timed out
>
> http://backend2.ca/lsw/clientele/ses/pagePersonnelle.jsp?Mouftah=VXV744A9SVZMU9P
If the browser tries to access the backend directly this is because it
was told to do so, prob
u can investigate on the version. I have this: httpd-2.2.3-31
Please see at ssl.conf top:
LoadModule ssl_module modules/mod_ssl.so
LoadFile /usr/lib/libxml2.so
LoadModule proxy_html_module modules/mod_proxy_html.so
LoadModule xml2enc_module module
The version I am using is
Server version: Apache/2.0.54
Server built: Sep 23 2005 15:28:48
ProxyHTMLURLMap doesn't work with what I am using.
On Thu, Apr 22, 2010 at 8:32 AM, Mauri wrote:
> Hi GB.
>
> I have a similar solution.
>
> Client --> https://mysite.com --> proxy --> http://backe
Mauri schrieb:
Eric, I'm very sorry for the new thread but I'm no able to reply to
original thread.
As per the previous mail, I have this error, always! (by 2 days):
"Google tried to deliver your message, but it was rejected by the
recipient domain. We recommend contacting the other email provid
Eric, I'm very sorry for the new thread but I'm no able to reply to original
thread.
As per the previous mail, I have this error, always! (by 2 days):
"Google tried to deliver your message, but it was rejected by the recipient
domain. We recommend contacting the other email provider for further
inf
Hi GB.
I have a similar solution.
Client --> https://mysite.com --> proxy --> http://backend.
the url in the client broswer is https://mysite.com.
this is my /etc/httpd/conf.d/ssl.conf:
LoadModule ssl_module modules/mod_ssl.so
LoadFile /usr/lib/libxml2.so
LoadModule proxy_html_module modul
Any of you Apache geniuses know how to .htaccess redirect everything BUT
a given directory path?
And, I'll add another twist: it's another URL I need to write. So, I
need local/page.html to rewrite remote/page.html in every case but
local/specified_directory.
--
Jason A. Nunnelley
+1 256297
On Thu, Apr 22, 2010 at 8:13 AM, Mauri wrote:
> Hi Eric. I mean this.
>
> in the Scenario A I have the TCP connection as per image: persistent.png
> in the Scenario B I have the TCP connection as per image:persistent2.png
Still no clue what you're trying to express. I just see 2 connections
in on
Hi experts,
this is my scenario: https://miosito.com --> mod_proxy -->
http://10.19.72.100:8080/ (tomcat)
httpd conf:
NameVirtualHost mysite.com:443
ProxyPreserveHost On
ProxyRequests off
ProxyPass / http://10.19.72.100:8080/
ProxyHTMLURLMap http://10.19.72.100:8080 /
ProxyPassReverse
On Thu, Apr 22, 2010 at 8:13 AM, Mauri wrote:
> Hi Eric. I mean this.
>
> in the Scenario A I have the TCP connection as per image: persistent.png
> in the Scenario B I have the TCP connection as per image:persistent2.png
Please don't create thread after thread, and don't subject everyone on
the
Basically what goes on when the user types in https://mydomain.com/lsw
he gets an authentification page from the backend application. Once he
enters his credentials, I notice a POST in the apache logs.
This is what the user types in:
https://mydomain.com/lsw/clientele/gen/authentification.jsp
he
On Thu, Apr 22, 2010 at 12:55 PM, Eric Covener wrote:
>> It seems that the request goes first through mod_proxy and then only through
>> mod_alias, event it the mod_alias directives (RedirectMatch) appear first
>> ... is it a normal behavior ?
>
> It's normal, and the precedence the modules are co
> It seems that the request goes first through mod_proxy and then only through
> mod_alias, event it the mod_alias directives (RedirectMatch) appear first
> ... is it a normal behavior ?
It's normal, and the precedence the modules are coded for.
> Is there a clean way to do what I want to do, wit
> Apache 2.0 and later uses PCRE, and neither of those expressions mean
> what you're describing. SetEnvIf itself doesn't negate the result of
> the regex match with a flag.
>
> I don't fully understand your logic, but If you want your SetEnvIf to
> only take action when the remote address doesn't
Hello,
I have the following virtual host configuration :
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
ServerName www.foo.be
ServerAlias www.fooa.be www.foob.be www.foobar.be
DocumentRoot /usr/local/www/apache22/www/www.foo.be/amnesia/public
RedirectMatch perm
On 22/04/2010 5:29 p.m., Krist van Besien wrote:
Just consider the following:
- You direct a user to a login form. He enters username and password,
gets authenticated and receives a session cookie from the server.
- This session cookie is sent with each subsequent request, so that
the requests ca
> SetEnvIf Remote_Addr !^10\. HOSTNAME=foo.bar.com
> Header add X-Server-Name "%{HOSTNAME}e"
> but negation of network didn't work, I have also tried:
> SetEnvIf Remote_Addr [^(10\.)] HOSTNAME=foo.bar.com
> but it didn't worked either.
> Has anyone used negation in SetEnvIf Remote_Addr ?
> Document
Hi,
I have a bunch of apache servers which are load balanced. I have configured
them in such manner that each server adds header
X-Server-Name with proper hostname.
In my apache.conf I have:
PassEnv HOSTNAME
Header add X-Server-Name "%{HOSTNAME}e"
I have exported HOSTNAME before launching apach
On 21-Apr-2010, at 16:48, Michael Ni wrote:
>
> i have a situation where I have only one computer (one IP) with
> 2 virtual hosts
>
> one virtual host is static.foobar.com
>
> one virtual host is www.foobar.com
>
> both have separate ssl certs registered to the corresponding domain.
>
> i trie
Hello list,
it seems mod_proxy / mod_proxy_ajp does not realize config changes while
doing a
graceful restart.
I need to connect to 2 ajp-services but only to one at one time.
If I have
ProxyPass /sample balancer://balancer/sample stickysession=JSESSIONID
nofailover=On
BalancerMember ajp://a
As far as I know there is also the possibility to use a different port for the
second vhost. But in this case you will always have to type the port in your
address field (e.g. https://nameof.some.host:9443).
-Original Message-
From: Tom Evans [mailto:tevans...@googlemail.com]
Sent: Do
On Thu, Apr 22, 2010 at 1:25 AM, Crypto Sal wrote:
> On 04/21/2010 08:11 PM, Tom Evans wrote:
>>
>> On Wed, Apr 21, 2010 at 11:48 PM, Michael Ni wrote:
>>>
>>> i have a situation where I have only one computer (one IP) with
>>> 2 virtual hosts
>>>
>>> one virtual host is static.foobar.com
>>>
>>
43 matches
Mail list logo