Re: [EMAIL PROTECTED] Require SSL only for an individual file

2006-02-04 Thread Marc Serra
I don't know does snide mean, but I hope nothing bad ;-)

I tried to search in: http://www.apache-ssl.org/docs.html and
http://httpd.apache.org/docs/2.0/ssl/ , but i don't find an answer for me.

Your links seems better. Sorry for bugging.

Tomorrow i try it, I'm very tired now... B-(


> I hate to be snide, but why are you guessing when you could simply
> read the documentation:
> http://httpd.apache.org/docs/2.2/mod/core.html#files
> http://httpd.apache.org/docs/2.2/sections.html#file-and-web



-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Require SSL only for an individual file

2006-02-04 Thread Joshua Slive
On 2/4/06, Marc Serra <[EMAIL PROTECTED]> wrote:
> Thanks for a reply joshua.
>
> Really? And can you give me an example of this?
>
> For a directory that requires SSL:
>
> 
>SSLRequireSSL
>AllowOverride AuthConfig
> 
>
>
> But for a file? Does would you mean?:
>  "/var/www/localhost/htdocs/ssl/file.under.ssl.html">
>SSLRequireSSL
>AllowOverride AuthConfig
> 

I hate to be snide, but why are you guessing when you could simply
read the documentation:
http://httpd.apache.org/docs/2.2/mod/core.html#files
http://httpd.apache.org/docs/2.2/sections.html#file-and-web

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Require SSL only for an individual file

2006-02-04 Thread Marc Serra
Thanks for a reply joshua.

Really? And can you give me an example of this?

For a directory that requires SSL:


SSLRequireSSL
AllowOverride AuthConfig



But for a file? Does would you mean?:
 "/var/www/localhost/htdocs/ssl/file.under.ssl.html">
SSLRequireSSL
AllowOverride AuthConfig




-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Require SSL only for an individual file

2006-02-04 Thread Marc Serra
Thanks, and I know your solution, but isn't possible. I can't not move
this file from this directory, and (for application requirements) the
other files on this directory cannot be under SSL.


> I guess the easiest way would be to put that SSL enabled
> file into a sub-dir all on it's own?



-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Require SSL only for an individual file

2006-02-04 Thread httpd2

Right Joshua. I checked the docs and noted that 
SSLRequireSSL was valid in the directory and .htaccess 
context. I forgot that directory also applies to files and 
location contexts normally as well, unless specified as not 
applicable for a particular directive.

quote

directory 
A directive marked as being valid in this context may be 
used inside , , and  containers 
in the server configuration files, subject to the 
restrictions outlined in How Directory, Location and Files 
sections work. 

unquote

Keith

In theory, theory and practice are the same;
In practice they are not. 

On Sat, 4 Feb 2006, Joshua Slive wrote:

> To: users@httpd.apache.org, [EMAIL PROTECTED]
> From: Joshua Slive <[EMAIL PROTECTED]>
> Subject: Re: [EMAIL PROTECTED] Require SSL only for an individual file
> 
> On 2/4/06, Marc Serra <[EMAIL PROTECTED]> wrote:
> > Hi gurus!
> >
> > I need to secure with SSL only one file from a directory 
> > that contains a lot more files.
> >
> > How can I do that?
> >
> > I know how secure an entire directory, with 
> > SSLRequireSSL option, but is possible only for a file?
> 
> Almost anything that can go in a  section can 
> also go in a  section nested within a  
> section.
> 
> Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Require SSL only for an individual file

2006-02-04 Thread Joshua Slive
On 2/4/06, Marc Serra <[EMAIL PROTECTED]> wrote:
> Hi gurus!
>
> I need to secure with SSL only one file from a directory that contains a
> lot more files.
>
> How can I do that?
>
> I know how secure an entire directory, with SSLRequireSSL option, but is
> possible only for a file?

Almost anything that can go in a  section can also go in a
 section nested within a  section.

Joshua.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [EMAIL PROTECTED] Require SSL only for an individual file

2006-02-04 Thread httpd2

I guess the easiest way would be to put that SSL enabled 
file into a sub-dir all on it's own?

Keith

In theory, theory and practice are the same;
In practice they are not. 

On Sat, 4 Feb 2006, Marc Serra wrote:

> To: users@httpd.apache.org
> From: Marc Serra <[EMAIL PROTECTED]>
> Subject: [EMAIL PROTECTED] Require SSL only for an individual file
> 
> Hi gurus!
> 
> I need to secure with SSL only one file from a directory that contains a
> lot more files.
> 
> How can I do that?
> 
> I know how secure an entire directory, with SSLRequireSSL option, but is
> possible only for a file?
> 
> Thank's!
> 
> 
> -
> The official User-To-User support forum of the Apache HTTP Server Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] Require SSL only for an individual file

2006-02-04 Thread Marc Serra
Hi gurus!

I need to secure with SSL only one file from a directory that contains a
lot more files.

How can I do that?

I know how secure an entire directory, with SSLRequireSSL option, but is
possible only for a file?

Thank's!


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]