|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Virtual includes and Apache...
Hi
I'm desperately trying to use server-side includes but am having big problems. My host assures me that the server is set up for using includes, but says "I may have to fiddle around with the options" - and offers no further support. I've added a .htaccess file and tried virtually every configuration of directives - for instance... AddType text/html .shtml AddHandler server-parsed .shtml Options Includes Every Apache support site I look at seems to have a different arrangement for the .htaccess file - but they're all pretty similar to the above. Trouble is, I get either the 500 Internal Server Error, a totally blank page or a page just showing the text of my actual includes. I've tried the XbitHack, my pages are .shtml.... But nothing seems to work. Anyone got any ideas??? Cheers Scott |
|
#2
|
|||
|
|||
|
Mirmil - virtual includes aren't supposed to work on local machines. They need to be parsed by the server in order to call in the files, and obviously that doesn't happen on a local machine, so it'll never work.
|
|
#3
|
||||
|
||||
|
Scott: Have you read the server log when you get the error 500? It should provide you with some information as to what was happening, if you could post part of that log it would be great, and make it easier for us to help you with this
![]() |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Server Configuration > Virtual includes and Apache... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|