Server Side Includes (Full Version)

All Forums >> [Web Development] >> Expression Web Help



Message


websquad -> Server Side Includes (5/27/2007 21:28:37)

Does Ex Web support something like Server Side Includes when hosted by a Linux/Apache server?




coreybryant -> RE: Server Side Includes (5/28/2007 8:11:38)

It supports them as far as you can enter the code, etc. It does not support them yet by showing you what's inside that SSI when viewing the complete page




websquad -> RE: Server Side Includes (5/28/2007 11:51:02)

Hi, Corey (Texan at Heart). Being a native of the Pelican state, I always thought well of Texas, that rather large 65th parish across the river in West Louisiana ...

Re: SSI's

My drive H has 13 subdirectories, one for each of 13 different web sites. Using the Ex Web File Open feature, I navigated to one of the subdirectories and opened the index.shtml files. Nothing resolved - not the SSI's, not the CSS, not the graphics - nothing. Thinking the problem was that the base of the little site was not in the root of the drive but in a subdirectory, I tried another approach.

I closed that out and navigated to drive O, which is dedicated to one web site. I opened up that index.shtml with the same results. Here is a sample of the references that didn't resolve:

<link rel="stylesheet" type="text/css" href="/style.css">
<!--#include virtual="/header.html" -->
<!--#include virtual="/lmenu.html" -->
<!--#include virtual="/footer.html" -->


What am I doing wrong, or are my expectations just misplaced? I have more than a dozen of these sites, from small brochures to almost 500 pages, all with one or more site-common style sheets and included headers, menus, and footers. Is Ex Web the tool for me? All are hosted on Linux/Apache servers.

Bob







coreybryant -> RE: Server Side Includes (5/28/2007 14:01:18)

Are you viewing the site on a server?




websquad -> RE: Server Side Includes (5/28/2007 15:02:37)

No, not viewing on the server, but on my desktop. Everything works on the server.




coreybryant -> RE: Server Side Includes (5/28/2007 16:04:59)

Is your local computer set up to be a server? Server side includes need to be parsed by the server




websquad -> RE: Server Side Includes (5/28/2007 16:13:02)

No, my local computer is not set up for that. However, I though that Microsoft Expression Web came with a server that cranked up every time you started to program. Does it need more of a server than than? And if I did have a local copy of Apache running, would that interfere with Expression Web?




coreybryant -> RE: Server Side Includes (5/28/2007 16:46:45)

Via Expression Web, Expression Web does not support includes (server side, php, asp, .net) yet. When viewing locally on your computer, it would not have an effect anyway though.

If you had a local copy of Apache running, it should not interfere. I have a test server but on a separate computer. I have not heard of any issues running Apache locally with Expression web




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.109375