Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
ssi and index
Name: gontofe Date: February 26, 2006 at 04:11:18 Pacific OS: win xp sp2/ Ubuntu Breezy CPU/Ram: 2.79gHz celeron 448mb RA Product: Compaq Presario 2541
Comment:
Hello all,
I am trying to update my website using ssi to replace a frameset. If I want to use ssi in my index page, how can I do this? index.shtml is not recognized automatically, firefox puts me into "index of /"...
Name: Michael J (by mjdamato) Date: February 26, 2006 at 09:21:06 Pacific
Reply:
That is a server setting. When you specify just the domain or just a directory, the server will check for the existence of a list of index pages. If none is found, then the server may default to showing the contents of the directory - again a server setting. You will need to modify the list of possible index pages that the server will look for to include index.shtml
Michael J
0
Response Number 2
Name: gontofe Date: February 27, 2006 at 02:53:09 Pacific
Reply:
Thanks Michael,
One problem - as I'm not hosting the content myself I cannot change the server settings - I would therefore need to create index.html and do some sort of auto forwarding to index.shtml. How do I do this?
0
Response Number 3
Name: Michael J (by mjdamato) Date: February 27, 2006 at 06:45:47 Pacific
Reply:
Include this tag in the head of your index.htm page:
The number 2 represents the number of seconds before the page is redirected to the new page. The url= value is the page to redirect to.
I don't know if you can set the value to 0, so it may be shomewhat of a cumbersome workaround. Instead I would create an index.htm page that is just an entry page to the site, then create a home.htm page for the actual home page.
Summary: System is running Apache 2 with PHP 4 as a module. The SSIs and the PHP includes cannot read or write files in subdirectories. I've read the PHP manual and implemeneted as much as I could find. Even ...
Summary: SN, Thanks much for the long and well thought-out reply. I see your point that people who permit no cookies at all probably don't do much e-Commerce. What I think I'll do is try to establish a session...
Summary: Each of the major search engines have "spiders" special programs that traverse links throughout the internet and index them as they go. You could wait for that to happen OR you could go to each search...