Server Side Include
- Started
- Last post
- 6 Responses
- tactikal2
I'm currently building / testing a site on a clients server and everytime I try and use includes I get this error
"HTTP/1.1 404 Object Not Found Server: Microsoft-IIS/5.0 Date: Sun, 01 Aug 2004 00:57:27 GMT Connection: close Content-Type: text/html
404 Object Not Found"
But when I use them on my own development server there's no problem at all...
Anybody know what's up.
Thanks.
- fate0
Ya sure SSI is enabled on this other server?
- Elfangio0
well some servers only run PHP in the CGI folder, dunno - iI supose you already checked the path for you include files?!?
- fate0
SSI doesn't need a specific dir to reside in, only to have an *.shtml extension.
- Elfangio0
ok, maybe i didn't understand the question, or either the problem :)
- fate0
I'd agree with Elfangio and just check your paths. I don't think it'd spit that error if SSI was turned off.
- tactikal20
You guys were right. I was pounting to the include relative to that file... when I changed the path to start at the root level everythign was fine. Thanks for the help guys.