[EMAIL PROTECTED] 301 redirect puzzle

2008-03-13 Thread Edd Dawson
I have a bit of a 301 puzzle here that I can't quite solve, and maybe someone can help me out. I have 3 pages: page 1= /merchant.php?i=1 page 2= /merchant.php?i=1j=2 page 3= /merchant.php?=1j=2 I want to us a combination of url-rewriting and 301 redirects so they so a request to the old page

Re: [EMAIL PROTECTED] content being served on the basis on incoming IP

2008-03-13 Thread Nils Jeppe
On Thu, 13 Mar 2008, Szymon Bakowski wrote: I was just wondering about in order to find a solution to my problem but haven`t come up with final solution yet: what i am after is to be able to serve the content of different directories after hitting the same IP based on incoming IP. I was

Re: [EMAIL PROTECTED] content being served on the basis on incoming IP

2008-03-13 Thread Szymon Bakowski
On Thu, 13 Mar 2008, Szymon Bakowski wrote: I was just wondering about in order to find a solution to my problem but haven`t come up with final solution yet: what i am after is to be able to serve the content of different directories after hitting the same IP based on incoming IP. I

Re: [EMAIL PROTECTED] content being served on the basis on incoming IP

2008-03-13 Thread David Cassidy
simon I think you need to read that rewrite rule closer as it will deliver different content to the different users based on IP address. remember rewrite doesn't JUST do re-writing of urls. it can internally proxy through to different files for the same request based on the rule. thats whats

Re: [EMAIL PROTECTED] content being served on the basis on incoming IP

2008-03-13 Thread Nils Jeppe
On Thu, 13 Mar 2008, Szymon Bakowski wrote: Hmm, thats not exactly what i was thinking and I believe mod _rewrite may not help here as that is a url rewriter and what I am after to serv different content for the same domain based on incoming IP. Ex. person with ip 1.1.1.2 hits domain

Re: [EMAIL PROTECTED] 301 redirect puzzle

2008-03-13 Thread Joshua Slive
On Thu, Mar 13, 2008 at 6:57 AM, Edd Dawson [EMAIL PROTECTED] wrote: RewriteRule ^/merchantnameproductname2 /merchant\.php\?i\=1\j\=2 [PT,QSA,NS,NE] There seems to be a bunch of superfluous backslash escaping going on here. Why \? and not simply ? for example? That may be messing up the

Re: [EMAIL PROTECTED] content being served on the basis on incoming IP

2008-03-13 Thread Szymon Bakowski
On 13/03/2008, David Cassidy [EMAIL PROTECTED] wrote: simon I think you need to read that rewrite rule closer as it will deliver different content to the different users based on IP address. remember rewrite doesn't JUST do re-writing of urls. it can internally proxy through to

[EMAIL PROTECTED] Content-Location header instead of 301 redirect for www.

2008-03-13 Thread Daniel Aleksandersen
On 2008-03-12, Daniel Aleksandersen wrote: Hi list, (UTF‐8 encoded) Currently I use the following to trigger a 301 redirect when users request my domain without the www. prefix. RewriteCond %{HTTP_HOST} !^www.example.tld$ [NC] RewriteRule ^(.*)$ http://www.example.tld/$1 [R=301,L]

[EMAIL PROTECTED] configure slackware layout

2008-03-13 Thread tdavis
Sirs I like the way slack does it - here is a layout for inclusion # slackware Apache path layout. Layout Slackware prefix:/usr/local/apache2 exec_prefix: ${prefix} bindir:${exec_prefix}/bin sbindir: ${exec_prefix}/bin libdir:

[EMAIL PROTECTED] Memory leak issue with ap_get_client_block()

2008-03-13 Thread Arnab Ganguly
Hi All, I am getting a memory leak issue in Apache 2.2.8 on Red-Hat 5.0. I tried out the following options 1) MaxRequestPerChild settings to non zero 2)I was allocating memory by using apr_palloc from the request pool but later I replaced to normal malloc and added a clean handler in

[EMAIL PROTECTED] Header unset Server

2008-03-13 Thread Daniel Aleksandersen
Hi list, The below option spesified in the document_root/.htaccess have no effect. Should it work? It may be my shared hosting enviroment that is messing up this one. I see that all headers still have “Server: Apache”. Header unset Server A related question, I cannot get the below option to

Re: [EMAIL PROTECTED] Header unset Server

2008-03-13 Thread Joshua Slive
On Thu, Mar 13, 2008 at 11:43 AM, Daniel Aleksandersen [EMAIL PROTECTED] wrote: Hi list, The below option spesified in the document_root/.htaccess have no effect. Should it work? It may be my shared hosting enviroment that is messing up this one. I see that all headers still have Server:

[EMAIL PROTECTED] mod_ldap rejecting apparently valid server certificate for secure ldap against active directory

2008-03-13 Thread Scheible, Paul
I have a couple of apache web server installations that have been unable to connect to an Active Directory server after its certificate was renewed. The two installations I attempted to use were versions 2.0.59 and 2.2.8 both installed on Windows (Win2003 Server and WinXPSP2, respectively).

[EMAIL PROTECTED] Header unset Server

2008-03-13 Thread Daniel Aleksandersen
On 2008-03-13, Joshua Slive wrote: On Thu, Mar 13, 2008 at 11:43 AM, Daniel Aleksandersen wrote: The below option spesified in the document_root/.htaccess have no effect. Should it work? It may be my shared hosting enviroment that is messing up this one. I see that all headers still have

Re: [EMAIL PROTECTED] Header unset Server

2008-03-13 Thread Joshua Slive
On Thu, Mar 13, 2008 at 12:30 PM, Daniel Aleksandersen [EMAIL PROTECTED] wrote: I want only to mofify one thing with the Content-Location header. I want it to include the absolut URI instead of only the relative URI. Can this be done? I'm guessing you'd need to write a module to do that. I

Re: [EMAIL PROTECTED] Memory leak issue with ap_get_client_block()

2008-03-13 Thread Joshua Slive
On Thu, Mar 13, 2008 at 10:59 AM, Arnab Ganguly [EMAIL PROTECTED] wrote: Hi All, I am getting a memory leak issue in Apache 2.2.8 on Red-Hat 5.0. I tried out the following options 1) MaxRequestPerChild settings to non zero 2)I was allocating memory by using apr_palloc from the request

RE: [EMAIL PROTECTED] Apache 2.2 Loadbalancing/session stickiness for BEA WL 8.1

2008-03-13 Thread Tamer Embaby
Narendra, OK, I got the idea behind it sticking a session in Apache 2.2. I thought Apache 2.2 loadbalancer would intercept JESESSIONID (or whatever Cookie variable I set in stickysession attribute) and build a lookup table to back-ends that previously responded with Set-Cookie header and stick

Re: [EMAIL PROTECTED] Order/Alow/Deny Performances

2008-03-13 Thread Joshua Slive
On Wed, Mar 12, 2008 at 7:33 PM, Res [EMAIL PROTECTED] wrote: Hi All, I'm curious if anyone has thoughts/experiences on system performances for... Overall directory / is set as Order Deny,Allow Deny from all ...for security reasons Each of our virtual hosts have the same,

Re: [EMAIL PROTECTED] Why is Accept-Encoding uppercase?

2008-03-13 Thread Joshua Slive
On Wed, Mar 12, 2008 at 3:47 PM, Daniel Aleksandersen [EMAIL PROTECTED] wrote: Hi, I am wondering if there is any reason why turing on the delate output filter would make the Accept-Endcoding come out as uppercase? I have used mod_negotiate, and mod_deflate. I see no reason why using the

Re: [EMAIL PROTECTED] How to install apache service on windows with other Logon than local system account

2008-03-13 Thread Joshua Slive
On Wed, Mar 12, 2008 at 12:27 PM, Boehme, Alfred [EMAIL PROTECTED] wrote: Hi, together with my product I install the apache 2.0 web server files and then install the service using apache.exe -k install on Windows 2003/2008 Is there a way to specify another user account for the apache

Re: [EMAIL PROTECTED] Path base virtualhost ?

2008-03-13 Thread Joshua Slive
On Wed, Mar 12, 2008 at 5:32 AM, Manuel Vacelet [EMAIL PROTECTED] wrote: Hello, I would like to know if it's possible to configure apache in the way it would answer to urls like 'http://example.com/appname' as it would serve 'http://appname.example.com/'. I don't know if I'm clear

[EMAIL PROTECTED] strange tmp file created by apache

2008-03-13 Thread Marc Fromm
In the /tmp directory there is a file that was created by the apache user. File name: sess_f67399ee11ea93d2331a1af8efa054b3 Contents: ATTEMPS|i:0; Is this a result from a hack attempt or a failed service of some type? Thanks Marc Fromm Information Technology Specialist II Financial Aid

Re: [EMAIL PROTECTED] How to altter the default umask of apache ??

2008-03-13 Thread Sean Allen
i always set the umask right in the startup script and it works. On Mar 13, 2008, at 3:37 AM, J.Bakshi wrote: Dear list, After doing a full one day googling I am fade up and need some kind help from this list. I have clerkconnect server ( enterprise edition 4.2 ) The httpd -v shows

[EMAIL PROTECTED] Why is Accept-Encoding uppercase?

2008-03-13 Thread Daniel Aleksandersen
On 2008-03-13, Joshua Slive wrote: On Wed, Mar 12, 2008 at 3:47 PM, Daniel Aleksandersen wrote: I am wondering if there is any reason why turing on the delate output filter would make the Accept-Endcoding come out as uppercase? I have used mod_negotiate, and mod_deflate. I see no

RE: [EMAIL PROTECTED] strange tmp file created by apache

2008-03-13 Thread Ben Spencer
That is a PHP session (tmp) file. http://us.php.net/manual/en/ref.session.php benji --- Benji Spencer System Administrator Ph: 312-329-2288 -Original Message- From: Marc Fromm [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2008 1:07 PM To: users@httpd.apache.org Subject:

Re: [EMAIL PROTECTED] Why is Accept-Encoding uppercase?

2008-03-13 Thread Joshua Slive
On Thu, Mar 13, 2008 at 3:02 PM, Daniel Aleksandersen [EMAIL PROTECTED] wrote: No, I was only wondering if there was a reason for the inconsistency. I'm pretty-sure there is no reason other than that the person coding mod_deflate didn't think about it. Joshua.

Re: [EMAIL PROTECTED] mod_ldap rejecting apparently valid server certificate for secure ldap against active directory

2008-03-13 Thread William A. Rowe, Jr.
Scheible, Paul wrote: I have a couple of apache web server installations that have been unable to connect to an Active Directory server after its certificate was renewed. The two installations I attempted to use were versions 2.0.59 and 2.2.8 both installed on Windows (Win2003 Server and

[EMAIL PROTECTED] Header unset Server

2008-03-13 Thread Daniel Aleksandersen
On 2008-03-13, Joshua Slive wrote: On Thu, Mar 13, 2008 at 12:30 PM, Daniel Aleksandersen wrote: I want only to mofify one thing with the Content-Location header. I want it to include the absolut URI instead of only the relative URI. Can this be done? I'm guessing you'd need to write a

[EMAIL PROTECTED] Why is Accept-Encoding uppercase?

2008-03-13 Thread Daniel Aleksandersen
On 2008-03-13, Joshua Slive wrote: On Thu, Mar 13, 2008 at 3:02 PM, Daniel Aleksandersen wrote: No, I was only wondering if there was a reason for the inconsistency. I'm pretty-sure there is no reason other than that the person coding mod_deflate didn't think about it. I filled it as a

Re: [EMAIL PROTECTED] How to altter the default umask of apache ??

2008-03-13 Thread J.Bakshi
Sean Allen wrote: i always set the umask right in the startup script and it works. Thanks for your response. I have also tried to set umask in httpd.conf but it throws an error message that misspelled directive umask :-( Are you asking to put umask in /etc/init.d/httpd ? If yes then where can