> -----Original Message----- > From: rajesh.gannarapu@xxxxxxxxx [mailto:rajesh.gannarapu@xxxxxxxxx] > Sent: Friday, August 11, 2006 6:03 AM > To: users@xxxxxxxxxxxxxxxx > Subject: RE: [users@httpd] Httpd.conf configuration problem > > > > Hi, > > I tried in all ways, but facing the same error > > > > > <Location /> > SSLRequire %{REQUEST_URI} !~ m\/abc\/qwert/ You need to read up on regular expression syntax... Every time you post you show a different string and because you keep faking the strings, I don't know if we're looking at the literal content of the config file or something you typed in quickly that shows what you think it contains... So I've no confidence that what you post is what's in the config. I know the \/\/\ stuff looks confusing but it is essential that everything is there and in the right order. In your example above, you are missing the leading / after the "m" so that won't compile. The pattern should be *exactly* m/\/abc\/qwert/ Perhaps if I explain exactly what the regexp means, taking each character in turn: m - match / - start of match string \ - escape (ie, take literally) the next character / - the leading directory slash) abc - the letters abc \ - escape (ie, take literally) the next character / - the subdir slash qwert - the letters qwert / - end of match string Escaping is necessary because a slash is part of the regexp syntax. So if you want to use a slash in your pattern, you have to tell the compiler to ignore it, hence you escape it with a backslash. Have another go... Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > </Location> > > > > > > > Starting httpd: Syntax error on line 1066 of > /etc/httpd/conf/httpd.conf: > SSLRequire: parse error > > > > > -- Gannarapu > -----Original Message----- > From: SOPRO [mailto:soprobr@xxxxxxxxx] > > Sent: Thursday, August 10, 2006 8:15 PM > To: users@xxxxxxxxxxxxxxxx > Subject: Re: [users@httpd] Httpd.conf configuration problem > > Gannarapu, > > I guess you have a odd slash after 'm'. > > Try this: > > %{REQUEST_URI} !~ m\/abc\/qwert/ > > Fabricio. > > > 2006/8/10, Boyle Owen <Owen.Boyle@xxxxxxx>: > > > > > > > -----Original Message----- > > > From: rajesh.gannarapu@xxxxxxxxx > [mailto:rajesh.gannarapu@xxxxxxxxx] > > > Sent: Thursday, August 10, 2006 9:14 AM > > > To: users@xxxxxxxxxxxxxxxx > > > Subject: RE: [users@httpd] 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:Owen.Boyle@xxxxxxx] > > > > > > Sent: Thursday, August 10, 2006 12:40 PM > > > To: Rajesh Gannarapu (WT01 - Wireless Networks and Devices) > > > Subject: RE: [users@httpd] Httpd.conf configuration problem > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: rajesh.gannarapu@xxxxxxxxx > [mailto:rajesh.gannarapu@xxxxxxxxx] > > > > > > > Sent: Thursday, August 10, 2006 5:44 AM > > > > To: users@xxxxxxxxxxxxxxxx > > > > Cc: Boyle Owen > > > > Subject: RE: [users@httpd] 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:Owen.Boyle@xxxxxxx] > > > > > > > > > > > Sent: Thursday, August 03, 2006 7:11 PM > > > > To: users@xxxxxxxxxxxxxxxx > > > > Subject: RE: [users@httpd] Httpd.conf configuration problem > > > > > > > > > > > > -----Original Message----- > > > > > From: rajesh.gannarapu@xxxxxxxxx > > > [mailto:rajesh.gannarapu@xxxxxxxxx] > > > > > > > > > > > > Sent: Thursday, August 03, 2006 2:18 PM > > > > > To: users@xxxxxxxxxxxxxxxx > > > > > 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@xxxxxxxxxxxxxxxx > > > > " from the digest: > users-digest-unsubscribe@xxxxxxxxxxxxxxxx > > > > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > > > > > > > > > > > > > > > > > > > > > > > > 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: users-unsubscribe@xxxxxxxxxxxxxxxx > > > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > > > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > > > > > > > --------------------------------------------------------------------- > > 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@xxxxxxxxxxxxxxxx > > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > > > > > --------------------------------------------------------------------- > 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@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > > > > 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@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx