Forum Moderators: open

Message Too Old, No Replies

https:// SSI

         

webdesignerq

2:42 pm on Apr 27, 2004 (gmt 0)



what type of extensions are allowed in the directory httpsdoc, *.shtml

Server Side Includes vs. SSL?

bird

3:18 pm on Apr 27, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Those two issues are completely independent of each other.
The transport channel shouldn't interfere with any file types.

john_k

3:30 pm on Apr 27, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



As bird indicated - you're talking apples and burritos.

HTTPS is the secure version of HTTP. If you have a folder named "httpsdocs" I would guess it was intended to hold documents or web pages that should only be served via HTTPS.

The name of the folder, however, does not make it so. The links pointing to the documents need to include "https" as the protocol. The folder should probably also be set so that it will NOT honor requests over standard HTTP.

".shtml" is the extension commonly used to indicate that the file has some INCLUDE lines in it. This tells the server that it needs to parse the file and replace the include lines with the files they point to before sending it off to the browser. There is some overhead in doing this and that is why files with a standard "html" extension are not automatically scanned.

[edit]I should have included: documents with any extension can be served over HTTPS.[/edit]

balam

8:08 am on Apr 28, 2004 (gmt 0)

10+ Year Member



> The folder should probably also be set so that it will NOT honor requests over standard HTTP.

How does one do that? (mod_rewrite?)

john_k

9:17 am on Apr 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



How does one do that? (mod_rewrite?)

It depends upon the server. I don't know much about apache. I would guess that it could be done with a mod_rewrite, but there is probably a better way. In IIS it is done from the IIS control panel.