Re: [us...@httpd] Linux SSL Permission for htdocs directory

2009-01-14 Thread kohanm
I solved the problem by running the Tomcat as a non-root user and it worked. Thanks, Mk On Tue, Jan 13, 2009 at 5:18 AM, André Warnier wrote: > Ian Lea wrote: > >> I'd guess the problem is that apache is running under user x and >> tomcat is running under user y, and user x doesn't by default

[us...@httpd] Linux SSL Permission for htdocs directory

2009-01-12 Thread kohanm
Hi , I installed Apache 2.2 + Tomcat 5 + SSL on Linux and they run perfect. The Java web application gives users(after they login) ability to upload files(pdf,ppt..) then creates a record for them, right way users can see their records and can open the documents that they uploaded. The probl

Re: [EMAIL PROTECTED] How set up the httpd-ssl.conf for htdocs directory

2008-09-02 Thread kohanm
Thanks for your replay. The problem is when the request is http the apache can open it. but when the request is https can not. mk On 9/2/08, Krist van Besien <[EMAIL PROTECTED]> wrote: > On Mon, Sep 1, 2008 at 18:18, kohanm <[EMAIL PROTECTED]> wrote: > > > (13

[EMAIL PROTECTED] How set up the httpd-ssl.conf for htdocs directory

2008-09-01 Thread kohanm
Hi, I have Apache2.2+Tomcat2.2+SSL works fine with http and https. How set up the httpd-ssl.conf for htdocs directory when the request is HTTPS? I have many documents on the htdocs directory if the program brings the records with links of the documents,the links opens the document if the req

Re: [EMAIL PROTECTED] HTTPS requests redirect to HTTP

2008-08-31 Thread kohanm
I solved. I changed [R] to [R=301]. Thanks, MK On 8/31/08, Eric Covener <[EMAIL PROTECTED]> wrote: > On Sun, Aug 31, 2008 at 2:52 PM, kohanm <[EMAIL PROTECTED]> wrote: > > > RewriteRule ^/List/$http://mydomain/List/%1\.php?clue=%2 [R] > > > > It d

[EMAIL PROTECTED] HTTPS requests redirect to HTTP

2008-08-31 Thread kohanm
Hi, In the httpd-ssl.conf file I have this RewitreRule and it works fine for the HTTPS requests: RewriteEngine On RewriteCond %{QUERY_STRING}^(.*?)\.php&clue=([^&]+)$ RewriteRule ^/List/$ /List/%1\.php?clue=%2 [R] But I want that rule redirects to http. How can I write a rule that after ap

[EMAIL PROTECTED] Apache2 + Tomcat5 + SSL (13)Permission denied

2008-08-29 Thread kohanm
Hi, I have installed successfully the Apache2.2+Tomcat5.5+SSL. The http://domainname/archive/welcome.do works fine. If i changes the HTTP with HTTPS I get error on browser : You don't have permission to access /archive/ on this server.Forbiden I got this error on the Apache error_log: [notice

[EMAIL PROTECTED] How to write the RewriteRule

2008-08-22 Thread kohanm
Hi, I installed apache2.2 on Linux and i included the LoadModule rewrite_module in the "httpd.conf" file. I want to write a rule with RewriteRule that redirects this URL http://mydomain.com/&tip=variables¶m=calling/data.do to: http://mydomain.com/calling/data.do&tip=variables and also when

[EMAIL PROTECTED] Apache 2.2+SSL+Tomocat+mod_JK configuration that accepts both HTTP and HTTPS requests

2008-07-26 Thread kohanm
Hi, I set up the Apache 2.2+SSL+Tomcat 5.5 + mod_Jk it works fine with HTTP but when I use https I get Forbidden errors. How should I configure the Apache2.2 to accept both HTTP and HTTPS requests? The application uses https and http at the same time and there are not any restricted directorie

[EMAIL PROTECTED] Virtual Host Set UP for Apache 2.2+SSL+Tomcat 5.5 + mod_Jk

2008-07-22 Thread kohanm
Hi, I set up the * Apache 2.2+SSL+Tomcat 5.5 + mod_Jk* it works fine with http. when I use https I get Forbidden errors. How to configure the Apache2.2 virtual Host to be accessible the whole application with https and http the same time(the login link needs to be implemented with HTTPS for ext

[EMAIL PROTECTED] How whole application accessible with HTTPS and HTTP ( Apache 2.2 +SSL +Tomcat 5.5 + +mod_jk)

2008-07-22 Thread kohanm
Hi, I set up the * Apache 2.2+SSL+Tomcat 5.5 + mod_Jk* it works fine with http. when I use https I get Forbidden errors. How to configure the Apache2.2 virtual Host to be accessible the whole application with https and http the same time(the login link needs to be implemented with HTTPS for ext

[EMAIL PROTECTED] configure: error: Cannot use an external APR-util with the bundled with mod_ssl enable

2008-07-21 Thread kohanm
Hi, I downloaded the Apache( httpd-2.2.4) source code. I tried to compile apache 2.2.4 with mod_ssl enable but I got errors. when I run this command : *./configure --prefix=/usr/local/apache2.2 --enable-mods-shared=most --enable-ssl --with-ssl=/usr/local/openssl-0.9.8h* I got this error: *checkin

Re: [EMAIL PROTECTED] Configuration Errors on SSL+Apache 2.2 +mod_jk +Tomcat 5.5

2008-07-21 Thread kohanm
apache > is installed. > > > ------ > > *From:* kohanm [mailto:[EMAIL PROTECTED] > *Sent:* Friday, July 18, 2008 6:26 PM > *To:* users@httpd.apache.org > *Subject:* Re: [EMAIL PROTECTED] Configuration Errors on SSL+Apache 2.2 > +mod_jk +Tomcat 5.5

Re: [EMAIL PROTECTED] Configuration Errors on SSL+Apache 2.2 +mod_jk +Tomcat 5.5

2008-07-18 Thread kohanm
rtificate form Thawte and the key and certificate are on the conf file. I am not sure if the public key is protected by a passowd. Thanks, MK > > > > > > > > -- > > *From:* kohanm [mailto:[EMAIL PROTECTED] > *Sent:* Friday, July 18, 2

[EMAIL PROTECTED] Configuration Errors on SSL+Apache 2.2 +mod_jk +Tomcat 5.5

2008-07-18 Thread kohanm
Hi, I'am having probem to configure the SSL with the Apache 2.2 +mod_jk +Tomcat 5.5. Without *SSL *implementation the *Tomcat 5.5 +Apache2.2 + mod_k* works fine. For implementing the SSL first I take it out the # from Include ssl: *Include conf/extra/httpd-ssl.conf *and also in the *httpd-ssl.