Re: [users@httpd] - customize .htaccess

2014-06-16 Thread Cain Dickens
you can try to make use of virtualhost , each domain has its solely
directory and make than dir as its root DIR .

Cain
2014-6-17 上午5:14于 "Paolo De Michele" 写道:

> hi guys,
>
> I would like to customize .htaccess
> my scenario should be:
>
> - domain.com
> - sub.domain.com
> - sub2.domain.com
>
> for istances, my root directory is /var/www/domain/
> into this would to insert about 2 new directories, called sub and sub2
>
> when a guest will digit sub.domain.com or sub2.domain.com will want
> reindirize to correctly subdir (sub or sub2)
>
> this is my .htaccess:
>
> RewriteEngine on
> RewriteCond %{HTTP_HOST}   ^sub\.domain\.com$ [NC]
> RewriteCond %{REQUEST_URI} !^/webdav/
> RewriteCond %{REQUEST_URI} !^/sub/
> RewriteRule   ^/(.*)$ /sub/$1  [R=301,L]
>
>
> when I try to see sub.domain.com the link return to sub.domain.com/sub/
> it works correctly but I would like to see only sub.domain.com/ without
> sub directory
>
> how can I personalize it in the .htaccess?
> thanks in advance
>
> regards
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


[users@httpd] Proxy Internal Webserver

2014-06-16 Thread Adam Bellin
I have an apache server that I want to proxy an internal server (
192.168.1.25:32400/web) from an external domain name example.com/site1.

Below is my virtualhost for the main server.


ServerName www.example.com
DocumentRoot /var/www/html/example
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
ProxyRequests On

ProxyPass http://192.168.1.25:32400/web/
ProxyPassReverse http://192.168.1.25:32400/web/
Order allow,deny
Allow from all



What I see is when I try to go to my site example.com/site1, is that the
client's url changes to example.com/web/index.html which is invalid. What I
need is the client to display the page of 192.168.1.25:32400:/web/ at the
domain of example.com/site1.

What do I need to change in the above to make this work?

Thanks.


[users@httpd] - customize .htaccess

2014-06-16 Thread Paolo De Michele
hi guys,

I would like to customize .htaccess
my scenario should be:

- domain.com
- sub.domain.com
- sub2.domain.com

for istances, my root directory is /var/www/domain/
into this would to insert about 2 new directories, called sub and sub2

when a guest will digit sub.domain.com or sub2.domain.com will want
reindirize to correctly subdir (sub or sub2)

this is my .htaccess:

RewriteEngine on
RewriteCond %{HTTP_HOST}   ^sub\.domain\.com$ [NC]
RewriteCond %{REQUEST_URI} !^/webdav/
RewriteCond %{REQUEST_URI} !^/sub/
RewriteRule   ^/(.*)$ /sub/$1  [R=301,L]


when I try to see sub.domain.com the link return to sub.domain.com/sub/
it works correctly but I would like to see only sub.domain.com/ without
sub directory

how can I personalize it in the .htaccess?
thanks in advance

regards


-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] login form

2014-06-16 Thread Tim Daley
I finally got my login form working with LDAP authentication and pure html.

I have coded the httpd_location in my login.html and on successful login,
that page is brought up.

I would like to avoid a static success page, but instead go back to the
page that the user originally entered. I thought it was as simple as
removing the hidden field, but apparently that's not it.

Suggestions?

So close...

-- 
*Tim Daley*
IT Specialist-Operating Systems
cru | Technology | Platform Team
o: 407-826-2911 | m: 407-716-0284
tim.da...@cru.org


Re: [users@httpd] Supported version of Apache on RHEL 6.5

2014-06-16 Thread Jeff Trawick
On Mon, Jun 16, 2014 at 1:10 PM, Hisham 
wrote:

> Hi,
>
> I am looking into the supported Apache version that comes with RHEL 6.5
> and i am targeting Apache 2.2.26.
>
> The response I got was Apache 2.2.15-30. (Update 30)
>
> Can anyone please clarify the difference and what is meant by the update
> #?!
>
> Otherwise, does that mean I cant get Apache 2.2.26 from RHEL for release
> 6.5
>

Perhaps someone here will help; regardless, please note that you're asking
questions about how Red Hat chooses to package and version Apache httpd for
their platform; check RedHat FAQs or mailing lists for details.



>
> Thanks
> Alex
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>


-- 
Born in Roswell... married an alien...
http://emptyhammock.com/
http://edjective.org/


[users@httpd] Supported version of Apache on RHEL 6.5

2014-06-16 Thread Hisham
Hi, 

I am looking into the supported Apache version that comes with RHEL 6.5 and i 
am targeting Apache 2.2.26. 

The response I got was Apache 2.2.15-30. (Update 30)

Can anyone please clarify the difference and what is meant by the update #?!

Otherwise, does that mean I cant get Apache 2.2.26 from RHEL for release 6.5

Thanks
Alex  
-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] ApacheCon CFP closes June 25

2014-06-16 Thread J.Lance Wilkinson

Rich Bowen wrote:

Dear Apache httpd enthusiast,

As you may be aware, ApacheCon will be held this year in Budapest, on
November 17-23. (See http://apachecon.eu for more info.)


All well & good for folks who have the funding to travel to Europe,
but do we have any information on when/where for the next ApacheCon NA?

Those of us at edu sites sometimes need to put in for travel/training
funding as much as a year in advance, and my own institution's
budgeting process cuts of June 30th for the Fiscal Year 2014-2015.

--
J.Lance Wilkinson ("Lance")   InterNet: lance.wilkin...@psu.edu
Systems Design Specialist - LeadPhone: (814) 865-4870
Information Technology Services FAX:   (814) 863-3560
Penn State University
ITS Services and Solutions (SaS), E3 Paterno Library, University Park, PA 16802
http://ucs.psu.edu/home/jl...@psu.edu?fmt=freebusy

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] ApacheCon CFP closes June 25

2014-06-16 Thread Rich Bowen
Dear Apache httpd enthusiast,

As you may be aware, ApacheCon will be held this year in Budapest, on
November 17-23. (See http://apachecon.eu for more info.)

The Call For Papers for that conference is still open, but will be
closing soon. We need your talk proposals, to represent httpd at
ApacheCon. We need all kinds of talks - deep technical talks, hands-on
tutorials, introductions for beginners, or case studies about the
awesome stuff you're doing with httpd.

Please consider submitting a proposal, at
http://events.linuxfoundation.org//events/apachecon-europe/program/cfp

We would love to have a full track of httpd content, with more than just
the same old faces as every year. And if you're a first-time speaker,
and you want someone to give a proposal a first look, I would be
delighted to do that for you.

Thanks!

-- 
Rich Bowen - rbo...@rcbowen.com - @rbowen
http://apachecon.com/ - @apachecon

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] How to apply Open SSL openssl-1.0.1h to Apache 2.2.22

2014-06-16 Thread Jeff Trawick
On Mon, Jun 16, 2014 at 10:11 AM, Pooja Kulkarni 
wrote:

> Hi Balaji,
>
>
>
> Thanks a lot for your prompt response. Yes we already have
> 0.9.8t shipped with apache applied on our server. You are right we are
> trying to apply the patch for June 5 so ensure we are on latest SSL and as
> the default mod_ssl is for 0.9.8t it throws an error.
>
> I guess as you said I would need to rebuild the mod_ssl
> myself as there is no formal release for the same support OpenSSL 1.0.1h as
> yet.
>
>
>
> Thanks again.
>

If you need to get a binary build of Apache httpd for Windows, use Apache
Lounge (not connected with ASF) or some other site.

In the past, one of the httpd developers frequently made binaries available
for Windows.  That is no longer the case.


>
>
>
>
> Regards,
>
> Pooja
>
> +44 20 78264655
>
>
>
> *From:* Balaji Katika [mailto:balaji.kat...@gmail.com]
> *Sent:* 16 June 2014 13:53
> *To:* users@httpd.apache.org
> *Subject:* Re: [users@httpd] How to apply Open SSL openssl-1.0.1h to
> Apache 2.2.22
>
>
>
> HI Pooja,
>
> Looks like you are trying to apply the patch for June 5 OpenSSL
> vulnerabilities for you httpd server mentioned at https://www.openssl.org/
>
> But I think the mod_ssl shipped default by apache httpd uses the
> OpenSSL/0.9.8t. And hence, we might need to apply the relevant 0.9.8za
> available through the website...
>
> I suspect this could be the error in your case as you are attempting for
> OpenSSL 1.0.1h. Please rectify me if my analysis is not correct.
>
> Further, I think the fix is about replacing the mod_ssl.so file located in
> the modules folder with the fixed new version of the .so file that is
> linked with OpenSSL 0.9.8za. I have googled and figured out that mod_ssl
> didn't release the new patch for this. Mostly likely, it looks like we need
> to rebuild mod_ssl ourselves (Just like apache httpd does !!) as mod_ssl
> has not released the .so file in the recent time (http://www.modssl.org/)
>
>
>
> Regards
> Balaji Katika
>
>
>
> On Mon, Jun 16, 2014 at 6:07 PM, Pooja Kulkarni 
> wrote:
>
>
>
> Hi,
>
>
>
> We have Apache 2.2.22 (Win32) on a Windows 2008 64 bit server. It
> currently has OpenSSL 0.9.8.
>
> We are trying to apply the OpenSSL 1.0.1h on the same, after applying the
> open SSL and copying the relevant files to the bin directory of apache
> server, we are not able to start the server. It gives an mod_sso error.
>
>
>
> Can you please advice how can we achieve the same?
>
>
>
>
>
> Regards,
>
> Pooja
>
> +44 20 78264655
>
>
>
>
>
> *Winner of the Global Trade Review award - Best Trade Finance Bank in West
> Africa 2009, 2010, 2011, 2012 & 2013 & Best Local Trade Finance Bank in
> West Africa 2013*
> --
>
> Internet communications are not secure and therefore FBN Bank (UK) Ltd
> does not accept legal responsibility for the contents of the message.
> Whilst FBN Bank (UK) Ltd operates anti virus software, it does not accept
> responsibility for any damage that is caused by viruses being passed.
> This message and any attachments are strictly confidential to the normal
> user of the e-mail address to which it was addressed and may also be
> privileged. If you are not the addressee, you may not forward, copy,
> disclose or use any part of the message or attachments. If you have
> received this message in error, please immediately notify the sender by
> return e-mail and permanently delete it from your system. Any opinions
> contained in this message are those of the author and are not provided or
> endorsed by FBN Bank (UK) Ltd unless clearly indicated and the authority of
> the author to so bind FBN Bank (UK) Ltd is duly verified.
>
> FBN Bank (UK) Limited is registered in England and Wales under company
> number 4459383 with its registered address at 28 Finsbury Circus, London
> EC2M 7DT.
>
> FBN Bank (UK) Ltd is authorised by the Prudential Regulation Authority and
> regulated by the Financial Conduct Authority and the Prudential Regulation
> Authority.
> --
>
>
>



-- 
Born in Roswell... married an alien...
http://emptyhammock.com/
http://edjective.org/


RE: [users@httpd] How to apply Open SSL openssl-1.0.1h to Apache 2.2.22

2014-06-16 Thread Pooja Kulkarni
Hi Balaji,

Thanks a lot for your prompt response. Yes we already have 
0.9.8t shipped with apache applied on our server. You are right we are trying 
to apply the patch for June 5 so ensure we are on latest SSL and as the default 
mod_ssl is for 0.9.8t it throws an error.
I guess as you said I would need to rebuild the mod_ssl myself 
as there is no formal release for the same support OpenSSL 1.0.1h as yet.

Thanks again.


Regards,
Pooja
+44 20 78264655

From: Balaji Katika [mailto:balaji.kat...@gmail.com]
Sent: 16 June 2014 13:53
To: users@httpd.apache.org
Subject: Re: [users@httpd] How to apply Open SSL openssl-1.0.1h to Apache 2.2.22

HI Pooja,
Looks like you are trying to apply the patch for June 5 OpenSSL vulnerabilities 
for you httpd server mentioned at https://www.openssl.org/
But I think the mod_ssl shipped default by apache httpd uses the 
OpenSSL/0.9.8t. And hence, we might need to apply the relevant 0.9.8za 
available through the website...
I suspect this could be the error in your case as you are attempting for 
OpenSSL 1.0.1h. Please rectify me if my analysis is not correct.

Further, I think the fix is about replacing the mod_ssl.so file located in the 
modules folder with the fixed new version of the .so file that is linked with 
OpenSSL 0.9.8za. I have googled and figured out that mod_ssl didn't release the 
new patch for this. Mostly likely, it looks like we need to rebuild mod_ssl 
ourselves (Just like apache httpd does !!) as mod_ssl has not released the .so 
file in the recent time (http://www.modssl.org/)

Regards
Balaji Katika

On Mon, Jun 16, 2014 at 6:07 PM, Pooja Kulkarni 
mailto:p.kulka...@fbnbank.co.uk>> wrote:

Hi,

We have Apache 2.2.22 (Win32) on a Windows 2008 64 bit server. It currently has 
OpenSSL 0.9.8.
We are trying to apply the OpenSSL 1.0.1h on the same, after applying the open 
SSL and copying the relevant files to the bin directory of apache server, we 
are not able to start the server. It gives an mod_sso error.

Can you please advice how can we achieve the same?


Regards,
Pooja
+44 20 78264655



Winner of the Global Trade Review award - Best Trade Finance Bank in West 
Africa 2009, 2010, 2011, 2012 & 2013 & Best Local Trade Finance Bank in West 
Africa 2013

Internet communications are not secure and therefore FBN Bank (UK) Ltd does not 
accept legal responsibility for the contents of the message. Whilst FBN Bank 
(UK) Ltd operates anti virus software, it does not accept responsibility for 
any damage that is caused by viruses being passed.
This message and any attachments are strictly confidential to the normal user 
of the e-mail address to which it was addressed and may also be privileged. If 
you are not the addressee, you may not forward, copy, disclose or use any part 
of the message or attachments. If you have received this message in error, 
please immediately notify the sender by return e-mail and permanently delete it 
from your system. Any opinions contained in this message are those of the 
author and are not provided or endorsed by FBN Bank (UK) Ltd unless clearly 
indicated and the authority of the author to so bind FBN Bank (UK) Ltd is duly 
verified.

FBN Bank (UK) Limited is registered in England and Wales under company number 
4459383 with its registered address at 28 Finsbury Circus, London EC2M 7DT.

FBN Bank (UK) Ltd is authorised by the Prudential Regulation Authority and 
regulated by the Financial Conduct Authority and the Prudential Regulation 
Authority.




Re: [users@httpd] How to apply Open SSL openssl-1.0.1h to Apache 2.2.22

2014-06-16 Thread Balaji Katika
HI Pooja,

Looks like you are trying to apply the patch for June 5 OpenSSL
vulnerabilities for you httpd server mentioned at https://www.openssl.org/
But I think the mod_ssl shipped default by apache httpd uses the
OpenSSL/0.9.8t. And hence, we might need to apply the relevant 0.9.8za
available through the website...
I suspect this could be the error in your case as you are attempting for
OpenSSL 1.0.1h. Please rectify me if my analysis is not correct.

Further, I think the fix is about replacing the mod_ssl.so file located in
the modules folder with the fixed new version of the .so file that is
linked with OpenSSL 0.9.8za. I have googled and figured out that mod_ssl
didn't release the new patch for this. Mostly likely, it looks like we need
to rebuild mod_ssl ourselves (Just like apache httpd does !!) as mod_ssl
has not released the .so file in the recent time (http://www.modssl.org/)


Regards
Balaji Katika


On Mon, Jun 16, 2014 at 6:07 PM, Pooja Kulkarni 
wrote:

>
> Hi,
>
>
>
> We have Apache 2.2.22 (Win32) on a Windows 2008 64 bit server. It
> currently has OpenSSL 0.9.8.
>
> We are trying to apply the OpenSSL 1.0.1h on the same, after applying the
> open SSL and copying the relevant files to the bin directory of apache
> server, we are not able to start the server. It gives an mod_sso error.
>
>
>
> Can you please advice how can we achieve the same?
>
>
>
>
>
> Regards,
>
> Pooja
>
> +44 20 78264655
>
>
>
>
> *Winner of the Global Trade Review award - Best Trade Finance Bank in West
> Africa 2009, 2010, 2011, 2012 & 2013 & Best Local Trade Finance Bank in
> West Africa 2013*
> --
> Internet communications are not secure and therefore FBN Bank (UK) Ltd
> does not accept legal responsibility for the contents of the message.
> Whilst FBN Bank (UK) Ltd operates anti virus software, it does not accept
> responsibility for any damage that is caused by viruses being passed.
> This message and any attachments are strictly confidential to the normal
> user of the e-mail address to which it was addressed and may also be
> privileged. If you are not the addressee, you may not forward, copy,
> disclose or use any part of the message or attachments. If you have
> received this message in error, please immediately notify the sender by
> return e-mail and permanently delete it from your system. Any opinions
> contained in this message are those of the author and are not provided or
> endorsed by FBN Bank (UK) Ltd unless clearly indicated and the authority of
> the author to so bind FBN Bank (UK) Ltd is duly verified.
>
> FBN Bank (UK) Limited is registered in England and Wales under company
> number 4459383 with its registered address at 28 Finsbury Circus, London
> EC2M 7DT.
>
> FBN Bank (UK) Ltd is authorised by the Prudential Regulation Authority and
> regulated by the Financial Conduct Authority and the Prudential Regulation
> Authority.
>
> --
>


[users@httpd] How to apply Open SSL openssl-1.0.1h to Apache 2.2.22

2014-06-16 Thread Pooja Kulkarni
Hi,

We have Apache 2.2.22 (Win32) on a Windows 2008 64 bit server. It currently has 
OpenSSL 0.9.8.
We are trying to apply the OpenSSL 1.0.1h on the same, after applying the open 
SSL and copying the relevant files to the bin directory of apache server, we 
are not able to start the server. It gives an mod_sso error.

Can you please advice how can we achieve the same?


Regards,
Pooja
+44 20 78264655

 
Internet communications are not secure and therefore FBN Bank (UK) 
Ltd does not accept legal responsibility for the contents of the 
message. Whilst FBN Bank (UK) Ltd operates anti virus software, it 
does not accept responsibility for any damage that is caused by viruses 
being passed. 
This message and any attachments are strictly confidential to the 
normal user of the e-mail address to which it was addressed and may 
also be privileged. If you are not the addressee, you may not forward, 
copy, disclose or use any part of the message or attachments. If you 
have received this message in error, please immediately notify the 
sender by return e-mail and permanently delete it from your system. 
Any opinions contained in this message are those of the author and 
are not provided or endorsed by FBN Bank (UK) Ltd unless clearly 
indicated and the authority of the author to so bind FBN Bank (UK) Ltd 
is duly verified. 

FBN Bank (UK) Limited is registered in England and Wales 
under company number 4459383 with its registered address at 
28 Finsbury Circus, London EC2M 7DT. 

FBN Bank (UK) Ltd is authorised and regulated by the Financial Services 
Authority.