Web Server Configuration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Server Configuration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old January 16th, 2004, 05:47 PM
scottyfinn scottyfinn is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 2 scottyfinn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old January 18th, 2004, 04:37 AM
scottyfinn scottyfinn is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 2 scottyfinn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #3  
Old January 21st, 2004, 10:07 AM
nicat23's Avatar
nicat23 nicat23 is offline
Addicted to Chaos..
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jan 2003
Location: Ft. Worth, TX
Posts: 653 nicat23 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 47 m 52 sec
Reputation Power: 0
Send a message via AIM to nicat23 Send a message via Yahoo to nicat23
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

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > Virtual includes and Apache...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT