RE: [users@httpd] Httpd.conf configuration problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi Boyle,

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.


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 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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux