Gannarapu,

I guess you have a odd slash after 'm'.

Try this:

%{REQUEST_URI} !~ m\/abc\/qwert/

Fabricio.


2006/8/10, Boyle Owen <[EMAIL PROTECTED]>:


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 10, 2006 9:14 AM
> To: users@httpd.apache.org
> Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem
>
>
> Hi boyle,
>
> SSLRequire %{REQUEST_URI} !~ m/\/bam\/qwert
                                             ^
                                             |
                                             |


It is missing a final "/" to close the match-operator.

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

>
> I just pasted the line from the httpd.conf file.
>
> Could you found some thing wrong in the expression?
>
>
> -- Gannarapu
>
>
> -----Original Message-----
> From: Boyle Owen [mailto:[EMAIL PROTECTED]
>
> Sent: Thursday, August 10, 2006 12:40 PM
> To: Rajesh Gannarapu (WT01 - Wireless Networks and Devices)
> Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem
>
>
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>
> > Sent: Thursday, August 10, 2006 5:44 AM
> > To: users@httpd.apache.org
> > Cc: Boyle Owen
> > Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem
> >
>
> >
>
> >
>
> > Hi Boyle,
>
> PLease just reply to the list - no need to CC me..
>
> >
>
> > When I use the below expression
> >
>
> >     %{REQUEST_URI} !~ m/\/abc\/qwert/
> >
>
> >  I got below error
> >
>
> > Starting httpd: Syntax error on line 1066 of
>
> > /etc/httpd/conf/httpd.conf:
> > SSLRequire: Failed to compile regular expression.
>
> 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.
>
>
> >
>
> >
>
> > Please suggest me the suitable configuration
> >
>
> >
>
> > Thanks in advance,
> >
>
> > -- Gannarapu
> >
>
> >
>
> > -----Original Message-----
> > From: Boyle Owen [mailto:[EMAIL PROTECTED]
> >
>
> > Sent: Thursday, August 03, 2006 7:11 PM
> > To: users@httpd.apache.org
> > Subject: RE: [EMAIL PROTECTED] Httpd.conf configuration problem
> >
>
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> >
>
> > > Sent: Thursday, August 03, 2006 2:18 PM
> > > To: users@httpd.apache.org
> > > Subject: [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
> >    "   from the digest: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> >
>
> >
>
> > 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 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: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to