Re: [users@httpd] Rewritecond to check if a Cookie Exists

2012-10-26 Thread Igor Cicimov
On 27/10/2012 3:08 AM, "Nguyen, Bao L" wrote: > > Hello, > > > > When our users hit the url https://domain.mycompany.com/app I would like to write a rewrite rule to check for the existence of a SSO cookie called MYSAPSSO2. Basically, if the MYSAPSSO2 cookie is not there then it should redirect us

[users@httpd] "The connection was reset" frequently when browsing httpd.apache.org

2012-10-26 Thread Ben Johnson
In the last few months, I have observed frequent "The connection was reset" messages while browsing the documentation on httpd.apache.org. Curiously, if I switch browsers (from Firefox to Chrome), I'm usually able to retrieve the requested document. Likewise, if I wait a few minutes and refresh t

Re: [users@httpd] Set multiple DocumentRoot

2012-10-26 Thread Terry Carmen
On 10/26/2012 06:02 AM, jupiter wrote: Hi, I need to set DocumentRoot to two directories, one for development and one for testing. But the server has only one IP address, and there is no DNS. Is it possible? If so, please give an example. You can use multiple virtualhosts on one IP address by

Re: [users@httpd] How to debug SetEnvIfNoCase command?

2012-10-26 Thread Eric Covener
On Fri, Oct 26, 2012 at 12:10 PM, Bhattacharya, Sudip wrote: > Sorry, could not get your statement. > Are you saying that SetEnvIf is executed before SetEnv even if the SetEnv > statement is coming before SetEnvIf in the configuration? Yes. --

RE: [users@httpd] How to debug SetEnvIfNoCase command?

2012-10-26 Thread Bhattacharya, Sudip
Sorry, could not get your statement. Are you saying that SetEnvIf is executed before SetEnv even if the SetEnv statement is coming before SetEnvIf in the configuration? -Original Message- From: Eric Covener [mailto:cove...@gmail.com] Sent: Friday, October 26, 2012 9:19 PM To: users@httpd

[users@httpd] Rewritecond to check if a Cookie Exists

2012-10-26 Thread Nguyen, Bao L
Hello, When our users hit the url https://domain.mycompany.com/app I would like to write a rewrite rule to check for the existence of a SSO cookie called MYSAPSSO2. Basically, if the MYSAPSSO2 cookie is not there then it should redirect users to a logon page to obtain the cookie. I added

Re: [users@httpd] How to debug SetEnvIfNoCase command?

2012-10-26 Thread Eric Covener
> #assume that user is local > SetEnv UserIs=local this runs later than SetEnvIf. Don't mix them and refer to the same variables. - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: user

[users@httpd] How to debug SetEnvIfNoCase command?

2012-10-26 Thread Bhattacharya, Sudip
Hi, I am facing issues with SetEnvIfNoCase command. Can you help me on how to debug it? I have set my log level to debug, but not seeing any evaluation details there. The problem I am facing is with the below set of commands. #enable gzip for all SetOutputFilter DEFLATE #assume that user is lo

Re: [users@httpd] MIME types not delivering

2012-10-26 Thread Mark H. Wood
On Thu, Oct 25, 2012 at 04:34:50PM -0400, J.Lance Wilkinson wrote: > J.Lance Wilkinson wrote: > > The file itself is being genrated not via a CGI but some Oracle > > process (this IS an Apache configured by Oracle after all), so he's > > trying to figure out now just what might be gener

Re: [users@httpd] Set multiple DocumentRoot

2012-10-26 Thread Pete Houston
On Fri, Oct 26, 2012 at 08:02:11PM +1000, jupiter wrote: > I need to set DocumentRoot to two directories, one for development and > one for testing. But the server has only one IP address, and there is > no DNS. Is it possible? If so, please give an example. Use different ports. You can set up two

[users@httpd] Set multiple DocumentRoot

2012-10-26 Thread jupiter
Hi, I need to set DocumentRoot to two directories, one for development and one for testing. But the server has only one IP address, and there is no DNS. Is it possible? If so, please give an example. Thank you. Kind regards, j ---

Re: [users@httpd] public_html folder in chroot environment

2012-10-26 Thread Pete Houston
On Fri, Oct 26, 2012 at 10:35:35AM +0530, val john wrote: > Seems like apache not getting username second time when using * character That's correct - it is only the first occurrence of an asterisk in the UserDir path which is replaced. Since you are already chrooting individual users into their o