modssl - URL"s under domain name not found

modssl - URL"s under domain name not found

am 19.07.2009 21:38:26 von 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 Manager majordomo@modssl.org

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

am 20.07.2009 09:23:48 von Mario Brandt

Hi!
What is in your error log about that?

Mario=20

-----Original Message-----
From: owner-modssl-users@modssl.org
[mailto:owner-modssl-users@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 Manager majordomo@modssl.org
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

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

am 20.07.2009 10:52:45 von 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-users@modssl.org
> [mailto:owner-modssl-users@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 Manager majordomo@modssl.org
> ____________________________________________________________ __________
> Apache Interface to OpenSSL (mod_ssl) www.modssl.org
> User Support Mailing List modssl-users@modssl.org
> Automated List Manager majordomo@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 Manager majordomo@modssl.org

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

am 20.07.2009 10:55:38 von Mario Brandt

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

-----Original Message-----
From: owner-modssl-users@modssl.org
[mailto:owner-modssl-users@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:
>=20
> Hi!
> What is in your error log about that?
>=20
> Mario
>=20
> -----Original Message-----
> From: owner-modssl-users@modssl.org
> [mailto:owner-modssl-users@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
>=20
>=20
> I am running modssl under apache 2.2.11 on my development server using

> mac os x 10.5.
>=20
> I have created self signed certificates using openssl for this
machine.
>=20
> https://devel works just fine.
>=20
> https://devel/directory generates a 404 file not found error.
>=20
> https://devel/anotherdirectory/etcetc also generates a 404.
>=20
> I have a very similar setup on a live server that's running Centos=20
> 5.1, apache 2.2.3, modssl and an ssl certificate via Comodo. This is=20
> working just fine - all URL's resolve properly.
>=20
> I have tried copying the conf' files on the live and devel' server=20
> line for line, but I don't seem to be able to overcome the error on my

> development machine.
>=20
> Does anyone have any idea what the problem on my development machine=20
> 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.
>=20
> ____________________________________________________________ __________
> Apache Interface to OpenSSL (mod_ssl) www.modssl.org
> User Support Mailing List modssl-users@modssl.org
> Automated List Manager majordomo@modssl.org
> ____________________________________________________________ __________
> Apache Interface to OpenSSL (mod_ssl) www.modssl.org
> User Support Mailing List modssl-users@modssl.org
> Automated List Manager majordomo@modssl.org
>=20
>=20

--
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 Manager majordomo@modssl.org
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

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

am 20.07.2009 11:26:16 von 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-users@modssl.org
> [mailto:owner-modssl-users@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-users@modssl.org
>> [mailto:owner-modssl-users@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 Manager majordomo@modssl.org
>> ____________________________________________________________ __________
>> Apache Interface to OpenSSL (mod_ssl) www.modssl.org
>> User Support Mailing List modssl-users@modssl.org
>> Automated List Manager majordomo@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 Manager majordomo@modssl.org
> ____________________________________________________________ __________
> Apache Interface to OpenSSL (mod_ssl) www.modssl.org
> User Support Mailing List modssl-users@modssl.org
> Automated List Manager majordomo@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 Manager majordomo@modssl.org

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

am 22.07.2009 15:45:16 von 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-users@modssl.org
> [mailto:owner-modssl-users@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-users@modssl.org
>> [mailto:owner-modssl-users@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 Manager majordomo@modssl.org
>> ____________________________________________________________ __________
>> Apache Interface to OpenSSL (mod_ssl) www.modssl.org
>> User Support Mailing List modssl-users@modssl.org
>> Automated List Manager majordomo@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 Manager majordomo@modssl.org
> ____________________________________________________________ __________
> Apache Interface to OpenSSL (mod_ssl) www.modssl.org
> User Support Mailing List modssl-users@modssl.org
> Automated List Manager majordomo@modssl.org
>
>

--
View this message in context: http://www.nabble.com/modssl---URL%27s-under-domain-name-not -found-tp24533884p24606784.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 Manager majordomo@modssl.org

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

am 22.07.2009 15:55:49 von Mario Brandt

Well the AllowOverride manages what you are allowed to configure in
..htacces=20

Order deny, allow
deny from all
Allow from 127.0.0.1

This manage who can access these server from where.=20
In your case you can only access from 127.0.0.1 aka. localhost your
computer

See the docs for more details

http://httpd.apache.org/docs/2.2/howto/access.html



Mario



-----Original Message-----
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
____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org