modssl - URL's under domain name not found

2009-07-19 Thread glowkeeper

I am running modssl under apache 2.2.11 on my development server using mac os
x 10.5.

I have created self signed certificates using openssl for this machine.

https://devel works just fine.

https://devel/directory generates a 404 file not found error.

https://devel/anotherdirectory/etcetc also generates a 404.

I have a very similar setup on a live server that's running Centos 5.1,
apache 2.2.3, modssl and an ssl certificate via Comodo. This is working just
fine - all URL's resolve properly.

I have tried copying the conf' files on the live and devel' server line for
line, but I don't seem to be able to overcome the error on my development
machine.

Does anyone have any idea what the problem on my development machine might
by? Any pointers would be welcome.
-- 
View this message in context: 
http://www.nabble.com/modssl---URL%27s-under-domain-name-not-found-tp24533884p24533884.html
Sent from the mod_ssl - Users mailing list archive at Nabble.com.

__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  modssl-users@modssl.org
Automated List Managermajord...@modssl.org


RE: modssl - URL's under domain name not found

2009-07-20 Thread glowkeeper

The error log says (for example):

[Mon Jul 20 09:40:21 2009] [error] [client 127.0.0.1] File does not exist:
/Library/WebServer/Documents/drupal/electric-heater-info, referer:
https://devel.cosyheart.com/

Actually, my original post is a bit misleading - the content is delivered
via drupal and a MySQL database, not from a filesystem. Furthermore, that
database is replicated between the devel' and live server (so they are
EXACTLY the same), and all works just fine under normal http. As I said, ssl
also works on the live server, but not on the dev machine (other than the
home page).


Mario Brandt wrote:
> 
> Hi!
> What is in your error log about that?
> 
> Mario 
> 
> -Original Message-
> From: owner-modssl-us...@modssl.org
> [mailto:owner-modssl-us...@modssl.org] On Behalf Of glowkeeper
> Sent: Sunday, July 19, 2009 9:38 PM
> To: modssl-users@modssl.org
> Subject: modssl - URL's under domain name not found
> 
> 
> I am running modssl under apache 2.2.11 on my development server using
> mac os x 10.5.
> 
> I have created self signed certificates using openssl for this machine.
> 
> https://devel works just fine.
> 
> https://devel/directory generates a 404 file not found error.
> 
> https://devel/anotherdirectory/etcetc also generates a 404.
> 
> I have a very similar setup on a live server that's running Centos 5.1,
> apache 2.2.3, modssl and an ssl certificate via Comodo. This is working
> just fine - all URL's resolve properly.
> 
> I have tried copying the conf' files on the live and devel' server line
> for line, but I don't seem to be able to overcome the error on my
> development machine.
> 
> Does anyone have any idea what the problem on my development machine
> might by? Any pointers would be welcome.
> --
> View this message in context:
> http://www.nabble.com/modssl---URL%27s-under-domain-name-not-found-tp245
> 33884p24533884.html
> Sent from the mod_ssl - Users mailing list archive at Nabble.com.
> 
> __
> Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
> User Support Mailing List  modssl-users@modssl.org
> Automated List Managermajord...@modssl.org
> __
> Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
> User Support Mailing List  modssl-users@modssl.org
> Automated List Managermajord...@modssl.org
> 
> 

-- 
View this message in context: 
http://www.nabble.com/modssl---URL%27s-under-domain-name-not-found-tp24533884p24566061.html
Sent from the mod_ssl - Users mailing list archive at Nabble.com.

__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  modssl-users@modssl.org
Automated List Managermajord...@modssl.org


RE: modssl - URL's under domain name not found

2009-07-20 Thread glowkeeper

Sounds good - I have checked that I'm loading mod_rewrite.so and tried
"RewriteEngine On" in the ssl vhost on the dev machine - but that didn't
work. So what else do I need to check regarding? I'm also confused why it
should then be working on my live machine when the config' files are almost
identical...

I'm obviously missing something though :)


Mario Brandt wrote:
> 
> I guess the rewriting is not turned on in the SSL vhost. Else there
> should be a rewriting to a php file which works with PATH_INFO
> 
> You may check that out.
> 
> Mario 
> 
> -Original Message-
> From: owner-modssl-us...@modssl.org
> [mailto:owner-modssl-us...@modssl.org] On Behalf Of glowkeeper
> Sent: Monday, July 20, 2009 10:53 AM
> To: modssl-users@modssl.org
> Subject: RE: modssl - URL's under domain name not found
> 
> 
> The error log says (for example):
> 
> [Mon Jul 20 09:40:21 2009] [error] [client 127.0.0.1] File does not
> exist:
> /Library/WebServer/Documents/drupal/electric-heater-info, referer:
> https://devel.cosyheart.com/
> 
> Actually, my original post is a bit misleading - the content is
> delivered via drupal and a MySQL database, not from a filesystem.
> Furthermore, that database is replicated between the devel' and live
> server (so they are EXACTLY the same), and all works just fine under
> normal http. As I said, ssl also works on the live server, but not on
> the dev machine (other than the home page).
> 
> 
> Mario Brandt wrote:
>> 
>> Hi!
>> What is in your error log about that?
>> 
>> Mario
>> 
>> -Original Message-
>> From: owner-modssl-us...@modssl.org
>> [mailto:owner-modssl-us...@modssl.org] On Behalf Of glowkeeper
>> Sent: Sunday, July 19, 2009 9:38 PM
>> To: modssl-users@modssl.org
>> Subject: modssl - URL's under domain name not found
>> 
>> 
>> I am running modssl under apache 2.2.11 on my development server using
> 
>> mac os x 10.5.
>> 
>> I have created self signed certificates using openssl for this
> machine.
>> 
>> https://devel works just fine.
>> 
>> https://devel/directory generates a 404 file not found error.
>> 
>> https://devel/anotherdirectory/etcetc also generates a 404.
>> 
>> I have a very similar setup on a live server that's running Centos 
>> 5.1, apache 2.2.3, modssl and an ssl certificate via Comodo. This is 
>> working just fine - all URL's resolve properly.
>> 
>> I have tried copying the conf' files on the live and devel' server 
>> line for line, but I don't seem to be able to overcome the error on my
> 
>> development machine.
>> 
>> Does anyone have any idea what the problem on my development machine 
>> might by? Any pointers would be welcome.
>> --
>> View this message in context:
>> http://www.nabble.com/modssl---URL%27s-under-domain-name-not-found-tp2
>> 45
>> 33884p24533884.html
>> Sent from the mod_ssl - Users mailing list archive at Nabble.com.
>> 
>> __
>> Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
>> User Support Mailing List  modssl-users@modssl.org
>> Automated List Managermajord...@modssl.org
>> __
>> Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
>> User Support Mailing List  modssl-users@modssl.org
>> Automated List Managermajord...@modssl.org
>> 
>> 
> 
> --
> View this message in context:
> http://www.nabble.com/modssl---URL%27s-under-domain-name-not-found-tp245
> 33884p24566061.html
> Sent from the mod_ssl - Users mailing list archive at Nabble.com.
> 
> __
> Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
> User Support Mailing List  modssl-users@modssl.org
> Automated List Managermajord...@modssl.org
> __
> Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
> User Support Mailing List  modssl-users@modssl.org
> Automated List Managermajord...@modssl.org
> 
> 

-- 
View this message in context: 
http://www.nabble.com/modssl---URL%27s-under-domain-name-not-found-tp24533884p24566482.html
Sent from the mod_ssl - Users mailing list archive at Nabble.com.

__
Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
User Support Mailing List  modssl-users@modssl.org
Automated List Managermajord...@modssl.org


RE: modssl - URL's under domain name not found

2009-07-22 Thread glowkeeper

Got it. Well, almost.

It seems that where my https connection was concerned, I was running with
AllowOverride None, so none of the rewrite directives in the .htaccess file
were being processed.

So I've solved this by 'opening up' my development machine by specifying on
all directories:

AllowOverride All
Order deny, allow
deny from all
Allow from 127.0.0.1

I still don't fully understand, as those are the directives I was running
for my drupal install directory already. Furthermore, the .htaccess file in
that directory was being processed and allowing my ordinary http URL's to be
rewritten properly. Obviously https is different 'somehow', so any
explanations will be welcome.

Meanwhile, I can get on and start playing with ssl on my development machine


Mario Brandt wrote:
> 
> I guess the rewriting is not turned on in the SSL vhost. Else there
> should be a rewriting to a php file which works with PATH_INFO
> 
> You may check that out.
> 
> Mario 
> 
> -Original Message-
> From: owner-modssl-us...@modssl.org
> [mailto:owner-modssl-us...@modssl.org] On Behalf Of glowkeeper
> Sent: Monday, July 20, 2009 10:53 AM
> To: modssl-users@modssl.org
> Subject: RE: modssl - URL's under domain name not found
> 
> 
> The error log says (for example):
> 
> [Mon Jul 20 09:40:21 2009] [error] [client 127.0.0.1] File does not
> exist:
> /Library/WebServer/Documents/drupal/electric-heater-info, referer:
> https://devel.cosyheart.com/
> 
> Actually, my original post is a bit misleading - the content is
> delivered via drupal and a MySQL database, not from a filesystem.
> Furthermore, that database is replicated between the devel' and live
> server (so they are EXACTLY the same), and all works just fine under
> normal http. As I said, ssl also works on the live server, but not on
> the dev machine (other than the home page).
> 
> 
> Mario Brandt wrote:
>> 
>> Hi!
>> What is in your error log about that?
>> 
>> Mario
>> 
>> -Original Message-
>> From: owner-modssl-us...@modssl.org
>> [mailto:owner-modssl-us...@modssl.org] On Behalf Of glowkeeper
>> Sent: Sunday, July 19, 2009 9:38 PM
>> To: modssl-users@modssl.org
>> Subject: modssl - URL's under domain name not found
>> 
>> 
>> I am running modssl under apache 2.2.11 on my development server using
> 
>> mac os x 10.5.
>> 
>> I have created self signed certificates using openssl for this
> machine.
>> 
>> https://devel works just fine.
>> 
>> https://devel/directory generates a 404 file not found error.
>> 
>> https://devel/anotherdirectory/etcetc also generates a 404.
>> 
>> I have a very similar setup on a live server that's running Centos 
>> 5.1, apache 2.2.3, modssl and an ssl certificate via Comodo. This is 
>> working just fine - all URL's resolve properly.
>> 
>> I have tried copying the conf' files on the live and devel' server 
>> line for line, but I don't seem to be able to overcome the error on my
> 
>> development machine.
>> 
>> Does anyone have any idea what the problem on my development machine 
>> might by? Any pointers would be welcome.
>> --
>> View this message in context:
>> http://www.nabble.com/modssl---URL%27s-under-domain-name-not-found-tp2
>> 45
>> 33884p24533884.html
>> Sent from the mod_ssl - Users mailing list archive at Nabble.com.
>> 
>> __
>> Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
>> User Support Mailing List  modssl-users@modssl.org
>> Automated List Managermajord...@modssl.org
>> __
>> Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
>> User Support Mailing List  modssl-users@modssl.org
>> Automated List Managermajord...@modssl.org
>> 
>> 
> 
> --
> View this message in context:
> http://www.nabble.com/modssl---URL%27s-under-domain-name-not-found-tp245
> 33884p24566061.html
> Sent from the mod_ssl - Users mailing list archive at Nabble.com.
> 
> __
> Apache Interface to OpenSSL (mod_ssl)   www.modssl.org
> User Support Mailing List  modssl-users@modssl.org
> Automated List Managermajord...@modssl.org
> __