[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New website provider doesn't allow SSI [SOLVED]



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Shaun ONeil wrote:
| On Sun, 2004-03-07 at 12:56 +0000, Tim Beauregard wrote:
|
|
|
|>| Hi,
|>|
|>| The problem is that I cannot make my webpages visible online with my
|>| browser.  The error is '403 Forbidden You don't have permission to
|>| access those file(s).'  Viewing is fine offline.  I used cthumb to
|>| construct the html, and uploaded with weex.  As indices created by
|>| cthumb are .shmtl the pages are SSI in design.  My provider (Telewest
|>| UK) doesn't allow for SSI with the package I bought.
|>|
|>| Is there a way I can make these pages visible or is there a different
|>| command line app to make html picture albums?
|>|
|>| I have .htaccess in the top level directory with
|>|
|>| AddType text/html .shtml .html .htm
|>| AddHandler server-parsed .shtml .html .htm
|>| Directory index.shtml index.html
|>
|>Corrected that last line to
|>
|>DirectoryIndex index.shtml index.html
|>
|>and now Mozilla says
|>
|>The file "" is of type application/x-server-parsed-html, and Mozilla
|>does not know how to handle this file type.
|>
|>The file in question is the index.shtml:
|>
|><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|><html>
|><head>
|><!-- Created with cthumb, http://puchol.com/cpg/software/cthumb/ -->
|><style type="text/css">
|>~        <!--
|>~        A:link { text-decoration: none; color: #4444bb; }
|>~        A:visited { text-decoration:none; color: #000020; }
|>~        A:active { text-decoration:none; color: #aa0000; }
|>~        -->
|></STYLE>
|><title>Wedding</title>
|></head>
|><body text="#000088" bgcolor="#bbddff" link="#000033" vlink="#666600"
|>alink="#ff0000">
|><center>
|><table cellspacing="0" cellpadding="1" border="0" bgcolor="#000000"
|>width="85%"><tr><td>
|><table cellspacing="1" cellpadding="8" border="0" bgcolor="#ffffff"
|>width="100%">
|><tr><td align="center" bgcolor="#000033" colspan="1">
|><font face="Arial,Sans Serif" size="+2"
|>color="#FFFFFF"><b>Wedding</b></font></td>
|></tr>
|><tr>
|><td align="center" valign="middle"><font face="Arial,Sans Serif">
|><a href="page.html">Wedding</a></font><br>
|><small>[101 pictures ]</small></td>
|></tr>
|></table></td></tr></table><br>
|></center>
|></body>
|></html>
|>
|>Any ideas?  Is this actually SSI like I thought?
|>
|>Thanks, Tim
|
|
| The apache docs for SSI's give them the format:
| <!--#element attribute=value attribute=value ... -->
| ( http://httpd.apache.org/docs/howto/ssi.html )
|
| .. and I don't see anything resembling that on your page - So they just
| work just fine named as .html
|
| HTH,
|   Shaun
|
|


Thank you Shaun, that did the trick.  Renaming the .shtml to html solved
the problem.  Makes me wonder why cthumb uses that suffix?

Tim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAS63TsUUdIDHrdAURAiYeAJ4pWNjZ1xdzjdd5VLdMfq1NeoeN1QCgq01+
AO5asSQuv+7zFUXAqAD33NY=
=xElO
-----END PGP SIGNATURE-----



Reply to: