httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@swx.com>
Subject RE: [users@httpd] Httpd.conf configuration problem
Date Thu, 10 Aug 2006 07:15:18 GMT
 

> -----Original Message-----
> From: rajesh.gannarapu@wipro.com [mailto:rajesh.gannarapu@wipro.com] 
> Sent: Thursday, August 10, 2006 5:44 AM
> To: users@httpd.apache.org
> Cc: Boyle Owen
> Subject: RE: [users@httpd] Httpd.conf configuration problem
> 

Please keep all mails *on list*. So please don't:

- CC anyone directly, unless they specifically ask you to
- set "Reply-to" to yourself, so you get the reply and not the list

> 
> 
> Hi Boyle,
> 
> When I use the below expression
> 
> 	%{REQUEST_URI} !~ m/\/abc\/qwert/

I don't see anything wrong with this... Please post the exact
cut'n'paste of the line from your config - do not edit it.

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> 
>  I got below error
> 
> Starting httpd: Syntax error on line 1066 of 
> /etc/httpd/conf/httpd.conf:
> SSLRequire: Failed to compile regular expression.
> 
> 
> Please suggest me the suitable configuration
> 
> 
> Thanks in advance,
> 
> -- Gannarapu
> 
> 
> -----Original Message-----
> From: Boyle Owen [mailto:Owen.Boyle@swx.com]
> 
> Sent: Thursday, August 03, 2006 7:11 PM
> To: users@httpd.apache.org
> Subject: RE: [users@httpd] Httpd.conf configuration problem
> 
> > -----Original Message-----
> > From: rajesh.gannarapu@wipro.com [mailto:rajesh.gannarapu@wipro.com]
> 
> > Sent: Thursday, August 03, 2006 2:18 PM
> > To: users@httpd.apache.org
> > Subject: [users@httpd] Httpd.conf configuration problem
> >
> 
> > Hi,
> 
> >
> 
> > 
> 
> >
> 
> > 
> 
> >
> 
> > I have a problem with the configuration of apache web server.
> >
> 
> >  I used "SSLRequireSSL" directive for the URLS which are only
> 
> > allowed with Https to my application.
> >
> 
> >  But now my client doesn't want to allow any URL patterns
> 
> > except "/abc/qwert" with Http.
> 
> >
> 
> > I have configured httpd.conf as shown below
> >
> 
> > 
> 
> >
> 
> > <Location />
> >
> 
> >  SSLRequire %{REQUEST_URI} != "/abc/qwert"
> 
> 
> TRy not using asymmetric quotes; use double quotes, eg:
> 
> 	%{REQUEST_URI} != "/abc/qwert"
> 
> alternatively, try a perl regexp:
> 
> 	%{REQUEST_URI} !~ m/\/abc\/qwert/
> 
> (NB note the "does not match" operator !~)
> 
> Rgds,
> Owen Boyle
> Disclaimer: Any disclaimer attached to this message may be ignored.
> 
> 
> 
> 
> >
> 
> > </Location>
> >
> 
> > But the above configuration is not working.
> 
> >
> 
> > 
> 
> >
> 
> > Please suggest me the suitable configuration.
> >
> 
> > 
> 
> >
> 
> > 
> 
> >
> 
> > 
> 
> >
> 
> > Regards,
> >
> 
> > Gannarapu
> >
> 
> >
> 
> > The information contained in this electronic message and any
> 
> > attachments to this message are intended for the exclusive
> 
> > use of the addressee(s) and may contain proprietary,
> 
> > confidential or privileged information. If you are not the
> 
> > intended recipient, you should not disseminate, distribute or
> 
> > copy this e-mail. Please notify the sender immediately and
> 
> > destroy all copies of this message and any attachments.
> 
> >
> 
> > WARNING: Computer viruses can be transmitted via email. The
> 
> > recipient should check this email and any attachments for the
> 
> > presence of viruses. The company accepts no liability for any
> 
> > damage caused by any virus transmitted by this email.
> >
> 
> > www.wipro.com
> > 
> 
> >
> 
> 
> 
> 
> This message is for the named person's use only. It may contain
> confidential, proprietary or legally privileged information. No
> confidentiality or privilege is waived or lost by any mistransmission.
> If you receive this message in error, please notify the 
> sender urgently
> and then immediately delete the message and any copies of it from your
> system. Please also immediately destroy any hardcopies of the message.
> You must not, directly or indirectly, use, disclose, 
> distribute, print,
> or copy any part of this message if you are not the intended 
> recipient.
> The sender's company reserves the right to monitor all e-mail
> communications through their networks. Any views expressed in this
> message are those of the individual sender, except where the message
> states otherwise and the sender is authorised to state them to be the
> views of the sender's company.
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 
> The information contained in this electronic message and any 
> attachments to this message are intended for the exclusive 
> use of the addressee(s) and may contain proprietary, 
> confidential or privileged information. If you are not the 
> intended recipient, you should not disseminate, distribute or 
> copy this e-mail. Please notify the sender immediately and 
> destroy all copies of this message and any attachments.
> 
> 
> WARNING: Computer viruses can be transmitted via email. The 
> recipient should check this email and any attachments for the 
> presence of viruses. The company accepts no liability for any 
> damage caused by any virus transmitted by this email.
> 
> 
> www.wipro.com
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message