September 10th, 2000, 02:32 PM
Sorry if this has been covered...
I have my ssl pointed at a certian directory
and it works fine. I would like to deny
http requests to this directory.
I have tried to use a directory contaner
in the httpd.conf file
with deny from all statment, like;
this is abreveated
deny from all
with no success. is there a simple way to do this? maybe with a rewrite rule?
Thanks in advance
I am using a linux machine with
apache 1.3.12+mod-ssl+mysql+php4.02 etc...
September 10th, 2000, 04:23 PM
Is there an entrance page before getting into that directory?
>>is there a simple way to do this?
>>maybe with a rewrite rule?
So what is the full dir path to both SSL and non-SSL? How about both in URLs?
September 11th, 2000, 12:46 AM
Thanks for the response,
The standard apache ssl index file is there.
I could remove the index, in which case they would recive a no permission to view error.
But I would like to keep an index file for the ssl users.
This directory is within a virtual host.
The ssl directory container looks like this:
some parts are removed or changed for obvious
# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
Anyway thaks again..
If I go to https://www.pppp.org It brings me to the page I would expect..securly.
if I point the browser to: http://www.pppp.org/secure I get to the same page. I dont want this. I know I could just
move the ssl directory out of the path of
http:// But that would entale rewriting alot
of scripts and pages. I know, I know, dial 1-800-Waaah. But like I say, I was looking for an easier way.
September 11th, 2000, 03:04 AM
September 12th, 2000, 05:28 AM
works great! Thanks, Never thought to
go in that direction...